[Bug c++/54276] Lambda in a Template Function Undefined Reference to local static

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 16 02:08:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54276

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2013-02-16 02:08:00 UTC ---
Author: jason
Date: Sat Feb 16 02:07:55 2013
New Revision: 196101

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196101
Log:
    PR c++/54276
    * semantics.c (finish_id_expression): Also return the identifier
    for an outer local static.

Added:
   
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-template9.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/semantics.c



More information about the Gcc-bugs mailing list