summaryrefslogtreecommitdiffstats
path: root/gcc/extend.texi
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-07-06 22:30:16 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-07-06 22:30:16 +0000
commit257b057adfa86b4bdbb3f7a538baef9fcd75cd2c (patch)
treeb23cba12307f8fdf4a2b138f5bc2d68ad6a9bfd2 /gcc/extend.texi
parentdbec2fe66ee4c796efb00fc210e5e7484d7bf582 (diff)
downloadppe42-gcc-257b057adfa86b4bdbb3f7a538baef9fcd75cd2c.tar.gz
ppe42-gcc-257b057adfa86b4bdbb3f7a538baef9fcd75cd2c.zip
* c-parse.in (struct_head, union_head, enum_head): New nonterminals.
(structsp): Use them. Update files generated from c-parse.in. * extend.texi (Type Attributes): Document it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20971 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/extend.texi')
-rw-r--r--gcc/extend.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/extend.texi b/gcc/extend.texi
index a7c0766bd24..5cf1b24f2ef 100644
--- a/gcc/extend.texi
+++ b/gcc/extend.texi
@@ -2015,6 +2015,9 @@ closing curly brace of a complete enum, struct or union type
@emph{definition} and the @code{packed} attribute only past the closing
brace of a definition.
+You may also specify attributes between the enum, struct or union
+tag and the name of the type rather than after the closing brace.
+
@table @code
@cindex @code{aligned} attribute
@item aligned (@var{alignment})
OpenPOWER on IntegriCloud