This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52567] constant expression not recognized as being constant
- From: "marc.glisse at normalesup dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Mar 2012 18:10:16 +0000
- Subject: [Bug c++/52567] constant expression not recognized as being constant
- Auto-submitted: auto-generated
- References: <bug-52567-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52567
--- Comment #1 from Marc Glisse <marc.glisse at normalesup dot org> 2012-03-12 18:10:16 UTC ---
1<<31 overflows and is thus not a constant. Try maybe 1LL<<31 ?