[Bug c++/54086] GCC should allow constexpr and const together
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 10 14:24:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54086
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-10 14:24:04 UTC ---
Author: jason
Date: Mon Sep 10 14:23:54 2012
New Revision: 191144
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191144
Log:
PR c++/54086
* decl.c (grokdeclarator): Allow const and constexpr together.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-const1.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/decl.c
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-object1.C
More information about the Gcc-bugs
mailing list