diff options
author | Richard Henderson <rth@redhat.com> | 2005-10-12 23:34:09 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2005-10-12 23:34:09 +0000 |
commit | 7105e4f4c36e7d1b9c634edcb880bb9b0f650fb1 (patch) | |
tree | e0ba09b20b9401b57ddfd7bb96ac65cafde86a0b /gcc/doc | |
parent | 16e9bf110b4f80b68194766905120197ae7be987 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105338 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/extend.texi | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 71518e45b17..52a8cc27142 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 |