Commit 0b1307e5 by Jason Merrill Committed by Jason Merrill

name-lookup.c (push_namespace_with_attribs): Temporarily disable default hidden…

name-lookup.c (push_namespace_with_attribs): Temporarily disable default hidden visibility for anonymous namespace.

        * name-lookup.c (push_namespace_with_attribs): Temporarily disable
        default hidden visibility for anonymous namespace.

From-SVN: r112722
parent dcef6aba
2006-04-05 Jason Merrill <jason@redhat.com>
* name-lookup.c (push_namespace_with_attribs): Temporarily disable
default hidden visibility for anonymous namespace.
2006-03-29 Roger Sayle <roger@eyesopen.com>
PR c++/22494
......
......@@ -3066,7 +3066,7 @@ push_namespace_with_attribs (tree name, tree attributes)
push_visibility (TREE_STRING_POINTER (x));
goto found;
}
#ifdef HAVE_GAS_HIDDEN
#if 0
if (anon)
{
/* Anonymous namespaces default to hidden visibility. This might
......
......@@ -2,7 +2,7 @@
// Test for anonymous namespace default hidden visibility
// { dg-require-visibility "" }
// { dg-final { scan-hidden "_ZN.*1fEv" } }
// { dg-final-NOT { scan-hidden "_ZN.*1fEv" } }
namespace
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment