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++/84707] [8 Regression] internal compiler error: Segmentation fault (tree_check()/duplicate_decls())


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

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon Mar  5 16:15:35 2018
New Revision: 258255

URL: https://gcc.gnu.org/viewcvs?rev=258255&root=gcc&view=rev
Log:
        PR c++/84707
        * decl.c (duplicate_decls): Check DECL_NAME before accessing
        UDLIT_OPER_P.

        * g++.dg/cpp0x/inline-ns10.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/inline-ns10.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]