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++/84533] [7/8 Regression] ICE with duplicate enum value


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84533

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Feb 26 15:00:44 2018
New Revision: 257991

URL: https://gcc.gnu.org/viewcvs?rev=257991&root=gcc&view=rev
Log:
/cp
2018-02-26  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/84533
        * decl.c (redeclaration_error_message): Don't try to use
        DECL_DECLARED_CONSTEXPR_P on CONST_DECLs.

/testsuite
2018-02-26  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/84533
        * g++.dg/cpp1z/pr84533.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/pr84533.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog

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