This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/48766] [4.4/4.5/4.6/4.7 Regression] Infinite recursion in fold_binary_loc()
- From: "iant at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Dec 2011 18:40:58 +0000
- Subject: [Bug tree-optimization/48766] [4.4/4.5/4.6/4.7 Regression] Infinite recursion in fold_binary_loc()
- Auto-submitted: auto-generated
- References: <bug-48766-4@http.gcc.gnu.org/bugzilla/>
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.