[Bug target/35616] [4.1/4.2/4.3/4.4 Regression] Incorrect code while O2 compling
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Mar 18 15:02:00 GMT 2008
------- Comment #11 from ubizjak at gmail dot com 2008-03-18 15:01 -------
cse1 pass somehow figures out that:
(insn 11 10 12 2 function.c:5 (set (reg/f:SI 61)
(mem/s/f/c:SI (plus:SI (reg/f:SI 16 argp)
(const_int 4 [0x4])) [4 data.listener+0 S4 A32])) 41 {*movsi_1}
(nil))
(call_insn/j 12 11 0 2 function.c:5 (call (mem:QI (reg/f:SI 61) [0 S1 A8])
(const_int 12 [0xc])) 423 {*sibcall_1} (nil)
(nil))
can be substituted with:
(insn 11 10 12 2 function.c:5 (set (reg/f:SI 61 [ data.listener ])
(reg:SI 59 [ data.c ])) 41 {*movsi_1} (nil))
(call_insn/j 12 11 0 2 function.c:5 (call (mem:QI (reg:SI 59 [ data.c ]) [0 S1
A
8])
(const_int 12 [0xc])) 423 {*sibcall_1} (nil)
(nil))
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35616
More information about the Gcc-bugs
mailing list