This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22551] [4.0/4.1 Regression] [ICE] in tree_low_cst, at tree.c:3843
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2005 08:36:10 -0000
- Subject: [Bug c++/22551] [4.0/4.1 Regression] [ICE] in tree_low_cst, at tree.c:3843
- References: <bug-22551-11017@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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