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: "l_belev at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Mar 2012 20:56:10 +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 #3 from Luchezar Belev <l_belev at yahoo dot com> 2012-03-12 20:56:10 UTC ---
It overflows alright, but what this has to do with not being constant?
An overflow in a constant expression makes it variable? I fail to see the logic
here