http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48595
Summary: score-elf fails to build with --enable-werror-always Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: amyl...@gcc.gnu.org CC: li...@gcc.gnu.org Blocks: 44756 Target: score-elf gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I.. -I. -Iada -I../../../gcc/gcc -I../../../gcc/gcc/ada -I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include -I/opt/cfarm/mpc/include -I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber ../../../gcc/gcc/ada/gcc-interface/targtyps.c -o ada/targtyps.o In file included from ./tm_p.h:5:0, from ../../../gcc/gcc/ada/gcc-interface/targtyps.c:33: ./tm-preds.h:69:0: error: "CONSTRAINT_LEN" redefined [-Werror] ../../../gcc/gcc/defaults.h:956:0: note: this is the location of the previous definition ./tm-preds.h:72:0: error: "REG_CLASS_FROM_CONSTRAINT" redefined [-Werror] ../../../gcc/gcc/defaults.h:969:0: note: this is the location of the previous definition ./tm-preds.h:86:0: error: "EXTRA_MEMORY_CONSTRAINT" redefined [-Werror] ../../../gcc/gcc/defaults.h:940:0: note: this is the location of the previous definition ./tm-preds.h:88:0: error: "EXTRA_ADDRESS_CONSTRAINT" redefined [-Werror] ../../../gcc/gcc/defaults.h:946:0: note: this is the location of the previous definition cc1: all warnings being treated as errors make[2]: *** [ada/targtyps.o] Error 1 make[2]: *** Waiting for unfinished jobs.... score has a constraints.md, yet defines REG_CLASS_FROM_LETTER.