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++/54086] GCC should allow constexpr and const together


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54086

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.8.0                       |4.7.2

--- 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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-10 14:44:54 UTC ---
Fixed for 4.7.2 as well.


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