I got:

mayalias-2.c:2: internal compiler error: in splice_child_die, at
dwarf2out.c:5552

with a modified compiler, but I see that it fails on powerpc64-linux
<http://gcc.gnu.org/ml/gcc-testresults/2006-08/msg01176.html> and arm-none-eabi
<http://gcc.gnu.org/ml/gcc-testresults/2006-08/msg01185.html>, so it's probably
pretty common.

The problem is that the front-end is calling the DWARF output code with two
shallow copies of the same structure, 'S'.  The DWARF code detects that two
different structures have the same members and aborts.


-- 
           Summary: gcc.c-torture/execute/mayalias-2.c failure with -O3 -
                    gdwarf-2
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, ice-checking
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: geoffk at gcc dot gnu dot org


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

Reply via email to