http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46217
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2010.10.29 12:58:31 AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 Severity|blocker |normal --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-29 12:58:31 UTC --- I will have a look. But I think that automatic volatiles are odd anyway ;) The problem is that DCE doesn't mark the statement as always needed.