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


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


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