diff options
author | Mark Mitchell <mark@codesourcery.com> | 2007-06-15 16:58:29 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2007-06-15 16:58:29 +0000 |
commit | 555551c24b5159164cef489982455d2012561f8b (patch) | |
tree | b580e5336b6a72d59b683347c5293fe4228f6485 /gcc/ada/utils.c | |
parent | 2f119dcccd49dcb0c8b72b4048712bdbc0e3988e (diff) | |
download | gcc-555551c24b5159164cef489982455d2012561f8b.zip gcc-555551c24b5159164cef489982455d2012561f8b.tar.gz gcc-555551c24b5159164cef489982455d2012561f8b.tar.bz2 |
cp-tree.h (DECL_VAR_MARKED_P): Remove.
* cp-tree.h (DECL_VAR_MARKED_P): Remove.
(DECL_ANON_UNION_VAR_P): New macro.
* class.c (fixed_type_or_null): Tidy. Use a hash table, rather
than DECL_VAR_MARKED_P, to keep track of which variables we have
seen.
* decl.c (redeclaration_error_message): Complain about redeclaring
anonymous union members at namespace scope.
* decl2.c (build_anon_union_vars): Set DECL_ANON_UNION_VAR_P.
* g++.dg/lookup/anon6.C: New test.
From-SVN: r125745
Diffstat (limited to 'gcc/ada/utils.c')
0 files changed, 0 insertions, 0 deletions