diff options
author | Jason Merrill <jason@redhat.com> | 2002-12-19 12:16:26 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2002-12-19 12:16:26 -0500 |
commit | 0ca7178c8462ce29e086db3cb8f0a080fc7f80f2 (patch) | |
tree | c90067e66827d3f202e02db04548102a5067ac8c /libjava/java/lang/Class.h | |
parent | e54b4cae03726bbceb7c25c8fdcf94bfcb549504 (diff) | |
download | gcc-0ca7178c8462ce29e086db3cb8f0a080fc7f80f2.zip gcc-0ca7178c8462ce29e086db3cb8f0a080fc7f80f2.tar.gz gcc-0ca7178c8462ce29e086db3cb8f0a080fc7f80f2.tar.bz2 |
Handle anonymous unions at the tree level.
C++ ABI change: Mangle anonymous unions using the name of their
first named field (by depth-first search). Should not cause
binary compatibility problems, though, as the compiler previously
didn't emit anything for affected unions.
* cp-tree.def (ALIAS_DECL): New tree code.
* decl2.c (build_anon_union_vars): Build ALIAS_DECLs. Return the
first field, not the largest.
(finish_anon_union): Don't mess with RTL. Do set DECL_ASSEMBLER_NAME,
push the decl, and write it out at namespace scope.
* decl.c (lookup_name_real): See through an ALIAS_DECL.
(pushdecl): Add namespace bindings for ALIAS_DECLs.
* rtti.c (unemitted_tinfo_decl_p): Don't try to look at the name
of a decl which doesn't have one.
* typeck.c (build_class_member_access_expr): Don't recurse if
we already have the type we want.
From-SVN: r60314
Diffstat (limited to 'libjava/java/lang/Class.h')
0 files changed, 0 insertions, 0 deletions