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

            Bug ID: 79197
           Summary: [7 Regression] ICE in extract_insn in gcc/recog.c:2311
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: wschmidt at gcc dot gnu.org
  Target Milestone: ---

$ ./xgcc -v
Configured with: ../configure --enable-languages=c,c++
--prefix=/home/marxin/bin/gcc2 --disable-multilib --disable-bootstrap
--target=powerpc64le-suse-linux


$ cat /tmp/dt_arith.i
unsigned a;
fn1 () { a = *(double *) 0; }

$ ./xgcc -B. /tmp/dt_arith.i 
/tmp/dt_arith.i:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 fn1 () { a = *(double *) 0; }
 ^~~
/tmp/dt_arith.i: In function ‘fn1’:
/tmp/dt_arith.i:2:1: error: unrecognizable insn:
(insn 7 6 8 2 (set (reg:DI 160)
        (unsigned_fix:DI (reg:DF 156 [ _2 ]))) "/tmp/dt_arith.i":2 -1
     (nil))
/tmp/dt_arith.i:2:1: internal compiler error: in extract_insn, at recog.c:2311
0xaec368 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc/rtl-error.c:108
0xaec399 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc/rtl-error.c:116
0xabdcc1 extract_insn(rtx_insn*)
        ../../gcc/recog.c:2311
0x88cd93 instantiate_virtual_regs_in_insn
        ../../gcc/function.c:1589
0x88cd93 instantiate_virtual_regs
        ../../gcc/function.c:1957
0x88cd93 execute
        ../../gcc/function.c:2006

Reply via email to