------- Comment #2 from jakub at gcc dot gnu dot org 2009-03-23 13:45 ------- Regressed in r140120 (PR37302). Similar testcase where infoo is a global variable also starts failing at that revision. Jason, can you please have a look at this? Isn't infoo just an argument passed to a ctor, not a shadowing declaration of the infoo argument (or global var)?
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu dot org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-03-23 13:45:05 date| | Summary|-Wshadow reports shadowed |[4.4 Regression] -Wshadow |declarations for parameters |reports shadowed |of unnamed temp objects |declarations for parameters | |of unnamed temp objects Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39526