This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Doc] Move paragraph about multiple attributes
- From: Tristan Gingold <gingold at adacore dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 11 Apr 2012 11:33:44 +0200
- Subject: [Doc] Move paragraph about multiple attributes
Hi,
this paragraph is inside the 'i386 type attributes' section, while it isn't target specific.
This patch moves it at the end of the attribute list. Maybe we should remove it completely
as there is an 'attribute syntax' section.
Ok for trunk ?
Tristan.
2012-04-11 Tristan Gingold <gingold@adacore.com>
* doc/extend.texi (Type Attributes): Move paragraph.
index bb43825..c33ec66 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -5372,6 +5372,10 @@ typeinfo node and exception handling will break.
@end table
+To specify multiple attributes, separate them by commas within the
+double parentheses: for example, @samp{__attribute__ ((aligned (16),
+packed))}.
+
@subsection ARM Type Attributes
On those ARM targets that support @code{dllimport} (such as Symbian
@@ -5427,10 +5431,6 @@ Currently @option{-m[no-]ms-bitfields} is provided for the Microsoft Windows X86
compilers to match the native Microsoft compiler.
@end table
-To specify multiple attributes, separate them by commas within the
-double parentheses: for example, @samp{__attribute__ ((aligned (16),
-packed))}.
-
@anchor{PowerPC Type Attributes}
@subsection PowerPC Type Attributes