aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)