diff options
author | Jason Merrill <jason@redhat.com> | 2007-10-04 04:48:23 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2007-10-04 04:48:23 -0400 |
commit | 65567efaa82178fcfe63bee2c81f06a541cd72a4 (patch) | |
tree | bae096b4fe2cf8e3db8b3a02fa456bfff47ef358 /gcc/tree-gimple.c | |
parent | dcdc83a1857653c02c8997e5787c6a41244bdb95 (diff) | |
download | gcc-65567efaa82178fcfe63bee2c81f06a541cd72a4.zip gcc-65567efaa82178fcfe63bee2c81f06a541cd72a4.tar.gz gcc-65567efaa82178fcfe63bee2c81f06a541cd72a4.tar.bz2 |
re PR c++/32470 (fvisibility=hidden without effect in some cases)
PR c++/32470
* name-lookup.c (push_namespace_with_attrs): Fold back into...
(push_namespace): Here.
(handle_namespace_attrs): New fn for the attr code.
(leave_scope): Don't pop_visibility.
* name-lookup.h (struct cp_binding_level): Remove has_visibility.
* parser.c (cp_parser_namespace_definition): Call
handle_namespace_attrs and pop_visibility as appropriate.
From-SVN: r129003
Diffstat (limited to 'gcc/tree-gimple.c')
0 files changed, 0 insertions, 0 deletions