]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/17121 (Link problem with function-local classes)
authorMark Mitchell <mark@codesourcery.com>
Sat, 21 Aug 2004 01:31:27 +0000 (01:31 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 21 Aug 2004 01:31:27 +0000 (01:31 +0000)
commiteba6cfb6b5694f15f880827805ca7d0b0907c60d
tree5a4dc0263593f8742bb84846ad855a9faf04539d
parentbcf9a914ff833d8df23e10613443fb13c11a506f
re PR c++/17121 (Link problem with function-local classes)

PR c++/17121
* decl.c (expand_static_init): Use DECL_FUNCTION_SCOPE_P.

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

From-SVN: r86353
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/local1.C [new file with mode: 0644]