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 b5c8c4bd7650b5e8c9330dcaeb016ed2d56c1a76..9f0d7168a9d7d1fbeda96e93abbe3a69e1bf4a6f 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 5be7fa2cc146a916c47aff67d9a562c33a8be464..e45e0cbeced4078b6354e283543a67df80667bd0 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