http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54092
Bug #: 54092 Summary: [4.8 Regression] Bootstrap fails on x86_64-apple-darwin10 while building Ada at stage 1 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: domi...@lps.ens.fr CC: ia...@gcc.gnu.org, r...@gcc.gnu.org Host: x86_64-apple-darwin10 Target: x86_64-apple-darwin10 Build: x86_64-apple-darwin10 Bootstrap fails on x86_64-apple-darwin10 while building Ada at stage 1 (likely revision 189821): g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I.. -I. -Iada -I../../work/gcc -I../../work/gcc/ada -I../../work/gcc/../include -I./../intl -I../../work/gcc/../libcpp/include -I/opt/mp/include -I../../work/gcc/../libdecnumber -I../../work/gcc/../libdecnumber/dpd -I../libdecnumber -DCLOOG_INT_GMP -I/opt/mp/include ../../work/gcc/ada/gcc-interface/trans.c -o ada/trans.o In file included from ../../work/gcc/libfuncs.h:24:0, from ../../work/gcc/ada/gcc-interface/trans.c:34: ../../work/gcc/optabs.h:51:35: error: 'NUM_RTX_CODE' was not declared in this scope extern const optab code_to_optab_[NUM_RTX_CODE]; ^ ../../work/gcc/optabs.h:52:19: error: use of enum 'rtx_code' without previous declaration extern const enum rtx_code optab_to_code_[NUM_OPTABS]; ^ ../../work/gcc/optabs.h:52:54: error: invalid type in declaration before ';' token extern const enum rtx_code optab_to_code_[NUM_OPTABS]; ^ ../../work/gcc/optabs.h:55:21: error: use of enum 'rtx_code' without previous declaration code_to_optab (enum rtx_code code) ^ ../../work/gcc/optabs.h: In function 'optab code_to_optab(int)': ../../work/gcc/optabs.h:57:10: error: 'code_to_optab_' was not declared in this scope return code_to_optab_[code]; ^ ../../work/gcc/optabs.h: At global scope: ../../work/gcc/optabs.h:60:20: error: use of enum 'rtx_code' without previous declaration static inline enum rtx_code ^ ../../work/gcc/optabs.h:88:39: warning: 'expand_widen_pattern_expr' initialized and declared 'extern' [enabled by default] extern rtx expand_widen_pattern_expr (sepops ops, rtx op0, rtx op1, rtx wide_op, ^ ../../work/gcc/optabs.h:88:39: error: 'sepops' was not declared in this scope ../../work/gcc/optabs.h:88:55: error: expected primary-expression before 'op0' extern rtx expand_widen_pattern_expr (sepops ops, rtx op0, rtx op1, rtx wide_op, ^ ../../work/gcc/optabs.h:88:64: error: expected primary-expression before 'op1' extern rtx expand_widen_pattern_expr (sepops ops, rtx op0, rtx op1, rtx wide_op, ^ ../../work/gcc/optabs.h:88:73: error: expected primary-expression before 'wide_op' extern rtx expand_widen_pattern_expr (sepops ops, rtx op0, rtx op1, rtx wide_op, ^ ../../work/gcc/optabs.h:89:43: error: expected primary-expression before 'target' rtx target, int unsignedp); ^ ../../work/gcc/optabs.h:89:51: error: expected primary-expression before 'int' rtx target, int unsignedp); ^ ../../work/gcc/optabs.h:89:64: error: expression list treated as compound expression in initializer [-fpermissive] rtx target, int unsignedp); ^ ../../work/gcc/optabs.h:97:10: error: use of enum 'optab_methods' without previous declaration enum optab_methods); ^ ../../work/gcc/optabs.h:101:12: error: use of enum 'optab_methods' without previous declaration enum optab_methods methods); ^ ../../work/gcc/optabs.h:104:10: error: use of enum 'optab_methods' without previous declaration enum optab_methods); ^ ../../work/gcc/optabs.h:108:25: error: use of enum 'optab_methods' without previous declaration rtx, int, enum optab_methods); ^ ../../work/gcc/optabs.h:119:12: error: use of enum 'rtx_code' without previous declaration enum rtx_code); ^ ../../work/gcc/optabs.h:136:60: error: use of enum 'rtx_code' without previous declaration extern void emit_unop_insn (enum insn_code, rtx, rtx, enum rtx_code); ^ ../../work/gcc/optabs.h:137:66: error: use of enum 'rtx_code' without previous declaration extern bool maybe_emit_unop_insn (enum insn_code, rtx, rtx, enum rtx_code); ^ ../../work/gcc/optabs.h:174:32: error: use of enum 'rtx_code' without previous declaration extern int can_compare_p (enum rtx_code, enum machine_mode, ^ ../../work/gcc/optabs.h:237:35: warning: 'expand_vec_shift_expr' initialized and declared 'extern' [enabled by default] extern rtx expand_vec_shift_expr (sepops, rtx); ^ ../../work/gcc/optabs.h:237:35: error: 'sepops' was not declared in this scope ../../work/gcc/optabs.h:237:46: error: expected primary-expression before ')' token extern rtx expand_vec_shift_expr (sepops, rtx); ^ ../../work/gcc/optabs.h:237:46: error: expression list treated as compound expression in initializer [-fpermissive] ../../work/gcc/optabs.h: In function 'void create_integer_operand(expand_operand*, long int)': ../../work/gcc/optabs.h:453:61: error: 'GEN_INT' was not declared in this scope create_expand_operand (op, EXPAND_INTEGER, GEN_INT (intval), VOIDmode, false); ^