C++ PATCH for c++/9798

Jason Merrill jason@redhat.com
Mon Mar 10 22:05:00 GMT 2003


We got into an infinite recursion between two namespaces which use each
other, because we were recursing into the used namespaces before adding
ourselves to the list of currently used namespace.

Tested i686-pc-linux-gnu, applied to trunk and 3.3.  Patch in
g++.dg/lookup/using3.C.

2003-03-10  Jason Merrill  <jason@redhat.com>

	PR c++/9798
	* decl.c (push_using_directive): Push before recursing.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 1294 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030310/7f0492ac/attachment.bin>


More information about the Gcc-patches mailing list