[compat-gcc-32] 3.2.3-68.11

Jakub Jelinek jakub at fedoraproject.org
Mon Jul 7 16:21:17 UTC 2014


commit d074c73e6def13dd3024e5a30519d4895ecbc40c
Author: Jakub Jelinek <jakub at redhat.com>
Date:   Mon Jul 7 18:21:30 2014 +0200

    3.2.3-68.11

 compat-gcc-32.spec |    2 +-
 gcc32-bison.patch  |   79 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 78 insertions(+), 3 deletions(-)
---
diff --git a/compat-gcc-32.spec b/compat-gcc-32.spec
index e778115..a66f3cb 100644
--- a/compat-gcc-32.spec
+++ b/compat-gcc-32.spec
@@ -28,7 +28,7 @@ Source0: gcc-%{gcc_version}-%{DATE}.tar.bz2
 Source2: libstdc++-3.3.4-%{LIBSTDCXXDATE}.tar.bz2
 Source3: dummylib.sh
 URL: http://gcc.gnu.org
-ExcludeArch: %{arm}
+ExcludeArch: %{arm} aarch64 ppc64le
 BuildRoot: /var/tmp/gcc-root
 # Need .eh_frame ld optimizations
 # Need proper visibility support
diff --git a/gcc32-bison.patch b/gcc32-bison.patch
index aae49f1..960b144 100644
--- a/gcc32-bison.patch
+++ b/gcc32-bison.patch
@@ -1,5 +1,14 @@
 --- gcc/c-parse.in.jj	2009-03-09 14:27:38.000000000 +0100
-+++ gcc/c-parse.in	2009-03-09 14:33:29.000000000 +0100
++++ gcc/c-parse.in	2014-07-07 18:18:24.000000000 +0200
+@@ -619,7 +619,7 @@ primary:
+ 	IDENTIFIER
+ 		{
+ 		  if (yychar == YYEMPTY)
+-		    yychar = YYLEX;
++		    yychar = yylex ();
+ 		  $$ = build_external_ref ($1, yychar == '(');
+ 		}
+ 	| CONSTANT
 @@ -1713,7 +1713,7 @@ enum_head:
  
  structsp_attr:
@@ -33,8 +42,24 @@
  	  enumlist maybecomma_warn '}' maybe_attribute
  		{ $$ = finish_enum ($<ttype>3, nreverse ($4),
  				    chainon ($1, $7)); }
+@@ -2238,13 +2238,13 @@ do_stmt_start:
+    first token on the next line.  */
+ save_filename:
+ 		{ if (yychar == YYEMPTY)
+-		    yychar = YYLEX;
++		    yychar = yylex ();
+ 		  $$ = input_filename; }
+ 	;
+ 
+ save_lineno:
+ 		{ if (yychar == YYEMPTY)
+-		    yychar = YYLEX;
++		    yychar = yylex ();
+ 		  $$ = lineno; }
+ 	;
+ 
 --- gcc/cp/parse.y.jj	2009-03-09 14:39:01.000000000 +0100
-+++ gcc/cp/parse.y	2009-03-09 14:41:58.000000000 +0100
++++ gcc/cp/parse.y	2014-07-07 18:18:24.000000000 +0200
 @@ -804,7 +804,7 @@ fndef:
  
  constructor_declarator:
@@ -71,3 +96,53 @@
  	 parmlist ')' cv_qualifiers exception_specification_opt
  		{ $$ = make_call_declarator ($<ttype>5, $6, $8, $9); }
  	| global_scope nested_name_specifier self_template_type LEFT_RIGHT cv_qualifiers exception_specification_opt
+@@ -879,7 +879,7 @@ fn.def2:
+ 		  if (! $$)
+ 		    YYERROR1;
+ 		  if (yychar == YYEMPTY)
+-		    yychar = YYLEX;
++		    yychar = yylex ();
+ 		  snarf_method ($$); }
+ 	| component_constructor_declarator
+ 		{ $$ = parse_method ($1, NULL_TREE, NULL_TREE); 
+@@ -1086,7 +1086,7 @@ self_template_type:
+ .finish_template_type:
+                 { 
+ 		  if (yychar == YYEMPTY)
+-		    yychar = YYLEX;
++		    yychar = yylex ();
+ 
+ 		  $$ = finish_template_type ($<ttype>-3, $<ttype>-1, 
+ 					     yychar == SCOPE);
+@@ -1308,11 +1308,11 @@ unary_expr:
+ 	| delete '[' ']' cast_expr  %prec UNARY
+ 		{ $$ = delete_sanity ($4, NULL_TREE, 1, $1);
+ 		  if (yychar == YYEMPTY)
+-		    yychar = YYLEX; }
++		    yychar = yylex (); }
+ 	| delete '[' expr ']' cast_expr  %prec UNARY
+ 		{ $$ = delete_sanity ($5, $3, 2, $1);
+ 		  if (yychar == YYEMPTY)
+-		    yychar = YYLEX; }
++		    yychar = yylex (); }
+ 	| REALPART cast_expr %prec UNARY
+ 		{ $$ = build_x_unary_op (REALPART_EXPR, $2); }
+ 	| IMAGPART cast_expr %prec UNARY
+@@ -2345,7 +2345,7 @@ structsp:
+ 		  tree t;
+ 
+ 		  if (yychar == YYEMPTY)
+-		    yychar = YYLEX;
++		    yychar = yylex ();
+ 		  semi = yychar == ';';
+ 
+ 		  t = finish_class_definition ($1.t, $7, semi, $1.new_type_flag);
+@@ -3993,7 +3993,7 @@ operator_name:
+    on the next line.  */
+ save_lineno:
+ 		{ if (yychar == YYEMPTY)
+-		    yychar = YYLEX;
++		    yychar = yylex ();
+ 		  $$ = lineno; }
+ 	;
+ %%


More information about the scm-commits mailing list