------- Comment #2 from jakub at gcc dot gnu dot org 2009-03-17 09:36 ------- Created an attachment (id=17474) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17474&action=view) gcc44-pr39474.patch
I disagree. IMHO there is no reason why we should optimize these out at -O0. We don't optimize out already unused global decls at -O0, I think we should treat the local ones the same way. -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org | Status|UNCONFIRMED |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39474