summaryrefslogtreecommitdiff
path: root/gcc/cp/decl2.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-09 17:52:35 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-09 17:52:35 +0000
commit727f288bca26fcf39685b764655b9f4c94c7f2d8 (patch)
tree5fbdef231ad6fd5f9dc3242169deb7713ffadac8 /gcc/cp/decl2.c
parente23a6527d76e7d7d1e4b1a2d2787681b0202bc9a (diff)
downloadgcc-727f288bca26fcf39685b764655b9f4c94c7f2d8.tar.gz
tweak comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44744 138bc75d-0d04-0410-961f-82ee72b054a4
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 be02224557f..a649e23220b 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)