re PR target/44750 (pdp-11 fails to build)
authorJoern Rennecke <amylaar@spamcop.net>
Fri, 5 Nov 2010 11:27:16 +0000 (11:27 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Fri, 5 Nov 2010 11:27:16 +0000 (11:27 +0000)
         PR target/44750
        * config/pdp11/t-pdp11 (dwarf2out.o, java/constants.o): Undo last
        change.  Set $@-warn.o to -Wno-error.

From-SVN: r166356

gcc/ChangeLog
gcc/config/pdp11/t-pdp11

index b5c8c4b..9f0d716 100644 (file)
@@ -1,3 +1,9 @@
+2010-11-05  Joern Rennecke  <amylaar@spamcop.net>
+
+        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  <jakub@redhat.com>
 
        * cfgexpand.c (expand_debug_expr): Handle MEM_REF
index 5be7fa2..e45e0cb 100644 (file)
@@ -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