This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++11][4.9] Add missing REDUC_PLUS_EXPR case to potential_constant_expression_1.

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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]