------- Comment #5 from rguenth at gcc dot gnu dot org 2009-08-20 21:11 ------- Why is this a regression? Which compiler version didn't warn here?
The question is really whether we want unused variables just in the case where we can remove it and without further changes the program is still valid or if we want to detect more elaborate cases where the programmer can remove a variable with some extra work. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41134