[Bug bootstrap/46050] gcc/c-parser.c fails to build with -O2 -finline-functions

2010-10-17 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46050 Uros Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug bootstrap/46050] gcc/c-parser.c fails to build with -O2 -finline-functions

2010-10-17 Thread baryluk at smp dot if.uj.edu.pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46050 --- Comment #3 from Witold Baryluk 2010-10-17 12:18:15 UTC --- Created attachment 22069 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22069 Move initializations patch of incr and cond (against gcc-4.6-20101009)

[Bug bootstrap/46050] gcc/c-parser.c fails to build with -O2 -finline-functions

2010-10-17 Thread baryluk at smp dot if.uj.edu.pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46050 --- Comment #2 from Witold Baryluk 2010-10-17 12:16:25 UTC --- Not exactly your patch. In true-branch of if, there is no assigment to incr (so error is correct). But moving else assigments, before if, resolves problem. Modified patch agains snap

[Bug bootstrap/46050] gcc/c-parser.c fails to build with -O2 -finline-functions

2010-10-16 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46050 --- Comment #1 from Uros Bizjak 2010-10-16 16:23:14 UTC --- Created attachment 22063 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22063 move some initializations Does attached patch fix the failure for you?