re PR c++/17155 (Another link problem with function-local classes)
authorMark Mitchell <mark@codesourcery.com>
Wed, 25 Aug 2004 20:06:30 +0000 (20:06 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 25 Aug 2004 20:06:30 +0000 (20:06 +0000)
commit6dc36fed57925986b31b724fd4869656e1d41ac0
tree67428aaa0b5f0c6e212823941f1e976441086f48
parent8e8d51622f9c4aca782074532ee563f4c70f2e2f
re PR c++/17155 (Another link problem with function-local classes)

PR c++/17155
* lex.c (build_lang_decl): Set DECL_NO_STATIC_CHAIN for all C++
functions.

PR c++/17155
* g++.dg/inherit/local2.C: New test.

From-SVN: r86571
gcc/cp/ChangeLog
gcc/cp/lex.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/local2.C [new file with mode: 0644]