Patch to extend.texi

Joseph S. Myers jsm28@cam.ac.uk
Wed May 23 11:48:00 GMT 2001


This patch clarifies one area of the Attribute Syntax documentation.
It passes "make info" and "make dvi".  Applied to mainline and branch.

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.

--- extend.texi.orig	Mon May 21 18:20:01 2001
+++ extend.texi	Wed May 23 18:36:43 2001
@@ -2126,7 +2126,11 @@
 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

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-patches mailing list