Message ID | 20130212192637.GC23409@redhat.com |
---|---|
State | New |
Headers | show |
On Tue, Feb 12, 2013 at 08:26:37PM +0100, Marek Polacek wrote: > 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 The function is called c_parser_postfix_expression_after_primary, not c_parser_postfix_expression_after_primar, that is just diff truncating too long names; please fix that up. > origtypes to NULL. Ok, thanks. > --- 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 Jakub
On Tue, Feb 12, 2013 at 08:52:27PM +0100, Jakub Jelinek wrote: > On Tue, Feb 12, 2013 at 08:26:37PM +0100, Marek Polacek wrote: > > 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 > > The function is called c_parser_postfix_expression_after_primary, > not c_parser_postfix_expression_after_primar, that is just diff truncating > too long names; please fix that up. Thanks for noticing, I used auto-completing of words... I'll fix it up and commit. Marek
On 12/02/13 19:59, Marek Polacek wrote: > > Thanks for noticing, I used auto-completing of words... > I'll fix it up and commit. > > Marek > Why did this occur? I am curious. Alec
On Tue, Feb 12, 2013 at 08:21:06PM +0000, Alec Teal wrote:
> Why did this occur? I am curious.
It is caused by -fipa-cp-clone, which -O3 entails.
Marek
--- 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;