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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Sun Nov 17 19:22:43 2013
New Revision: 204923

URL: http://gcc.gnu.org/viewcvs?rev=204923&root=gcc&view=rev
Log:
/cp
2013-11-17  Paolo Carlini  <paolo.carl...@oracle.com>

    PR c++/59123
    * decl.c (validate_constexpr_redeclaration): Redeclarations of
    variables can differ in constexpr.

/testsuite
2013-11-17  Paolo Carlini  <paolo.carl...@oracle.com>

    PR c++/59123
    * g++.dg/cpp0x/constexpr-redeclaration1.C: New.
    * g++.dg/cpp0x/constexpr-decl.C: Adjust.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-redeclaration1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-decl.C

Reply via email to