re PR c++/8391 (infinite loop in cp/decl2.c(finish_file))
authorMark Mitchell <mark@codesourcery.com>
Sat, 2 Nov 2002 01:03:03 +0000 (01:03 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 2 Nov 2002 01:03:03 +0000 (01:03 +0000)
commitbec80a45fd419b66bb7fc6d658e24019b1395575
tree78f9248491b1a67f82cf93b6069e4237f4bcdc6d
parenta70b59e1dbb2e78812f73edbd960f3fc1f9620d6
re PR c++/8391 (infinite loop in cp/decl2.c(finish_file))

PR c++/8391
* toplev.c (rest_of_compilation): Do not refuse to output code for
an inline function in a local class.

PR c++/8391
* g++.dg/opt/local1.C: New test.

From-SVN: r58734
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/local1.C [new file with mode: 0644]
gcc/toplev.c