aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/extend.texi
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-10-12 16:34:09 -0700
committerRichard Henderson <rth@gcc.gnu.org>2005-10-12 16:34:09 -0700
commit52dd234b210c06bea54ef726995e1fce035329be (patch)
treee0ba09b20b9401b57ddfd7bb96ac65cafde86a0b /gcc/doc/extend.texi
parent6deb03391308dcffb9bb4a4155cd27d7e60329f9 (diff)
downloadgcc-52dd234b210c06bea54ef726995e1fce035329be.zip
gcc-52dd234b210c06bea54ef726995e1fce035329be.tar.gz
gcc-52dd234b210c06bea54ef726995e1fce035329be.tar.bz2
re PR c/24255 (__transparent_union__ mishandled)
PR c/24255 * tree.h (DECL_TRANSPARENT_UNION): Remove. * function.c (assign_parm_find_data_types): Don't support it. * print-tree.c (print_node): Likewise. * c-common.c (handle_transparent_union_attribute): Likewise. Use build_duplicate_type. * tree-inline.c (remap_type_1): Split out of remap_type; properly remap aggregate fields. (build_duplicate_type): New. * doc/extend.texi (Variable Attributes): Remove documentation for transparent_union. From-SVN: r105338
Diffstat (limited to 'gcc/doc/extend.texi')
-rw-r--r--gcc/doc/extend.texi8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 71518e4..52a8cc2 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -3019,14 +3019,6 @@ The @var{tls_model} argument should be one of @code{global-dynamic},
Not all targets support this attribute.
-@item transparent_union
-This attribute, attached to a function parameter which is a union, means
-that the corresponding argument may have the type of any union member,
-but the argument is passed as if its type were that of the first union
-member. For more details see @xref{Type Attributes}. You can also use
-this attribute on a @code{typedef} for a union data type; then it
-applies to all function parameters with that type.
-
@item unused
This attribute, attached to a variable, means that the variable is meant
to be possibly unused. GCC will not produce a warning for this