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/52484] Wrong code from ce3 pass (deletes insn)


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)


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