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

            Bug ID: 70261
           Summary: r234265 causes fails on rs6000
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: segher at gcc dot gnu.org
  Target Milestone: ---

After r234265 we are seeing ICEs on building various packages, and on
bootstrap too.  A simple testcase:

===
void fn1(unsigned);
void fn2(int p1) { fn1(p1); }
===

which gives

===
$ time ~/build/tot-master/gcc/cc1plus -quiet -Wall -W -O2 break.c               
break.c: In function 'void fn2(int)':
break.c:2:29: internal compiler error: in replace_rtx, at rtlanal.c:2969
 void fn2(int p1) { fn1(p1); }
                             ^
0x10f18a53 replace_rtx(rtx_def*, rtx_def*, rtx_def*)
        /home/segher/src/gcc/gcc/rtlanal.c:2969
0x10f18b57 replace_rtx(rtx_def*, rtx_def*, rtx_def*)
        /home/segher/src/gcc/gcc/rtlanal.c:2991
0x119db3c3 record_value_for_reg
        /home/segher/src/gcc/gcc/combine.c:12707
0x119db887 record_dead_and_set_regs_1
        /home/segher/src/gcc/gcc/combine.c:12807
0x10f153af note_stores(rtx_def const*, void (*)(rtx_def*, rtx_def const*,
void*)
, void*)
        /home/segher/src/gcc/gcc/rtlanal.c:1860
0x119dbd73 record_dead_and_set_regs
        /home/segher/src/gcc/gcc/combine.c:12888
0x119b06a7 combine_instructions
        /home/segher/src/gcc/gcc/combine.c:1488
0x119e0bcb rest_of_handle_combine
        /home/segher/src/gcc/gcc/combine.c:14379
0x119e0d1b execute
        /home/segher/src/gcc/gcc/combine.c:14422
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
===

Reply via email to