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

            Bug ID: 69247
           Summary: [6 Regression] ICE in gen_reg_rtx, at emit-rtl.c:1024
                    on s390x-linux-gnu
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

trunk r232188, s390x-linux-gnu, works with -O1

reduced test case:

typedef enum { AVCBigEndian } AVCByteOrder;
AVCByteOrder a;
void fn1();
void fn2(short p1) {
  if (a)
    p1 = p1 << 8 | (unsigned short)p1 >> 8;
  fn1(&p1);
}

elapsed time: 50 seconds
(exp)doko@gb:/scratch/packages/tmp$ s390x-linux-gnu-gcc -c -march=zEC12 -g -O2
avc_rawbin.i
avc_rawbin.i: In function 'fn2':
avc_rawbin.i:8:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1024
 }
 ^

Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to