re PR c++/2929 (gcc crash when compiling a sample)
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 8 Jun 2001 12:49:02 +0000 (12:49 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 8 Jun 2001 12:49:02 +0000 (12:49 +0000)
commit9ac1bd2e0ab404e3aa6f8e562f2f1f39f1fcb8de
treeab5762d3ebc19185880f76a0eb320ec43e23d764
parent9c65bbf460d325bf794a610e16ae941f723e3fef
re PR c++/2929 (gcc crash when compiling a sample)

cp:
PR c++/2929
* friend.c (do_friend): Use push_decl_namespace for classes at
namespace scope.
testsuite:
* g++.old-deja/g++.pt/friend49.C: New test.

From-SVN: r43013
gcc/cp/ChangeLog
gcc/cp/friend.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.pt/friend49.C [new file with mode: 0644]