diff options
author | Joseph Myers <joseph@codesourcery.com> | 2007-09-20 16:55:33 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2007-09-20 16:55:33 +0100 |
commit | 770a995067e9c215a845f18e74ce29f2f24e240f (patch) | |
tree | ca838aa3fefa5b42adc72da9a05231f383ceed17 /gcc | |
parent | 56d0c6e3f540686a9d7e240c536b7c2fe361bbe2 (diff) | |
download | gcc-770a995067e9c215a845f18e74ce29f2f24e240f.zip gcc-770a995067e9c215a845f18e74ce29f2f24e240f.tar.gz gcc-770a995067e9c215a845f18e74ce29f2f24e240f.tar.bz2 |
extend.texi (Attribute Syntax): Remove old speculative future direction.
* doc/extend.texi (Attribute Syntax): Remove old speculative
future direction.
From-SVN: r128622
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 22 |
2 files changed, 9 insertions, 18 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 74c540a..a3854f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-09-20 Joseph Myers <joseph@codesourcery.com> + + * doc/extend.texi (Attribute Syntax): Remove old speculative + future direction. + 2007-09-20 Mark Shinwell <shinwell@codesourcery.com> * combine.c: Include cgraph.h. diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 9f207cf..9be3c56 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -3136,25 +3136,11 @@ declared; the @code{format} attribute only applies to @code{d1}. An attribute specifier list may appear immediately before the comma, @code{=} or semicolon terminating the declaration of an identifier other -than a function definition. At present, such attribute specifiers apply -to the declared object or function, but in future they may attach to the -outermost adjacent declarator. In simple cases there is no difference, -but, for example, in - -@smallexample -void (****f)(void) __attribute__((noreturn)); -@end smallexample - -@noindent -at present the @code{noreturn} attribute applies to @code{f}, which -causes a warning since @code{f} is not a function, but in future it may -apply to the function @code{****f}. The precise semantics of what -attributes in such cases will apply to are not yet specified. Where an +than a function definition. Such attribute specifiers apply +to the declared object or function. Where an assembler name for an object or function is specified (@pxref{Asm -Labels}), at present the attribute must follow the @code{asm} -specification; in future, attributes before the @code{asm} specification -may apply to the adjacent declarator, and those after it to the declared -object or function. +Labels}), the attribute must follow the @code{asm} +specification. An attribute specifier list may, in future, be permitted to appear after the declarator in a function definition (before any old-style parameter |