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++/79463] New: ice for -g with ./g++.dg/cpp1y/pr79435.C


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

            Bug ID: 79463
           Summary: ice for -g with ./g++.dg/cpp1y/pr79435.C
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

I tried to compile gcc/testsuite/g++.dg/cpp1y/pr79435.C
with compiler flag -g on current gcc trunk and got:

./g++.dg/cpp1y/pr79435.C:5:10: internal compiler error: Segmentation fault
 extern A a; // { dg-error "'a' has incomplete type" }
          ^
0xeab417 crash_signal
        ../../trunk/gcc/toplev.c:333
0x734b77 check_abi_tags
        ../../trunk/gcc/cp/class.c:1616
0x874ea3 write_mangled_name
        ../../trunk/gcc/cp/mangle.c:770
0x881533 mangle_decl_string
        ../../trunk/gcc/cp/mangle.c:3757

This code seems ok on gcc revision 245132 and seems
to go wrong on gcc revision 245341.

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