This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Remove redundant line in c-parse.in


This patch passes a bootstrap and make check.  The call to
decl_attributes is not in similar code in the rest of c-parse.in, and
is present in the call to start_decl that happens a few lines earlier.

This is a necessary prerequisite to what I am hoping will be a
considerable simplification of c-parse.in.

OK to commit?

Neil.

Index: c-parse.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-parse.in,v
retrieving revision 1.91
diff -u -p -r1.91 c-parse.in
--- c-parse.in	2001/05/19 20:19:24	1.91
+++ c-parse.in	2001/05/24 21:44:29
@@ -1459,7 +1459,6 @@ notype_initdcl:
 	  init
 /* Note how the declaration of the variable is in effect while its init is parsed! */
 		{ finish_init ();
-		  decl_attributes ($<ttype>5, $3, prefix_attributes);
 		  finish_decl ($<ttype>5, $6, $2); }
 	| notype_declarator maybeasm maybe_attribute
 		{ tree d = start_decl ($1, current_declspecs, 0,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]