This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/52484] Wrong code from ce3 pass (deletes insn)
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 04 Mar 2012 19:54:20 +0000
- Subject: [Bug rtl-optimization/52484] Wrong code from ce3 pass (deletes insn)
- Auto-submitted: auto-generated
- References: <bug-52484-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52484
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-03-04 19:54:20 UTC ---
Created attachment 26824
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26824
flash.c.208r.peephole2
This dump looks ok: there are 4 xload_qi_libgcc insns.
peep2 did no optimizations except transform one
(set (reg/f:PSI 12 r12 [58])
(const_int 2 [0x2]))
to
(parallel [(set (reg/f:PSI 12 r12 [58])
(const_int 2 [0x2]))
(clobber (reg:QI 18 r18))])
which is ok (r18 is marked as dead above)