diff options
author | Joern Rennecke <amylaar@spamcop.net> | 2010-11-05 11:27:16 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2010-11-05 11:27:16 +0000 |
commit | 365b0dba728dec0704fa5b285fb452f0154bd55b (patch) | |
tree | ad991807d893e06e5b1e1b5a4938a3518c94d5dc /gcc | |
parent | cba1eb614cc73d9cb6b84754e1b746c1c3c32169 (diff) | |
download | gcc-365b0dba728dec0704fa5b285fb452f0154bd55b.zip gcc-365b0dba728dec0704fa5b285fb452f0154bd55b.tar.gz gcc-365b0dba728dec0704fa5b285fb452f0154bd55b.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/pdp11/t-pdp11 | 6 |
2 files changed, 10 insertions, 2 deletions
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 <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 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 |