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/31345] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:269



------- 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


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