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++/52567] constant expression not recognized as being constant


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 ?


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