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

--- Comment #7 from Uros Bizjak <ubizjak at gmail dot com> 2011-11-09 18:38:12 
UTC ---
Redefining "j" constraint as "define_address_constraint" results in:

pr50762.c:48:1: error: unrecognizable insn:
(insn 29 28 30 3 (set (reg:DI 0 ax [77])
        (zero_extend:DI (const_int 1 [0x1]))) pr50762.c:35 -1
     (expr_list:REG_DEAD (reg/v:SI 59 [ p_60 ])
        (nil)))
pr50762.c:48:1: internal compiler error: in extract_insn, at recog.c:2137
Please submit a full bug report,

So, _why_ reload insists on pushing zero_extended constant to the register? I'd
expect that (const_int 1) is pushed into the register.

And finally, (zero_extend:DI (const_int 1 [0x1])) equals to (const_int 1
[0x1]), so why this RTX isn't simplified on-the-fly?

Reply via email to