[Bug c++/54086] GCC should allow constexpr and const together
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 25 14:57:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54086
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-25 14:57:11 UTC ---
Author: jason
Date: Wed Jul 25 14:57:06 2012
New Revision: 189852
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189852
Log:
PR c++/54086
* decl.c (grokdeclarator): Allow const and constexpr together.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-const1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-object1.C
More information about the Gcc-bugs
mailing list