[Bug c++/48046] [4.5 Regression] Expected diagnostic "reference to 'type' is ambiguous" not given for function-local static declaration

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 27 16:01:00 GMT 2011


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.



More information about the Gcc-bugs mailing list