summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2001-05-23 19:44:13 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2001-05-23 19:44:13 +0100
commitff867905f91c0a19a7c057cd8539734b40946c0b (patch)
tree1dc210d0576921c35821ed261e80ea657a69adab
parent719f0fde70cd6182862533567af5e005ca512180 (diff)
downloadgcc-ff867905f91c0a19a7c057cd8539734b40946c0b.tar.gz
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/extend.texi6
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