------- Comment #2 from rguenth at gcc dot gnu dot org 2007-09-05 20:34 ------- This is related to PR32306 and to the fact that we don't have a code hoisting pass. And related to PR30905 because cross-jumping fixes this up on the rtl-level for both gcc 4.1 and 4.2:
test: pushl %ebp movl %esp, %ebp popl %ebp movl $0, a movl $0, a+4 movl $0, a+8 ret -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spark at gcc dot gnu dot org BugsThisDependsOn| |30905 Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |missed-optimization Last reconfirmed|0000-00-00 00:00:00 |2007-09-05 20:34:09 date| | Summary|If condition not getting |[4.3 Regression] If |eliminated |condition not getting | |eliminated Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33315