This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> ---
It looks to me like the problem arises because reload selected a
call clobbered register, %r1, for reg/f:SI 2442 and there is no way to
reconstitute reg/f:SI 2442 following a call:

(code_label 311 310 312 20 233 "" [3 uses])
(note 312 311 5353 20 [bb 20] NOTE_INSN_BASIC_BLOCK)
(insn 5353 312 5354 20 (set (reg:SI 1 %r1)
        (high:SI (symbol_ref:SI ("resource") [flags 0x200]  <var_decl
0x4050c660
 resource>))) ../../../texk/xdvik/xdvi.c:3003 52 {*pa.md:2686}
     (nil))
(insn 5354 5353 315 20 (set (reg:SI 1 %r1)
        (lo_sum:SI (reg:SI 1 %r1)
            (symbol_ref:SI ("resource") [flags 0x200]  <var_decl 0x4050c660
reso
urce>))) ../../../texk/xdvik/xdvi.c:3003 55 {*pa.md:2766}
     (nil))
(insn 315 5354 316 20 (set (reg/f:SI 28 %r28 [orig:949 resource.src_pos ]
[949])
        (mem/f/c:SI (plus:SI (reg:SI 1 %r1)
                (const_int 172 [0xac])) [5 resource.src_pos+0 S4 A32]))
../../..
/texk/xdvik/xdvi.c:3003 40 {*pa.md:2211}
     (expr_list:REG_EQUIV (mem/f/c:SI (plus:SI (reg/f:SI 2442)
                (const_int 172 [0xac])) [5 resource.src_pos+0 S4 A32])
        (expr_list:REG_EQUAL (mem/f/c:SI (const:SI (plus:SI (symbol_ref:SI
("resource") [flags 0x200]  <var_decl 0x4050c660 resource>)
                        (const_int 172 [0xac]))) [5 resource.src_pos+0 S4 A32])
            (nil))))


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]