https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70570
Bug ID: 70570 Summary: Assembler error "symbol already defined" from nested lambdas and function-static variable Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ndkrempel at gmail dot com Target Milestone: --- Created attachment 38209 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38209&action=edit Minimal test case, compile with g++ -std=c++14 Referring to a function-static variable from within both of two nested lambda functions (the outer one being generic/polymorphic) causes an assembler error (symbol already defined). Minimal test case attached, tested on g++ 5.3.0.