------- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-08 23:22 ------- >So in function fwprop_addr before deciding propagate an expression should we also check if it is the only use of the corresponding def?
It does somewhat. Though address cost might be lower for r2+r3 than just r8. Please make sure that fwprop_addr has the correct address cost. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|rtl-optimization |target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44883