[PATCH] Fix bootstrap with -O3

Marek Polacek polacek@redhat.com
Tue Feb 12 19:26:00 GMT 2013


On Sun, Feb 10, 2013 at 12:29:41AM +0100, Marc Glisse wrote:
> >2013-02-07  Marek Polacek  <polacek@redhat.com>
> >
> >	* c-parser.c (origtypes): Initialize to NULL.
> 
> Maybe mention PR44938? (there may be a dup or two)

Ok, I added that.

> (I thought it was the name of the function that went inside the
> parentheses in a ChangeLog entry)

That's right, so I used something hopefully better this time around ;)
Ok for trunk now?

2013-02-12  Marek Polacek  <polacek@redhat.com>

	PR c/44938
	* c-parser.c (c_parser_postfix_expression_after_primar): Initialize
	origtypes to NULL.

--- gcc/c-parser.c.mp	2013-02-07 17:50:10.286742403 +0100
+++ gcc/c-parser.c	2013-02-07 17:50:23.331781876 +0100
@@ -6864,7 +6864,7 @@ c_parser_postfix_expression_after_primar
   tree sizeof_arg[3];
   unsigned int i;
   vec<tree, va_gc> *exprlist;
-  vec<tree, va_gc> *origtypes;
+  vec<tree, va_gc> *origtypes = NULL;
   while (true)
     {
       location_t op_loc = c_parser_peek_token (parser)->location;

	Marek



More information about the Gcc-patches mailing list