On Fri, Jun 01, 2018 at 09:11:53AM +1000, Dave Chinner wrote: > > What was there to argue? Christoph wants us to rely on undocumented, > compiler specific behaviour(*), It is not undocumented. Sections like this have been part of the gcc manual for at least 25 years: https://gcc.gnu.org/onlinedocs/gcc/Pointer-Arith.html > I want it the pointer arithmetic to > be explicitly correct with a cast. > > Maintainer's choice, really. > > Cheers, > > Dave. > > (*) It's been repeatedly demonstrated that the gcc developers don't > care if they break code that relies on undefined behaviour in the C > standard. But this behavior is not undefined. It is explicitly defined for gcc, with other compilers (LLVM, icc) following that specification. -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html