This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/49721] convert_memory_address_addr_space may generate invalid new insns
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 2 Aug 2011 19:33:10 +0000
- Subject: [Bug middle-end/49721] convert_memory_address_addr_space may generate invalid new insns
- Auto-submitted: auto-generated
- References: <bug-49721-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49721
--- Comment #13 from Uros Bizjak <ubizjak at gmail dot com> 2011-08-02 19:32:46 UTC ---
(In reply to comment #10)
> Here is the problem:
No, in your case new insn is rejected (twice):
Trying 434 -> 435:
Failed to match this instruction:
(parallel [
(set (reg/f:SI 364)
(if_then_else:SI (eq:SI (reg:SI 442)
(const_int 0 [0]))
(const:SI (plus:SI (symbol_ref:SI ("iplane.1553") [flags 0x2]
<var_decl 0x7f9a07ef33c0 iplane>)
(const_int -4 [0xfffffffffffffffc])))
(const:SI (plus:SI (symbol_ref:SI ("iplane.1553") [flags 0x2]
<var_decl 0x7f9a07ef33c0 iplane>)
(const_int 4 [0x4])))))
(clobber (reg:CC 17 flags))
])
Failed to match this instruction:
(set (reg/f:SI 364)
(if_then_else:SI (eq:SI (reg:SI 442)
(const_int 0 [0]))
(const:SI (plus:SI (symbol_ref:SI ("iplane.1553") [flags 0x2]
<var_decl 0x7f9a07ef33c0 iplane>)
(const_int -4 [0xfffffffffffffffc])))
(const:SI (plus:SI (symbol_ref:SI ("iplane.1553") [flags 0x2]
<var_decl 0x7f9a07ef33c0 iplane>)
(const_int 4 [0x4])))))