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 c++/22551] [4.0/4.1 Regression] [ICE] in tree_low_cst, at tree.c:3843



------- Comment #12 from nathan at gcc dot gnu dot org  2005-10-17 08:36 -------
the overflow happens in the static constant assignment 'int b = 0x80000000'
assigns an unsigned long to an int, and overflows.  The int_cst as b's
DCL_INITIAL has the overflow flag set.  I rejected clearing the overflow flag
at that point, because I was worried about other overflow paths on the case
label expression (although I failed to excite any).


-- 


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


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