[Bug middle-end/82577] [8 Regression] ICE in compare_base_decls, at alias.c:2053

nathan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 17 15:42:00 GMT 2017


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

--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Tue Oct 17 15:42:19 2017
New Revision: 253819

URL: https://gcc.gnu.org/viewcvs?rev=253819&root=gcc&view=rev
Log:
[PATCH, middle-end/82577] Fix DECL_ASSEMBLER_NAME ICE

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01067.html
        gcc/
        PR middle-end/82577
        * alias.c (compare_base_decls): Check HAS_DECL_ASSEMBLER_NAME_P,
        use DECL_ASSEMBLER_NAME_RAW.

        gcc/testsuite/
        PR middle-end/82577
        * g++.dg/opt/pr82577.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr82577.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/alias.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list