------- Comment #1 from pinskia at gcc dot gnu dot org 2009-02-22 23:38 ------- Yes this is expected because the compiler does not fully know that printf has no side effects to local variables.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39268