Patch for bug 21052

Joseph S. Myers joseph@codesourcery.com
Tue May 10 00:22:00 GMT 2005


This patch fixes bug 21052, which reported incorrect syntax in an example 
in the manual.

It passes "make info" and "make dvi".  Applied to mainline and 4.0 branch.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)

2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>

	PR other/21052
	* doc/extend.texi (Type Attributes): Correct example syntax.

diff -rupN GCC.orig/gcc/doc/extend.texi GCC/gcc/doc/extend.texi
--- GCC.orig/gcc/doc/extend.texi	2005-04-20 11:42:18.000000000 +0000
+++ GCC/gcc/doc/extend.texi	2005-05-10 00:09:35.000000000 +0000
@@ -3253,7 +3253,7 @@ struct my_unpacked_struct
     int i;
  @};
 
-struct my_packed_struct __attribute__ ((__packed__))
+struct __attribute__ ((__packed__)) my_packed_struct
   @{
      char c;
      int  i;



More information about the Gcc-patches mailing list