diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-23 18:44:13 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-23 18:44:13 +0000 |
commit | d193f25f58e670a93d1cc5b87733d3655f971a72 (patch) | |
tree | 1dc210d0576921c35821ed261e80ea657a69adab | |
parent | 7b7595ea67fce2f9be3503ce4d7495dbb7a57115 (diff) | |
download | gcc-d193f25f58e670a93d1cc5b87733d3655f971a72.tar.gz |
* extend.texi (Attribute Syntax): Clarify application of
attributes to parameters declared as functions or arrays.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42507 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/extend.texi | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4ff07a2df6d..11e72d6d241 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-05-23 Joseph S. Myers <jsm28@cam.ac.uk> + + * extend.texi (Attribute Syntax): Clarify application of + attributes to parameters declared as functions or arrays. + 2001-05-23 Jason Merrill <jason_merrill@redhat.com> * dbxout.c (dbxout_type_methods): Do still group methods by name. diff --git a/gcc/extend.texi b/gcc/extend.texi index 48c6ea1afe0..f28e079e460 100644 --- a/gcc/extend.texi +++ b/gcc/extend.texi @@ -2126,7 +2126,11 @@ counting declarations of unnamed parameters and type names, and relates to that declaration (which may be nested in another declaration, for example in the case of a parameter declaration). In future, attribute specifiers in some places may however apply to a particular declarator -within a declaration instead; these cases are noted below. +within a declaration instead; these cases are noted below. Where an +attribute specifier is applied to a parameter declared as a function or +an array, it should apply to the function or array rather than the +pointer to which the parameter is implicitly converted, but this is not +yet correctly implemented. Any list of specifiers and qualifiers at the start of a declaration may contain attribute specifiers, whether or not such a list may in that |