Andrew Pinski wrote:
-fwrapv-in-all-cases-except-loop-boundsAgain, please don't this the default for Fortran as integer overflow has been undefined since at least 1977 so I don't think it is a good idea for GCC in general anyways as evidence of Fortran. -- Pinski
Well the question is whether the optimization buys anything in practice for other than the loop bound case, I am guessing it does not, and if that is the case there is an argument for uniformity.