Revision 198142 breaks bootstrapping with Ada:

...
../../xgcc -B../../ -c -DIN_GCC  -g -O2 -W -Wall  \
                -iquote /opt/gcc/work/gcc \
                 -iquote . -iquote .. -iquote ../.. -iquote 
/opt/gcc/work/gcc/ada -iquote /opt/gcc/work/gcc -I/opt/gcc/work/gcc/../include 
-I/opt/mp/include  \
                ../rts/targext.c -o targext.o
In file included from ../rts/targext.c:45:0:
/opt/gcc/work/gcc/coretypes.h:66:1: error: unknown type name 
'gimple_stmt_iterator_d'
 typedef gimple_stmt_iterator_d gimple_stmt_iterator;
...

Following the David Malcolm's advice pn IRC, the patch

--- ../_clean/gcc/coretypes.h   2013-04-22 18:03:40.000000000 +0200
+++ gcc/coretypes.h     2013-04-22 22:44:33.000000000 +0200
@@ -63,7 +63,7 @@ typedef union gimple_statement_d *gimple
 typedef const union gimple_statement_d *const_gimple;
 typedef gimple gimple_seq;
 struct gimple_stmt_iterator_d;
-typedef gimple_stmt_iterator_d gimple_stmt_iterator;
+typedef struct gimple_stmt_iterator_d gimple_stmt_iterator;
 union section;
 typedef union section section;
 struct gcc_options;

allowed me to bootstrap revision 198157.

TIA

Dominique

Reply via email to