http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47205
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-07 12:51:58 UTC --- Hmm, at second tought I guess statement gets improperly updated for lack of side effect in fixup_cfg. Will look into it. Even that is however not enough for function to be optimized away since we don't re-do IPA after local optimization. This would require even more complicating the optimization queue. So it is hard to solve fully.