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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2005 18:05:41 -0000
- Subject: [Bug c++/22551] [4.0/4.1 Regression] [ICE] in tree_low_cst, at tree.c:3843
- References: <20050718171941.22551.emailwastefilter-bugzillagccorg@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-18 18:05 -------
If you add -pedantic and compile your example, you will see that we error out instead of accepting the
code.
You might want to use unsigned instead of signed as signed overflow is undefined.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22551