Blame SOURCES/gcc34-bison4.patch

6fdc0f
--- gcc/c-parse.in	2009-02-10 12:41:09.000000000 +0100
6fdc0f
+++ gcc/c-parse.in	2009-02-10 13:23:53.000000000 +0100
6fdc0f
@@ -1647,7 +1647,7 @@ enum_head:
6fdc0f
 
6fdc0f
 structsp_attr:
6fdc0f
 	  struct_head identifier '{'
6fdc0f
-		{ $$ = start_struct (RECORD_TYPE, $2);
6fdc0f
+		{ $<ttype>$ = start_struct (RECORD_TYPE, $2);
6fdc0f
 		  /* Start scope of tag before parsing components.  */
6fdc0f
 		}
6fdc0f
 	  component_decl_list '}' maybe_attribute
6fdc0f
@@ -1658,7 +1658,7 @@ structsp_attr:
6fdc0f
 				      nreverse ($3), chainon ($1, $5));
6fdc0f
 		}
6fdc0f
 	| union_head identifier '{'
6fdc0f
-		{ $$ = start_struct (UNION_TYPE, $2); }
6fdc0f
+		{ $<ttype>$ = start_struct (UNION_TYPE, $2); }
6fdc0f
 	  component_decl_list '}' maybe_attribute
6fdc0f
 		{ $$ = finish_struct ($<ttype>4, nreverse ($5),
6fdc0f
 				      chainon ($1, $7)); }
6fdc0f
@@ -1667,12 +1667,12 @@ structsp_attr:
6fdc0f
 				      nreverse ($3), chainon ($1, $5));
6fdc0f
 		}
6fdc0f
 	| enum_head identifier '{'
6fdc0f
-		{ $$ = start_enum ($2); }
6fdc0f
+		{ $<ttype>$ = start_enum ($2); }
6fdc0f
 	  enumlist maybecomma_warn '}' maybe_attribute
6fdc0f
 		{ $$ = finish_enum ($<ttype>4, nreverse ($5),
6fdc0f
 				    chainon ($1, $8)); }
6fdc0f
 	| enum_head '{'
6fdc0f
-		{ $$ = start_enum (NULL_TREE); }
6fdc0f
+		{ $<ttype>$ = start_enum (NULL_TREE); }
6fdc0f
 	  enumlist maybecomma_warn '}' maybe_attribute
6fdc0f
 		{ $$ = finish_enum ($<ttype>3, nreverse ($4),
6fdc0f
 				    chainon ($1, $7)); }