Hi! The attached patch (committed as obvious) fixes this warning (see eg. build http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=214621):
g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I/home/vaxbuild/repos/gcc/gcc -I/home/vaxbuild/repos/gcc/gcc/. -I/home/vaxbuild/repos/gcc/gcc/../include -I/home/vaxbuild/repos/gcc/gcc/../libcpp/include -I/home/vaxbuild/repos/gcc/gcc/../libdecnumber -I/home/vaxbuild/repos/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/vaxbuild/repos/gcc/gcc/../libbacktrace -o arc.o -MT arc.o -MMD -MP -MF ./.deps/arc.TPo /home/vaxbuild/repos/gcc/gcc/config/arc/arc.c /home/vaxbuild/repos/gcc/gcc/config/arc/arc.c:553:0: warning: "TARGET_LRA_P" redefined [enabled by default] #define TARGET_LRA_P arc_lra_p ^ In file included from ./tm.h:14:0, from /home/vaxbuild/repos/gcc/gcc/config/arc/arc.c:34: ./options.h:4220:0: note: this is the location of the previous definition #define TARGET_LRA_P(target_flags) ((target_flags & MASK_LRA) != 0) ^ 2014-05-01 Jan-Benedict Glaw <jbg...@lug-owl.de> * config/arc/arc.c (TARGET_LRA_P): Undef before redefine. 2014-05-01 Yuri Rumyantsev <ysrum...@gmail.com> Index: config/arc/arc.c =================================================================== --- config/arc/arc.c (revision 209978) +++ config/arc/arc.c (working copy) @@ -550,6 +550,7 @@ #define TARGET_INSN_LENGTH_PARAMETERS arc_insn_length_parameters +#undef TARGET_LRA_P #define TARGET_LRA_P arc_lra_p #define TARGET_REGISTER_PRIORITY arc_register_priority /* Stores with scaled offsets have different displacement ranges. */ -- Jan-Benedict Glaw jbg...@lug-owl.de +49-172-7608481 Signature of: 17:45 <@Eimann> Hrm, das E90 hat keinen Lebenszeit Call-Time Counter mehr the second : 17:46 <@jbglaw> Eimann: Wofür braucht man das? 17:46 <@jbglaw> Eimann: Für mich ist an 'nem Handy wichtig, daß ich mein Gegeüber hören kann. Und daß mein Gegenüber mich versteht... 17:47 <@KrisK> jbglaw: was du meinst ist wodka. 17:47 <@KrisK> jbglaw: es klingelt und man hört stimmen
signature.asc
Description: Digital signature