This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/31345] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:269
- From: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2007 16:57:02 -0000
- Subject: [Bug tree-optimization/31345] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:269
- References: <bug-31345-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from ian at airs dot com 2007-03-26 17:57 -------
I'm continuing to look into the best way to avoid the compiler crash. I want
to note that this code is being clobbered by undefined signed overflow.
Computing (19780211 + [-128,127]) * 43321879 is always going to overflow, so
VRP is converting that into hash = INT_MAX. That is almost certainly not what
is intended. This is independent of my -Wstrict-overflow work, although my
-Wstrict-overflow work is indeed causing the compiler crash.
--
ian at airs dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ian at airs dot com
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2007-03-25 12:37:51 |2007-03-26 17:57:02
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31345