aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl2.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2001-08-09 13:52:35 -0400
committerJason Merrill <jason@gcc.gnu.org>2001-08-09 13:52:35 -0400
commitf237d906c7c67670df24e41064e7f152d6fdb471 (patch)
tree5fbdef231ad6fd5f9dc3242169deb7713ffadac8 /gcc/cp/decl2.c
parent1b0c37d730cd2bda3fa69befcb77e1ae11705219 (diff)
downloadgcc-f237d906c7c67670df24e41064e7f152d6fdb471.zip
gcc-f237d906c7c67670df24e41064e7f152d6fdb471.tar.gz
gcc-f237d906c7c67670df24e41064e7f152d6fdb471.tar.bz2
tweak comment
From-SVN: r44744
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r--gcc/cp/decl2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index be02224..a649e23 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -1941,7 +1941,10 @@ defer_fn (fn)
/* Hunts through the global anonymous union ANON_DECL, building
appropriate VAR_DECLs. Stores cleanups on the list of ELEMS, and
returns a VAR_DECL whose size is the same as the size of the
- ANON_DECL, if one is available. */
+ ANON_DECL, if one is available.
+
+ FIXME: we should really handle anonymous unions by binding the names
+ of the members to COMPONENT_REFs rather than this kludge. */
static tree
build_anon_union_vars (anon_decl, elems, static_p, external_p)