Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc make build and work on sh3 and vax.



details:   https://anonhg.NetBSD.org/src/rev/576c64a951a1
branches:  trunk
changeset: 1014275:576c64a951a1
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Sep 15 05:19:34 2020 +0000

description:
make build and work on sh3 and vax.

diffstat:

 external/gpl3/gcc/lib/Makefile.sanitizer         |  3 ++-
 external/gpl3/gcc/usr.bin/backend/Makefile       |  4 +++-
 external/gpl3/gcc/usr.bin/common-target/Makefile |  5 ++++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diffs (61 lines):

diff -r 8c0148a69afd -r 576c64a951a1 external/gpl3/gcc/lib/Makefile.sanitizer
--- a/external/gpl3/gcc/lib/Makefile.sanitizer  Tue Sep 15 05:14:19 2020 +0000
+++ b/external/gpl3/gcc/lib/Makefile.sanitizer  Tue Sep 15 05:19:34 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.sanitizer,v 1.15 2020/09/12 15:01:38 kamil Exp $
+#      $NetBSD: Makefile.sanitizer,v 1.16 2020/09/15 05:19:34 mrg Exp $
 
 SANITIZER=${GCCDIST}/libsanitizer
 .PATH: ${SANITIZER}/interception ${SANITIZER}/sanitizer_common
@@ -103,6 +103,7 @@
 COPTS.sanitizer_procmaps_common.cc += -O1
 COPTS.sanitizer_stackdepot.cc += -O1
 COPTS.sanitizer_symbolizer_libcdep.cc += -O1
+COPTS.sanitizer_symbolizer_report.cc += -O1
 COPTS.ubsan_diag.cc += -O1
 COPTS.ubsan_init.cc += -O1
 .endif
diff -r 8c0148a69afd -r 576c64a951a1 external/gpl3/gcc/usr.bin/backend/Makefile
--- a/external/gpl3/gcc/usr.bin/backend/Makefile        Tue Sep 15 05:14:19 2020 +0000
+++ b/external/gpl3/gcc/usr.bin/backend/Makefile        Tue Sep 15 05:19:34 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.62 2020/09/06 10:50:53 mrg Exp $
+#      $NetBSD: Makefile,v 1.63 2020/09/15 05:19:34 mrg Exp $
 
 LIBISPRIVATE=  yes
 
@@ -581,6 +581,7 @@
 COPTS.tree-ssa-loop-manip.c+=-O0
 COPTS.tree-ssa-loop-niter.c+=-O0
 COPTS.tree-ssa-math-opts.c+=-O0
+COPTS.tree-ssa-phiopt.c+= -O0
 COPTS.tree-ssa-pre.c+=-O0
 COPTS.tree-ssa-reassoc.c+=-O0
 COPTS.tree-ssa-strlen.c+=-O0
@@ -599,6 +600,7 @@
 COPTS.vr-values.c+=-O0
 COPTS.web.c+=-O0
 COPTS.wide-int.cc+=-O0
+COPTS.wide-int-range.cc+=-O0
 .else
 COPTS.tree.c=  ${${ACTIVE_CC} == "clang" :? -O0 :}
 .endif
diff -r 8c0148a69afd -r 576c64a951a1 external/gpl3/gcc/usr.bin/common-target/Makefile
--- a/external/gpl3/gcc/usr.bin/common-target/Makefile  Tue Sep 15 05:14:19 2020 +0000
+++ b/external/gpl3/gcc/usr.bin/common-target/Makefile  Tue Sep 15 05:19:34 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2019/10/24 18:48:09 christos Exp $
+#      $NetBSD: Makefile,v 1.10 2020/09/15 05:19:35 mrg Exp $
 
 LIBISPRIVATE=  yes
 
@@ -22,6 +22,9 @@
 COPTS.opts-common.c+=  -Wno-stack-protector
 COPTS.rs6000-common.c+=        -Wno-stack-protector
 COPTS.arm-common.c+=   -Wno-stack-protector
+.if ${MACHINE_CPU} == "sh3"
+COPTS.opts.c+=         ${GCC_NO_FORMAT_TRUNCATION}
+.endif
 
 GENPROG_ERROR_DEPENDS=errors.lo
 



Home | Main Index | Thread Index | Old Index