This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/48766] [4.4/4.5/4.6/4.7 Regression] Infinite recursion in fold_binary_loc()


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48766

--- Comment #7 from iant at google dot com <iant at google dot com> 2011-12-06 18:40:58 UTC ---
> I don't know about -fstrict-overflow, but maybe that should be separate 
> (controlling whether, in cases where the default semantics are in effect, 
> certain optimizations relating to overflow are made).

That was my intent for -fno-strict-overflow: it does not change the
semantics, it just disables optimizations.  Of course when -fwrapv or
-ftrapv are set, overflow behaviour is defined, so -fno-strict-overflow
does nothing.  -fno-strict-overflow is only meaningful when neither
-fwrapv nor -ftrapv are set.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]