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

            Bug ID: 68634
           Summary: [6 Regression] ICE in maybe_record_trace_start, at
                    dwarf2cfi.c:2284 w/ -O2 -fmodulo-sched
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc-6.0.0-alpha20151129 for target x86_64-pc-linux-gnu ICEs when building the
following reduced case w/ -O2 -fmodulo-sched:

int *pp, *ec;
int ci, ft;

void
ry(void);

int
wp(void)
{
  if (ft) {
    if (*ec)
      return -1;
 y0:
    ci = 0;
  }
  if (*pp) {
    ry();
    return 0;
  }
  goto y0;
}

% gcc-6.0.0-alpha20151129 -c -O2 -fmodulo-sched oxyvkmdh.c 
oxyvkmdh.c: In function 'wp':
oxyvkmdh.c:21:1: internal compiler error: in maybe_record_trace_start, at
dwarf2cfi.c:2284

This seems to be target-specific, as I cannot reproduce it w/ the same snapshot
for powerpc-e500v2-linux-gnuspe.

Reply via email to