http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49415
Summary: [4.7 Regression] Revision 175071 fails to bootstrap on x86_64-apple-darwin10 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: domi...@lps.ens.fr CC: js...@gcc.gnu.org Host: x86_64-apple-darwin10 Target: x86_64-apple-darwin10 Build: x86_64-apple-darwin10 Revision 175071 fails to bootstrap on x86_64-apple-darwin10 with ... /opt/gcc/build_w/./prev-gcc/xgcc -B/opt/gcc/build_w/./prev-gcc/ -B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/bin/ -B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/bin/ -B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/lib/ -isystem /opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/include -isystem /opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/sys-include -c -g -O2 -mdynamic-no-pic -gtoggle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I. -I../../work/gcc -I../../work/gcc/. -I../../work/gcc/../include -I../../work/gcc/../libcpp/include -I/opt/sw64/include -I../../work/gcc/../libdecnumber -I../../work/gcc/../libdecnumber/dpd -I../libdecnumber -I/opt/sw64/include -DCLOOG_INT_GMP -DCLOOG_ORG -I/opt/sw64/include \ ../../work/gcc/common/config/i386/i386-common.c -o i386-common.o In file included from ./tm_p.h:5:0, from ../../work/gcc/common/config/i386/i386-common.c:27: ../../work/gcc/config/darwin-protos.h:57:51: error: ISO C forbids forward references to 'enum' types [-Werror=edantic] ../../work/gcc/config/darwin-protos.h:58:11: error: 'enum machine_mode' declared inside parameter list [-Werror] ../../work/gcc/config/darwin-protos.h:58:11: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] cc1: all warnings being treated as errors This is likely due to revision 175064.