From ff867905f91c0a19a7c057cd8539734b40946c0b Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 23 May 2001 19:44:13 +0100 Subject: [PATCH] extend.texi (Attribute Syntax): Clarify application of attributes to parameters declared as functions or arrays. * extend.texi (Attribute Syntax): Clarify application of attributes to parameters declared as functions or arrays. From-SVN: r42507 --- gcc/ChangeLog | 5 +++++ gcc/extend.texi | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4ff07a2..11e72d6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-05-23 Joseph S. Myers + + * extend.texi (Attribute Syntax): Clarify application of + attributes to parameters declared as functions or arrays. + 2001-05-23 Jason Merrill * dbxout.c (dbxout_type_methods): Do still group methods by name. diff --git a/gcc/extend.texi b/gcc/extend.texi index 48c6ea1..f28e079 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 -- 2.7.4