http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48046
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org | Summary|[4.5/4.6/4.7 Regression] |[4.5 Regression] Expected |Expected diagnostic |diagnostic "reference to |"reference to 'type' is |'type' is ambiguous" not |ambiguous" not given for |given for function-local |function-local static |static declaration |declaration | --- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-27 15:58:07 UTC --- Fixed in 4.6/4.7. Waiting for 4.5 to unfreeze before applying there.