diff options
author | Ollie Wild <aaw@google.com> | 2007-07-01 20:49:29 +0000 |
---|---|---|
committer | Ollie Wild <aaw@gcc.gnu.org> | 2007-07-01 20:49:29 +0000 |
commit | af92ab368ad709fcd26b360dc1cf4e50b0cd6185 (patch) | |
tree | 3d4fa643b8d41d6d480c77eb01d90ee5dc80d4ae /gcc/fortran/misc.c | |
parent | 31c97dfe34220de54c1d93ce858af83bfda31fd3 (diff) | |
download | gcc-af92ab368ad709fcd26b360dc1cf4e50b0cd6185.zip gcc-af92ab368ad709fcd26b360dc1cf4e50b0cd6185.tar.gz gcc-af92ab368ad709fcd26b360dc1cf4e50b0cd6185.tar.bz2 |
name-lookup.c (ambiguous_decl): Fix case when new->value is hidden.
* name-lookup.c (ambiguous_decl): Fix case when new->value is hidden.
(select_decl): Remove function.
(unqualified_namespace_lookup): Populate binding by calling
ambiguous_decl. Remove select_decl call.
(lookup_qualified_name): Remove select_decl call.
* decl.c (lookup_and_check_tag): Check for ambiguous references.
* parser.c (cp_parser_elaborated_type_specifier): Skip redundant error
generation when name lookup is ambiguous.
* g++.dg/lookup/using16.C: New test.
* g++.dg/lookup/using17.C: New test.
From-SVN: r126177
Diffstat (limited to 'gcc/fortran/misc.c')
0 files changed, 0 insertions, 0 deletions