[Bug rtl-optimization/59652] New: [4.8 Regression] ICE: in reload_cse_simpli fy_operands, at postreload.c:411

danglin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 31 16:40:00 GMT 2013


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

            Bug ID: 59652
           Summary: [4.8 Regression] ICE: in reload_cse_simpli
                    fy_operands, at postreload.c:411
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
              Host: hppa-unknown-linux-gnu
            Target: hppa-unknown-linux-gnu
             Build: hppa-unknown-linux-gnu

Created attachment 31551
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31551&action=edit
Preprocessed source

/usr/lib/gcc/hppa-linux-gnu/4.8/cc1 -fpreprocessed xdvi.i -quiet -dumpbase xdvi
.c -auxbase-strip xdvi.o -g -O2 -Wimplicit -Wreturn-type
-Wdeclaration-after-sta
tement -Wno-unknown-pragmas -version -o xdvi.s
GNU C (Debian 4.8.2-10) version 4.8.2 (hppa-linux-gnu)
        compiled by GNU C version 4.8.2, GMP version 5.1.2, MPFR version
3.1.2-p
3, MPC version 1.0.1
warning: GMP header version 5.1.2 differs from library version 5.1.3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C (Debian 4.8.2-10) version 4.8.2 (hppa-linux-gnu)
        compiled by GNU C version 4.8.2, GMP version 5.1.2, MPFR version
3.1.2-p
3, MPC version 1.0.1
warning: GMP header version 5.1.2 differs from library version 5.1.3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: fb24f240bb689ce9d1ca4b08c9c74b8f
../../../texk/xdvik/xdvi.c: In function ‘run_dvi_file’:
../../../texk/xdvik/xdvi.c:3398:1: error: insn does not satisfy its
constraints:
 }
 ^
(insn 5859 3068 5860 249 (set (reg:SI 28 %r28)
        (reg/f:SI 2442)) ../../../texk/xdvik/xdvi.c:2722 40 {*pa.md:2211}
     (nil))
../../../texk/xdvik/xdvi.c:3398:1: internal compiler error: in
reload_cse_simpli
fy_operands, at postreload.c:411

Problem occurs in handling reloads for following insn:

(insn 3071 3068 3072 249 (set (reg:SF 1959 [ resource.gamma ])
        (mem/c:SF (plus:SI (reg/f:SI 2442)
                (const_int 88 [0x58])) [9 resource.gamma+0 S4 A32]))
../../../te
xk/xdvik/xdvi.c:2722 79 {*pa.md:4386}
     (expr_list:REG_EQUIV (mem/c:SF (plus:SI (reg/f:SI 2442)
                (const_int 88 [0x58])) [9 resource.gamma+0 S4 A32])
        (expr_list:REG_EQUAL (mem/c:SF (const:SI (plus:SI (symbol_ref:SI
("resou
rce") [flags 0x200]  <var_decl 0x4050c660 resource>)                       
(const_int 88 [0x58]))) [9 resource.gamma+0 S4 A32])
            (nil))))

Might be target issue but seems more likely to be a reload issue.


More information about the Gcc-bugs mailing list