From: Joern Rennecke Date: Fri, 5 Nov 2010 11:27:16 +0000 (+0000) Subject: re PR target/44750 (pdp-11 fails to build) X-Git-Tag: upstream/12.2.0~88741 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=365b0dba728dec0704fa5b285fb452f0154bd55b;p=platform%2Fupstream%2Fgcc.git re PR target/44750 (pdp-11 fails to build) PR target/44750 * config/pdp11/t-pdp11 (dwarf2out.o, java/constants.o): Undo last change. Set $@-warn.o to -Wno-error. From-SVN: r166356 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b5c8c4b..9f0d716 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-11-05 Joern Rennecke + + PR target/44750 + * config/pdp11/t-pdp11 (dwarf2out.o, java/constants.o): Undo last + change. Set $@-warn.o to -Wno-error. + 2010-11-05 Jakub Jelinek * cfgexpand.c (expand_debug_expr): Handle MEM_REF diff --git a/gcc/config/pdp11/t-pdp11 b/gcc/config/pdp11/t-pdp11 index 5be7fa2..e45e0cb 100644 --- a/gcc/config/pdp11/t-pdp11 +++ b/gcc/config/pdp11/t-pdp11 @@ -39,8 +39,10 @@ MULTILIB_OPTIONS = msoft-float # DWARF_ARANGES_PAD_SIZE is 0, thus a loop in output_aranges that checks # (i < (unsigned) DWARF_ARANGES_PAD_SIZE) elicits a warning that the # comparison is always false. -dwarf2out.o: ALL_COMPILERFLAGS += -Wno-error=type-limits +# We could say "-Werror -Wno-error=type-limits", alas, not all supported +# gcc bootstrap compilers support the latter option. +dwarf2out.o-warn = -Wno-error # Likewise, java/constants.c:build_constants_constructor has a negative shift # count (in never-executed code) due to the small POINTER_SIZE. -java/constants.o: ALL_COMPILERFLAGS += -Wno-error +java/constants.o-warn = -Wno-error