See attached: two places in grokdeclarartor, where extra spaces appear. I can make this patch, or perhaps someone else can just fold it into something they're doing? (Although I had separately made these changes in the GUPC branch, I haven't tested them. Hopefully, they're safe by inspection.)
- Gary
Index: ChangeLog =================================================================== --- ChangeLog (revision 171815) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2011-04-01 Gary Funck <g...@intrepid.com> + + * c-decl.c (grokdeclarator): Fix formatting. + 2011-03-31 Joseph Myers <jos...@codesourcery.com> * opts.h (cl_option): Add comments to fields. Add bit-fields for Index: c-decl.c =================================================================== --- c-decl.c (revision 171815) +++ c-decl.c (working copy) @@ -5450,7 +5450,7 @@ grokdeclarator (const struct c_declarato } } - /* Complain about arrays of incomplete types. */ + /* Complain about arrays of incomplete types. */ if (!COMPLETE_TYPE_P (type)) { error_at (loc, "array type has incomplete element type"); @@ -5936,7 +5936,7 @@ grokdeclarator (const struct c_declarato if (storage_class == csc_register || threadp) { error_at (loc, "invalid storage class for function %qE", name); - } + } else if (current_scope != file_scope) { /* Function declaration not at file scope. Storage