C++ PATCH for c++/32470 (namespace visibility bug)

Jason Merrill jason@redhat.com
Thu Oct 4 08:48:00 GMT 2007


My earlier implementation of namespace visibility assumed that only the 
parser would be calling push_namespace_with_attrs, which of course is 
not actually the case.  So this patch fixes the bug by moving the 
visibility handling out of push_namespace into the parser.

Tested x86_64-pc-linux-gnu, applied to trunk.  Will apply to 4.2 when it 
unfreezes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ns-vis.patch
Type: text/x-patch
Size: 8109 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20071004/d0b65243/attachment.bin>


More information about the Gcc-patches mailing list