------- Comment #12 from kargl at gcc dot gnu dot org 2010-03-17 22:20 ------- (In reply to comment #10) > (In reply to comment #9) > > (In reply to comment #8) > > > Maybe we just need to document that -pedantic changes the range of > > > integers to > > > be what the Fortran standard requires (a symmetric range). > > > > The Fortran Standard requires neither a symmetric nor asymmetric > > range. > > Well, the number model is symmetric.
You're preaching to the choir. ;) Yes, the model number representation of integer is symmetric. However, the representable range on integer does not have to correspond to the model numbers. function myabs(i) myabs = iabs(i) end function myabs function mynot(i) mynot = not(i) end function mynot Do these functions conform to the standard for all poosible values of i? Careful with your answer. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43310