CVS commit: src/external/gpl3/gcc/usr.bin

2024-09-29 Thread Kalvis Duckmanton
Module Name:src
Committed By:   kalvisd
Date:   Sun Sep 29 17:14:40 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/gcc: Makefile

Log Message:
gcc: vax: re-enable optimisation of dse.c

OK rin@


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/gcc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.77 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.78
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.77	Sun Sep 29 16:53:05 2024
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sun Sep 29 17:14:40 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.77 2024/09/29 16:53:05 kalvisd Exp $
+#	$NetBSD: Makefile,v 1.78 2024/09/29 17:14:40 kalvisd Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -511,7 +511,7 @@ i386.d i386.o: pass_manager.h
 
 .if ${GCC_MACHINE_ARCH} == "vax"
 CPPFLAGS+=-I${.CURDIR}/../../lib/libgcc/libgcov/arch/${GCC_MACHINE_ARCH}
-COPTS.dse.c+=-O1	# XXX port-vax/51967
+
 COPTS.expmed.c+=-Wno-error=tautological-compare
 COPTS.expr.c+=-Wno-error=tautological-compare
 .endif

Index: src/external/gpl3/gcc/usr.bin/gcc/Makefile
diff -u src/external/gpl3/gcc/usr.bin/gcc/Makefile:1.9 src/external/gpl3/gcc/usr.bin/gcc/Makefile:1.10
--- src/external/gpl3/gcc/usr.bin/gcc/Makefile:1.9	Sun Jun 30 16:15:03 2024
+++ src/external/gpl3/gcc/usr.bin/gcc/Makefile	Sun Sep 29 17:14:40 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2024/06/30 16:15:03 christos Exp $
+#	$NetBSD: Makefile,v 1.10 2024/09/29 17:14:40 kalvisd Exp $
 
 PROG=		gcc
 SRCS=		gccspec.cc ${G_GCC_OBJS:.o=.cc}
@@ -25,9 +25,6 @@ ${SRCS}: ${GCCARCH}/defs.mk
 .include 
 
 COPTS.gcc.cc=	-Wno-error=stack-protector
-.if ${MACHINE_ARCH} == "vax" && 0
-COPTS.dse.c=	-O1
-.endif
 
 .PATH: ${DIST}/gcc ${DIST}/gcc/doc ${DIST}/gcc/c
 



CVS commit: src/external/gpl3/gcc/usr.bin

2024-09-29 Thread Kalvis Duckmanton
Module Name:src
Committed By:   kalvisd
Date:   Sun Sep 29 17:14:40 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/gcc: Makefile

Log Message:
gcc: vax: re-enable optimisation of dse.c

OK rin@


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/gcc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2024-09-29 Thread Kalvis Duckmanton
Module Name:src
Committed By:   kalvisd
Date:   Sun Sep 29 16:53:06 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile
src/external/gpl3/gcc/usr.bin/libdecnumber: Makefile
src/external/gpl3/gcc/usr.bin/lto1: Makefile

Log Message:
gcc: vax: remove VAX-specific COPTS

OK rin@


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.25 -r1.26 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.20 -r1.21 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/lto1/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.76 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.77
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.76	Sun Sep 29 16:45:29 2024
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sun Sep 29 16:53:05 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.76 2024/09/29 16:45:29 kalvisd Exp $
+#	$NetBSD: Makefile,v 1.77 2024/09/29 16:53:05 kalvisd Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -511,70 +511,9 @@ i386.d i386.o: pass_manager.h
 
 .if ${GCC_MACHINE_ARCH} == "vax"
 CPPFLAGS+=-I${.CURDIR}/../../lib/libgcc/libgcov/arch/${GCC_MACHINE_ARCH}
-#COPTS.builtins.c+=-O0
-# COPTS.calls.c+=-O0
-# COPTS.convert.c+=-O0
-# COPTS.data-streamer-out.c+=-O0
 COPTS.dse.c+=-O1	# XXX port-vax/51967
-# COPTS.dwarf2out.c+=-O0
-#COPTS.expmed.c+=-O0
-#COPTS.expr.c+=-O0 -Wno-error=tautological-compare
 COPTS.expmed.c+=-Wno-error=tautological-compare
 COPTS.expr.c+=-Wno-error=tautological-compare
-# COPTS.fixed-value.c+=-O0
-# COPTS.fold-const.c+=-O0
-# COPTS.generic-match.c+=-O0
-# COPTS.gimple-fold.c+=-O0
-# COPTS.gimple-match.c+=-O0
-# COPTS.gimple-ssa-strength-reduction.c+=-O0
-# COPTS.gimple-ssa-warn-restrict.c+=-O0
-# COPTS.gimple.c+=-O0
-# COPTS.internal-fn.c+=-O0
-# COPTS.lto-streamer-out.c+=-O0
-# COPTS.omp-low.c+=-O0
-# COPTS.predict.c+=-O0
-# COPTS.range-op.cc+=-O0
-# COPTS.recog.c+=-O0
-# COPTS.sanopt.c+=-O0
-# COPTS.stmt.c+=-O0
-# COPTS.stor-layout.c+=-O0
-# COPTS.targhooks.c+=-O0
-# COPTS.tree-affine.c+=-O0
-# COPTS.tree-cfg.c+=-O0
-# COPTS.tree-data-ref.c+=-O0
-# COPTS.tree-eh.c+=-O0
-# COPTS.tree-if-conv.c+=-O0
-# COPTS.tree-object-size.c+=-O0
-# COPTS.tree-parloops.c+=-O0
-# COPTS.tree-predcom.c+=-O0
-# COPTS.tree-pretty-print.c+=-O0
-# COPTS.tree-ssa-alias.c+=-O0
-# COPTS.tree-ssa-ccp.c+=-O0
-# COPTS.tree-ssa-forwprop.c+=-O0
-# COPTS.tree-ssa-loop-ivopts.c+=-O0
-# 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
-# COPTS.tree-ssa-uninit.c+=-O0
-# COPTS.tree-ssa.c+=-O0
-# COPTS.tree-switch-conversion.c+=-O0
-# COPTS.tree-vect-data-refs.c+=-O0
-# COPTS.tree-vect-loop-manip.c+=-O0
-# COPTS.tree-vect-loop.c+=-O0
-# COPTS.tree-vect-patterns.c+=-O0
-# COPTS.tree-vect-stmts.c+=-O0
-# COPTS.tree-vrp.c+=-O0
-# COPTS.tree.c+=-O0
-# COPTS.ubsan.c+=-O0
-# COPTS.varasm.c+=-O0
-# COPTS.vr-values.c+=-O0
-# COPTS.web.c+=-O0
-# COPTS.wide-int-range.cc+=-O0
-# COPTS.wide-int.cc+=-O0
 .endif
 
 COPTS.tree.cc+=	${${ACTIVE_CC} == "clang" :? -O0 :}

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.25 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.26
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.25	Sun Sep 29 16:45:29 2024
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Sun Sep 29 16:53:05 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.25 2024/09/29 16:45:29 kalvisd Exp $
+#	$NetBSD: Makefile,v 1.26 2024/09/29 16:53:05 kalvisd Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:S,known-headers.o,known-headers.cc,:S,c-spellcheck.o,c-spellcheck.cc,:Nlibcpp.a:.o=.cc}
@@ -47,17 +47,6 @@ CPPFLAGS.default-c.cc+=	-I${BACKENDOBJ}
 BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh-c.cc sh-c.c
 .endif
 
-.if ${MACHINE_CPU} == "vax" && 0
-#COPTS.c-decl.c+=-O0
-#COPTS.c-typeck.c+=-O0
-#COPTS.c-array-notation.c+=-O0
-#COPTS.c-common.c+=-O0
-#COPTS.c-ada-spec.c+=-O0
-#COPTS.cilk.c+=-O0
-#COPTS.c-ubsan.c+=-O0
-#COPTS.cc1-checksum.c+=-O0
-.endif
-
 .if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
 #COPTS.c-common.cc+=-O3
 .endif

Index: src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.20 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.21
--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.20	Sun Sep 29 16:45:29 2024
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Ma

CVS commit: src/external/gpl3/gcc/usr.bin

2024-09-29 Thread Kalvis Duckmanton
Module Name:src
Committed By:   kalvisd
Date:   Sun Sep 29 16:53:06 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile
src/external/gpl3/gcc/usr.bin/libdecnumber: Makefile
src/external/gpl3/gcc/usr.bin/lto1: Makefile

Log Message:
gcc: vax: remove VAX-specific COPTS

OK rin@


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.25 -r1.26 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.20 -r1.21 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/gcc/usr.bin/libdecnumber/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/lto1/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2024-09-29 Thread Kalvis Duckmanton
Module Name:src
Committed By:   kalvisd
Date:   Sun Sep 29 16:45:29 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
gcc: vax: reenable optimisation of compiler's code

OK rin@


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.24 -r1.25 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.21 -r1.22 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2024-09-29 Thread Kalvis Duckmanton
Module Name:src
Committed By:   kalvisd
Date:   Sun Sep 29 16:45:29 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
gcc: vax: reenable optimisation of compiler's code

OK rin@


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.24 -r1.25 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.21 -r1.22 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.75 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.76
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.75	Sun Sep 29 15:56:42 2024
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sun Sep 29 16:45:29 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.75 2024/09/29 15:56:42 kalvisd Exp $
+#	$NetBSD: Makefile,v 1.76 2024/09/29 16:45:29 kalvisd Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -509,70 +509,72 @@ i386.d i386.o: pass_manager.h
 #COPTS.insn-recog.cc+=-Wno-error
 .endif
 
-.if ${GCC_MACHINE_ARCH} == "vax" && 0
+.if ${GCC_MACHINE_ARCH} == "vax"
 CPPFLAGS+=-I${.CURDIR}/../../lib/libgcc/libgcov/arch/${GCC_MACHINE_ARCH}
-COPTS.builtins.c+=-O0
-COPTS.calls.c+=-O0
-COPTS.convert.c+=-O0
-COPTS.data-streamer-out.c+=-O0
-COPTS.dse.c+=-O0	# XXX port-vax/51967
-COPTS.dwarf2out.c+=-O0
-COPTS.expmed.c+=-O0
-COPTS.expr.c+=-O0 -Wno-error=tautological-compare
-COPTS.fixed-value.c+=-O0
-COPTS.fold-const.c+=-O0
-COPTS.generic-match.c+=-O0
-COPTS.gimple-fold.c+=-O0
-COPTS.gimple-match.c+=-O0
-COPTS.gimple-ssa-strength-reduction.c+=-O0
-COPTS.gimple-ssa-warn-restrict.c+=-O0
-COPTS.gimple.c+=-O0
-COPTS.internal-fn.c+=-O0
-COPTS.lto-streamer-out.c+=-O0
-COPTS.omp-low.c+=-O0
-COPTS.predict.c+=-O0
-COPTS.range-op.cc+=-O0
-COPTS.recog.c+=-O0
-COPTS.sanopt.c+=-O0
-COPTS.stmt.c+=-O0
-COPTS.stor-layout.c+=-O0
-COPTS.targhooks.c+=-O0
-COPTS.tree-affine.c+=-O0
-COPTS.tree-cfg.c+=-O0
-COPTS.tree-data-ref.c+=-O0
-COPTS.tree-eh.c+=-O0
-COPTS.tree-if-conv.c+=-O0
-COPTS.tree-object-size.c+=-O0
-COPTS.tree-parloops.c+=-O0
-COPTS.tree-predcom.c+=-O0
-COPTS.tree-pretty-print.c+=-O0
-COPTS.tree-ssa-alias.c+=-O0
-COPTS.tree-ssa-ccp.c+=-O0
-COPTS.tree-ssa-forwprop.c+=-O0
-COPTS.tree-ssa-loop-ivopts.c+=-O0
-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
-COPTS.tree-ssa-uninit.c+=-O0
-COPTS.tree-ssa.c+=-O0
-COPTS.tree-switch-conversion.c+=-O0
-COPTS.tree-vect-data-refs.c+=-O0
-COPTS.tree-vect-loop-manip.c+=-O0
-COPTS.tree-vect-loop.c+=-O0
-COPTS.tree-vect-patterns.c+=-O0
-COPTS.tree-vect-stmts.c+=-O0
-COPTS.tree-vrp.c+=-O0
-COPTS.tree.c+=-O0
-COPTS.ubsan.c+=-O0
-COPTS.varasm.c+=-O0
-COPTS.vr-values.c+=-O0
-COPTS.web.c+=-O0
-COPTS.wide-int-range.cc+=-O0
-COPTS.wide-int.cc+=-O0
+#COPTS.builtins.c+=-O0
+# COPTS.calls.c+=-O0
+# COPTS.convert.c+=-O0
+# COPTS.data-streamer-out.c+=-O0
+COPTS.dse.c+=-O1	# XXX port-vax/51967
+# COPTS.dwarf2out.c+=-O0
+#COPTS.expmed.c+=-O0
+#COPTS.expr.c+=-O0 -Wno-error=tautological-compare
+COPTS.expmed.c+=-Wno-error=tautological-compare
+COPTS.expr.c+=-Wno-error=tautological-compare
+# COPTS.fixed-value.c+=-O0
+# COPTS.fold-const.c+=-O0
+# COPTS.generic-match.c+=-O0
+# COPTS.gimple-fold.c+=-O0
+# COPTS.gimple-match.c+=-O0
+# COPTS.gimple-ssa-strength-reduction.c+=-O0
+# COPTS.gimple-ssa-warn-restrict.c+=-O0
+# COPTS.gimple.c+=-O0
+# COPTS.internal-fn.c+=-O0
+# COPTS.lto-streamer-out.c+=-O0
+# COPTS.omp-low.c+=-O0
+# COPTS.predict.c+=-O0
+# COPTS.range-op.cc+=-O0
+# COPTS.recog.c+=-O0
+# COPTS.sanopt.c+=-O0
+# COPTS.stmt.c+=-O0
+# COPTS.stor-layout.c+=-O0
+# COPTS.targhooks.c+=-O0
+# COPTS.tree-affine.c+=-O0
+# COPTS.tree-cfg.c+=-O0
+# COPTS.tree-data-ref.c+=-O0
+# COPTS.tree-eh.c+=-O0
+# COPTS.tree-if-conv.c+=-O0
+# COPTS.tree-object-size.c+=-O0
+# COPTS.tree-parloops.c+=-O0
+# COPTS.tree-predcom.c+=-O0
+# COPTS.tree-pretty-print.c+=-O0
+# COPTS.tree-ssa-alias.c+=-O0
+# COPTS.tree-ssa-ccp.c+=-O0
+# COPTS.tree-ssa-forwprop.c+=-O0
+# COPTS.tree-ssa-loop-ivopts.c+=-O0
+# 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
+# COPTS.tree-ssa-uninit.c+=-O0
+# COPTS.tree-ssa.c+=-O0
+# COPTS.tree-switch-conversion.c+=-O0
+# COPTS.tree-vect-data-refs.c+=-O0
+# COPTS.tree-vect-loop-manip.c+=-O0
+# COPTS.tree-vect-loop.

CVS commit: src/external/gpl3/gcc/usr.bin

2024-09-29 Thread Kalvis Duckmanton
Module Name:src
Committed By:   kalvisd
Date:   Sun Sep 29 16:02:32 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
gcc: vax: re-enable optimisation for some source files

OK rin@


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.20 -r1.21 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.23 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.24
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.23	Sat Aug 17 11:27:03 2024
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Sun Sep 29 16:02:32 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.23 2024/08/17 11:27:03 rin Exp $
+#	$NetBSD: Makefile,v 1.24 2024/09/29 16:02:32 kalvisd Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:S,known-headers.o,known-headers.cc,:S,c-spellcheck.o,c-spellcheck.cc,:Nlibcpp.a:.o=.cc}
@@ -50,12 +50,12 @@ BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/confi
 .if ${MACHINE_CPU} == "vax" && 0
 COPTS.c-decl.c+=-O0
 COPTS.c-typeck.c+=-O0
-COPTS.c-array-notation.c+=-O0
+#COPTS.c-array-notation.c+=-O0
 COPTS.c-common.c+=-O0
 COPTS.c-ada-spec.c+=-O0
-COPTS.cilk.c+=-O0
-COPTS.c-ubsan.c+=-O0
-COPTS.cc1-checksum.c+=-O0
+#COPTS.cilk.c+=-O0
+#COPTS.c-ubsan.c+=-O0
+#COPTS.cc1-checksum.c+=-O0
 .endif
 
 .if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.20 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.21
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.20	Sun Jun 30 16:15:03 2024
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Sun Sep 29 16:02:32 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.20 2024/06/30 16:15:03 christos Exp $
+#	$NetBSD: Makefile,v 1.21 2024/09/29 16:02:32 kalvisd Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -49,12 +49,12 @@ COPTS.objc-next-runtime-abi-01.cc+=	-Wno
 .if ${MACHINE_ARCH} == "vax" && 0
 COPTS.c-decl.c+=-O0
 COPTS.c-typeck.c+=-O0
-COPTS.c-array-notation.c+=-O0
+#COPTS.c-array-notation.c+=-O0
 COPTS.c-common.c+=-O0
 COPTS.c-ada-spec.c+=-O0
-COPTS.cilk.c+=-O0
-COPTS.c-ubsan.c+=-O0
-COPTS.cc1obj-checksum.c+=-O0
+#COPTS.cilk.c+=-O0
+#COPTS.c-ubsan.c+=-O0
+#COPTS.cc1obj-checksum.c+=-O0
 .endif
 
 .if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"

Index: src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.18 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.19
--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.18	Tue Aug  1 05:57:54 2023
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile	Sun Sep 29 16:02:32 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.18 2023/08/01 05:57:54 mrg Exp $
+#	$NetBSD: Makefile,v 1.19 2024/09/29 16:02:32 kalvisd Exp $
 
 PROG=		cc1plus
 SRCS=		${G_CXX_OBJS:S,c-family/,,:S,cp/,,:S,constraint.o,constraint.cc,:S,logic.o,logic.cc,:S,known-headers.o,known-headers.cc,:S,c-spellcheck.o,c-spellcheck.cc,:S,coroutines.o,coroutines.cc,:Nlibcpp.a:.o=.cc}
@@ -37,18 +37,18 @@ CFLAGS+=	-Wno-error=stack-protector
 .if ${MACHINE_ARCH} == "vax" && 0
 COPTS.call.c+=-O0
 COPTS.decl.c+=-O0
-COPTS.typeck2.c+=-O0
-COPTS.class.c+=-O0
+#COPTS.typeck2.c+=-O0
+#COPTS.class.c+=-O0
 COPTS.typeck.c+=-O0
 COPTS.init.c+=-O0
 COPTS.semantics.c+=-O0
-COPTS.mangle.c+=-O0
+#COPTS.mangle.c+=-O0
 COPTS.constexpr.c+=-O0
 COPTS.c-common.c+=-O0
 COPTS.c-ada-spec.c+=-O0
-COPTS.cilk.c+=-O0
-COPTS.c-ubsan.c+=-O0
-COPTS.cc1plus-checksum.c+=-O0
+#COPTS.cilk.c+=-O0
+#COPTS.c-ubsan.c+=-O0
+#COPTS.cc1plus-checksum.c+=-O0
 .endif
 
 .if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"



CVS commit: src/external/gpl3/gcc/usr.bin

2024-09-29 Thread Kalvis Duckmanton
Module Name:src
Committed By:   kalvisd
Date:   Sun Sep 29 16:02:32 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile

Log Message:
gcc: vax: re-enable optimisation for some source files

OK rin@


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.20 -r1.21 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2024-09-29 Thread Kalvis Duckmanton
Module Name:src
Committed By:   kalvisd
Date:   Sun Sep 29 15:56:42 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
gcc: vax: Sprinkle NB_FIX_VAX_BACKEND for vax to enable MI fixes

OK rin@


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.74 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.75
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.74	Tue Jun 18 04:07:18 2024
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sun Sep 29 15:56:42 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.74 2024/06/18 04:07:18 mrg Exp $
+#	$NetBSD: Makefile,v 1.75 2024/09/29 15:56:42 kalvisd Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -604,3 +604,7 @@ CFLAGS+= -fno-exceptions -fno-rtti -fasy
 .if ${MACHINE_CPU} == "aarch64"
 .PATH: ${DIST}/gcc/config/arm
 .endif
+
+.if ${MACHINE} == "vax"
+CPPFLAGS+=	-DNB_FIX_VAX_BACKEND
+.endif



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2024-09-29 Thread Kalvis Duckmanton
Module Name:src
Committed By:   kalvisd
Date:   Sun Sep 29 15:56:42 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
gcc: vax: Sprinkle NB_FIX_VAX_BACKEND for vax to enable MI fixes

OK rin@


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/cc1

2024-08-17 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Aug 17 11:27:03 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile

Log Message:
gcc: cc1/Makefile: Fix previous; stop clobbering COPTS.foo

for m68k -fno-jump-tables hack in ../Makefile.inc.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/external/gpl3/gcc/usr.bin/cc1/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/cc1

2024-08-17 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Aug 17 11:27:03 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile

Log Message:
gcc: cc1/Makefile: Fix previous; stop clobbering COPTS.foo

for m68k -fno-jump-tables hack in ../Makefile.inc.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/external/gpl3/gcc/usr.bin/cc1/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.22 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.23
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.22	Sun Jun 30 16:15:03 2024
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Sat Aug 17 11:27:03 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.22 2024/06/30 16:15:03 christos Exp $
+#	$NetBSD: Makefile,v 1.23 2024/08/17 11:27:03 rin Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:S,known-headers.o,known-headers.cc,:S,c-spellcheck.o,c-spellcheck.cc,:Nlibcpp.a:.o=.cc}
@@ -26,20 +26,20 @@ CHECKSUM_OBJS=	${BACKENDOBJ}/libbackend.
 # XXX check this out, probably need it for plugins?
 # LDFLAGS+=	-rdynamic
 
-COPTS.c-ada-spec.cc=	-Wno-error=stack-protector
-COPTS.c-attribs.cc=	-Wno-error=stack-protector
-COPTS.c-aux-info.cc=	-Wno-error=stack-protector
-COPTS.c-common.cc=	-Wno-error=stack-protector
-COPTS.c-cppbuiltin.cc=	-Wno-error=stack-protector
-COPTS.c-decl.cc=	-Wno-error=stack-protector
-COPTS.c-format.cc=	-Wno-error=stack-protector
-COPTS.c-lex.cc=		-Wno-error=stack-protector
-COPTS.c-omp.cc=	-Wno-error=stack-protector
-COPTS.c-opts.cc=	-Wno-error=stack-protector
-COPTS.c-ppoutput.cc=	-Wno-error=stack-protector
-COPTS.c-pragma.cc=	-Wno-error=stack-protector
-COPTS.c-pretty-print.cc=	-Wno-error=stack-protector
-COPTS.c-typeck.cc=	-Wno-error=stack-protector
+COPTS.c-ada-spec.cc+=		-Wno-error=stack-protector
+COPTS.c-attribs.cc+=		-Wno-error=stack-protector
+COPTS.c-aux-info.cc+=		-Wno-error=stack-protector
+COPTS.c-common.cc+=		-Wno-error=stack-protector
+COPTS.c-cppbuiltin.cc+=		-Wno-error=stack-protector
+COPTS.c-decl.cc+=		-Wno-error=stack-protector
+COPTS.c-format.cc+=		-Wno-error=stack-protector
+COPTS.c-lex.cc+=		-Wno-error=stack-protector
+COPTS.c-omp.cc+=		-Wno-error=stack-protector
+COPTS.c-opts.cc+=		-Wno-error=stack-protector
+COPTS.c-ppoutput.cc+=		-Wno-error=stack-protector
+COPTS.c-pragma.cc+=		-Wno-error=stack-protector
+COPTS.c-pretty-print.cc+=	-Wno-error=stack-protector
+COPTS.c-typeck.cc+=		-Wno-error=stack-protector
 
 CPPFLAGS.default-c.cc+=	-I${BACKENDOBJ}
 



CVS commit: src/external/gpl3/gcc/usr.bin

2024-08-11 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Aug 11 08:13:14 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile

Log Message:
fix a logic error in the previous and most of the builds.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/gcc/usr.bin/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile
diff -u src/external/gpl3/gcc/usr.bin/Makefile:1.17 src/external/gpl3/gcc/usr.bin/Makefile:1.18
--- src/external/gpl3/gcc/usr.bin/Makefile:1.17	Sat Aug 10 23:49:12 2024
+++ src/external/gpl3/gcc/usr.bin/Makefile	Sun Aug 11 08:13:14 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2024/08/10 23:49:12 mrg Exp $
+#	$NetBSD: Makefile,v 1.18 2024/08/11 08:13:14 mrg Exp $
 
 NOOBJ=# defined
 
@@ -8,7 +8,7 @@ GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5
 
 .if ${MKGCC} != "no" && exists(${.CURDIR}/gcc/arch/${GCC_MACHINE_ARCH}/defs.mk)
 
-.if defined(NOGCCISL)
+.if !defined(NOGCCISL)
 ISL_SUBDIR=	../../../mit/isl/lib/libisl
 .else
 ISL_SUBDIR=



CVS commit: src/external/gpl3/gcc/usr.bin

2024-08-11 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Aug 11 08:13:14 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile

Log Message:
fix a logic error in the previous and most of the builds.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/gcc/usr.bin/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/alpha

2024-08-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Aug 10 23:49:29 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha: auto-host.h

Log Message:
regen with no isl enabled.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 \
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/auto-host.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/auto-host.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/auto-host.h:1.21 src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/auto-host.h:1.22
--- src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/auto-host.h:1.21	Sun Jun 30 09:36:51 2024
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/auto-host.h	Sat Aug 10 23:49:29 2024
@@ -2215,7 +2215,7 @@
 
 /* Define if isl is in use. */
 #ifndef USED_FOR_TARGET
-#define HAVE_isl 1
+/* #undef HAVE_isl */
 #endif
 
 



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/alpha

2024-08-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Aug 10 23:49:29 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha: auto-host.h

Log Message:
regen with no isl enabled.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 \
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/auto-host.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2024-07-11 Thread Christoph Badura
Module Name:src
Committed By:   bad
Date:   Thu Jul 11 13:00:38 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
external/gpl3/gcc/usr.bin/host-libcpp/Makefile: force std=c++11

GCC >= 11 now requires C++11 to build.  In particular libcpp requires C++11.
c.f tools/gcc/Makefile r1.113.

Noticed by compiling with clang as host compiler on macOS >= 12.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.6 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.6	Fri May 19 10:42:34 2023
+++ src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile	Thu Jul 11 13:00:37 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2023/05/19 10:42:34 lukem Exp $
+#	$NetBSD: Makefile,v 1.7 2024/07/11 13:00:37 bad Exp $
 
 BUILD_ENV= \
 		AR=${HOST_AR:Q} \
@@ -19,6 +19,9 @@ BUILD_ENV= \
 		RANLIB=${HOST_RANLIB:Q} \
 		YACC=${YACC:Q}
 
+# libcpp needs a C++11 compiler
+HOST_CXXFLAGS+= -std=c++11
+
 GMAKE_J_ARGS?=	${MAKEFLAGS:[*]:M*-j*:C/(^|.* )(-j ?[0-9][0-9]*).*/\2/W}
 BUILD_COMMAND=	/usr/bin/env -i ${BUILD_ENV} ${TOOL_GMAKE} ${GMAKE_J_ARGS} -e
 



CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2024-07-11 Thread Christoph Badura
Module Name:src
Committed By:   bad
Date:   Thu Jul 11 13:00:38 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
external/gpl3/gcc/usr.bin/host-libcpp/Makefile: force std=c++11

GCC >= 11 now requires C++11 to build.  In particular libcpp requires C++11.
c.f tools/gcc/Makefile r1.113.

Noticed by compiling with clang as host compiler on macOS >= 12.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2024-06-17 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 18 04:07:18 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/host-libiberty: Makefile
src/external/gpl3/gcc/usr.bin/include: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin: rs6000-inc.mk

Log Message:
fix the rs6000 vs GCC 12 includes problems.

we need a host-tool to generate one of the installed include files,
so restructure the includes build to descend into "host-libiberty"
with a "includes" target, and make "includes" target here depend
upon libiberty.a, so it will be built before "include" subdir tries
to use it to build rs6000-gen-builtins.

put the generator code for rs6000-gen-builtins into "rs6000-inc.mk".

no longer exclude rs6000-vecdefines.h in "include" subdir, and do
not try to install it from "backend" subdir anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/rs6000-inc.mk
cvs rdiff -u -r1.73 -r1.74 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile
diff -u src/external/gpl3/gcc/usr.bin/Makefile:1.15 src/external/gpl3/gcc/usr.bin/Makefile:1.16
--- src/external/gpl3/gcc/usr.bin/Makefile:1.15	Sun Feb 25 00:28:02 2024
+++ src/external/gpl3/gcc/usr.bin/Makefile	Tue Jun 18 04:07:18 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2024/02/25 00:28:02 mrg Exp $
+#	$NetBSD: Makefile,v 1.16 2024/06/18 04:07:18 mrg Exp $
 
 NOOBJ=# defined
 
@@ -8,11 +8,12 @@ GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5
 
 .if ${MKGCC} != "no" && exists(${.CURDIR}/gcc/arch/${GCC_MACHINE_ARCH}/defs.mk)
 
-.if ${MKGCCCMDS} != "no" || make(includes)
+# host-libiberty is used by include on rs6000.
+SUBDIR+=	host-libiberty .WAIT
 
 # We keep libcpp here since it depends upon frontend.
-SUBDIR+=	host-libiberty .WAIT \
-		host-libcpp .WAIT \
+.if ${MKGCCCMDS} != "no" || make(includes)
+SUBDIR+=	host-libcpp .WAIT \
 		../../../mit/isl/lib/libisl \
 		backend .WAIT \
 		frontend .WAIT \
@@ -24,6 +25,10 @@ SUBDIR+=	host-libiberty .WAIT \
 
 SUBDIR+=	include
 
+# Make sure that we do host-liberty before include, rs6000 has a generator
+# for an installed a header and the generator needs host-libiberty.
+include-include: include-host-libiberty
+
 .include 
 
 .else

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.73 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.74
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.73	Tue Jun 11 03:06:48 2024
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Tue Jun 18 04:07:18 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.73 2024/06/11 03:06:48 mrg Exp $
+#	$NetBSD: Makefile,v 1.74 2024/06/18 04:07:18 mrg Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -35,12 +35,6 @@ HOST_CXXFLAGS+=	-std=gnu++11
 
 HOST_LIBIBERTYOBJ!=	cd ${.CURDIR}/../host-libiberty && ${PRINTOBJDIR}
 
-# XXX This is generated here, not in ../include.
-.if ${GCC_MACHINE_ARCH} == "powerpc" || ${GCC_MACHINE_ARCH} == "powerpc64"
-INCS+=	rs6000-vecdefines.h
-INCSDIR=${GCC_INCSDIR}
-.endif
-
 .include 
 
 # Force using C++ for this
@@ -439,24 +433,7 @@ CLEANFILES+=	aarch-builtin-iterators.h
 
 .if ${GCC_MACHINE_ARCH} == "powerpc" || ${GCC_MACHINE_ARCH} == "powerpc64" # {
 
-rs6000-gen-builtins.lo: ${HH} ${DIST}/gcc/config/rs6000/rs6000-gen-builtins.cc
-rbtree.lo: ${HH} ${DIST}/gcc/config/rs6000/rbtree.cc
-rs6000-gen-builtins: rs6000-gen-builtins.lo rbtree.lo
-	${_MKTARGET_LINK}
-	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
-rs6000-builtins.cc: rs6000-gen-builtins \
-		${DIST}/gcc/config/rs6000/rs6000-builtins.def \
-		${DIST}/gcc/config/rs6000/rs6000-overload.def
-	${_MKTARGET_CREATE}
-	./rs6000-gen-builtins \
-		${DIST}/gcc/config/rs6000/rs6000-builtins.def \
-		${DIST}/gcc/config/rs6000/rs6000-overload.def \
-rs6000-builtins.h rs6000-builtins.cc rs6000-vecdefines.h
-rs6000-builtins.h rs6000-vecdefines.h: rs6000-builtins.cc
-
-CLEANFILES+=	rs6000-builtins.h rs6000-builtins.cc rs6000-vecdefines.h
-CLEANFILES+=	rs6000-gen-builtins rbtree.lo rs6000-gen-builtins.lo
-
+.include "../rs6000-inc.mk"
 gtype-desc.h: rs6000-builtins.h
 
 .endif # }

Index: src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile
diff -u src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile:1.4 src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile:1.4	Sat Sep 18 01:47:08 2021
+++ src/external/gpl3/gcc/usr.bin/host-libiber

CVS commit: src/external/gpl3/gcc/usr.bin

2024-06-17 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 18 04:07:18 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/host-libiberty: Makefile
src/external/gpl3/gcc/usr.bin/include: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin: rs6000-inc.mk

Log Message:
fix the rs6000 vs GCC 12 includes problems.

we need a host-tool to generate one of the installed include files,
so restructure the includes build to descend into "host-libiberty"
with a "includes" target, and make "includes" target here depend
upon libiberty.a, so it will be built before "include" subdir tries
to use it to build rs6000-gen-builtins.

put the generator code for rs6000-gen-builtins into "rs6000-inc.mk".

no longer exclude rs6000-vecdefines.h in "include" subdir, and do
not try to install it from "backend" subdir anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/rs6000-inc.mk
cvs rdiff -u -r1.73 -r1.74 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2024-06-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 11 03:06:48 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
install rs6000-vecdefines.h from here, where it is generated.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2024-06-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 11 03:06:48 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
install rs6000-vecdefines.h from here, where it is generated.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.72 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.73
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.72	Thu Jun  6 05:41:28 2024
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Tue Jun 11 03:06:48 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.72 2024/06/06 05:41:28 mrg Exp $
+#	$NetBSD: Makefile,v 1.73 2024/06/11 03:06:48 mrg Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -35,6 +35,12 @@ HOST_CXXFLAGS+=	-std=gnu++11
 
 HOST_LIBIBERTYOBJ!=	cd ${.CURDIR}/../host-libiberty && ${PRINTOBJDIR}
 
+# XXX This is generated here, not in ../include.
+.if ${GCC_MACHINE_ARCH} == "powerpc" || ${GCC_MACHINE_ARCH} == "powerpc64"
+INCS+=	rs6000-vecdefines.h
+INCSDIR=${GCC_INCSDIR}
+.endif
+
 .include 
 
 # Force using C++ for this



CVS commit: src/external/gpl3/gcc/usr.bin

2024-06-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jun  6 05:41:28 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/include: Makefile

Log Message:
support powerpc with gcc 12.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2024-06-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jun  6 05:41:28 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/include: Makefile

Log Message:
support powerpc with gcc 12.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/include/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.71 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.72
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.71	Sun Feb 25 00:28:02 2024
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Thu Jun  6 05:41:28 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.71 2024/02/25 00:28:02 mrg Exp $
+#	$NetBSD: Makefile,v 1.72 2024/06/06 05:41:28 mrg Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -52,6 +52,7 @@ CPPFLAGS.cppbuiltin.cc+=	-DBASEVER="\"${
 CLEANFILES+=	gengenrtl genrtl.h \
 		gengtype gtyp-gen.h gtype-brig.h gtype-desc.cc gtype-desc.h \
 		gtype-c.h gtype-cp.h gtype-f.h gtype-objc.h \
+		gtype-d.h gtype-fortran.h \
 		genflags genflags.h \
 		gencheck tree-check.h \
 		insn-preds.cc genpreds tm-preds.h tm_p.h cs-tm_p.h \
@@ -65,6 +66,8 @@ CLEANFILES+=	gengenrtl genrtl.h \
 # XXX
 #COPTS.varasm.cc=		-Wno-error
 
+.SUFFIXES: .lo .h .c .cc
+
 # XXX Override the normal rule to use HOST_COMPILE.cc
 .c.lo:
 	${_MKTARGET_COMPILE}
@@ -428,6 +431,31 @@ aarch64-builtin-iterators.h: ${DIST}/gcc
 
 CLEANFILES+=	aarch-builtin-iterators.h
 
+.if ${GCC_MACHINE_ARCH} == "powerpc" || ${GCC_MACHINE_ARCH} == "powerpc64" # {
+
+rs6000-gen-builtins.lo: ${HH} ${DIST}/gcc/config/rs6000/rs6000-gen-builtins.cc
+rbtree.lo: ${HH} ${DIST}/gcc/config/rs6000/rbtree.cc
+rs6000-gen-builtins: rs6000-gen-builtins.lo rbtree.lo
+	${_MKTARGET_LINK}
+	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
+rs6000-builtins.cc: rs6000-gen-builtins \
+		${DIST}/gcc/config/rs6000/rs6000-builtins.def \
+		${DIST}/gcc/config/rs6000/rs6000-overload.def
+	${_MKTARGET_CREATE}
+	./rs6000-gen-builtins \
+		${DIST}/gcc/config/rs6000/rs6000-builtins.def \
+		${DIST}/gcc/config/rs6000/rs6000-overload.def \
+rs6000-builtins.h rs6000-builtins.cc rs6000-vecdefines.h
+rs6000-builtins.h rs6000-vecdefines.h: rs6000-builtins.cc
+
+CLEANFILES+=	rs6000-builtins.h rs6000-builtins.cc rs6000-vecdefines.h
+CLEANFILES+=	rs6000-gen-builtins rbtree.lo rs6000-gen-builtins.lo
+
+gtype-desc.h: rs6000-builtins.h
+
+.endif # }
+
+
 #
 # Required hard-coded dependancies.
 #

Index: src/external/gpl3/gcc/usr.bin/include/Makefile
diff -u src/external/gpl3/gcc/usr.bin/include/Makefile:1.14 src/external/gpl3/gcc/usr.bin/include/Makefile:1.15
--- src/external/gpl3/gcc/usr.bin/include/Makefile:1.14	Tue Aug  1 05:57:55 2023
+++ src/external/gpl3/gcc/usr.bin/include/Makefile	Thu Jun  6 05:41:28 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2023/08/01 05:57:55 mrg Exp $
+#	$NetBSD: Makefile,v 1.15 2024/06/06 05:41:28 mrg Exp $
 
 .include 
 
@@ -8,7 +8,9 @@ SUBDIR=	sanitizer
 .include "${.CURDIR}/arch/${GCC_MACHINE_ARCH}.mk"
 .endif
 
-INCS= ${G_EXTRA_HEADERS:T}
+# XXX rs6000-vecdefines.h is generated in usr.bin/backend.  we can
+# try to install this from there later perhaps?
+INCS= ${G_EXTRA_HEADERS:T:Nrs6000-vecdefines.h}
 
 # Part of the standard headers, the rest of which we replace.
 INCS+=	stdatomic.h



CVS commit: src/external/gpl3/gcc/usr.bin

2024-02-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 25 00:28:02 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile Makefile.backend
src/external/gpl3/gcc/usr.bin/backend: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin: Makefile.isl

Log Message:
build and link libisl.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/Makefile.backend
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/Makefile.isl
cvs rdiff -u -r1.70 -r1.71 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile
diff -u src/external/gpl3/gcc/usr.bin/Makefile:1.14 src/external/gpl3/gcc/usr.bin/Makefile:1.15
--- src/external/gpl3/gcc/usr.bin/Makefile:1.14	Tue Aug  1 05:57:53 2023
+++ src/external/gpl3/gcc/usr.bin/Makefile	Sun Feb 25 00:28:02 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2023/08/01 05:57:53 mrg Exp $
+#	$NetBSD: Makefile,v 1.15 2024/02/25 00:28:02 mrg Exp $
 
 NOOBJ=# defined
 
@@ -13,6 +13,7 @@ GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5
 # We keep libcpp here since it depends upon frontend.
 SUBDIR+=	host-libiberty .WAIT \
 		host-libcpp .WAIT \
+		../../../mit/isl/lib/libisl \
 		backend .WAIT \
 		frontend .WAIT \
 		common common-target .WAIT \

Index: src/external/gpl3/gcc/usr.bin/Makefile.backend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.backend:1.10 src/external/gpl3/gcc/usr.bin/Makefile.backend:1.11
--- src/external/gpl3/gcc/usr.bin/Makefile.backend:1.10	Fri Apr 23 01:56:14 2021
+++ src/external/gpl3/gcc/usr.bin/Makefile.backend	Sun Feb 25 00:28:02 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.backend,v 1.10 2021/04/23 01:56:14 mrg Exp $
+#	$NetBSD: Makefile.backend,v 1.11 2024/02/25 00:28:02 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_=1
@@ -21,6 +21,7 @@ LDADD+=			${BACKENDOBJ}/libbackend.a
 .include "../Makefile.common"
 .include "../Makefile.libiberty"
 .include "../Makefile.prog"
+.include "../Makefile.isl"
 
 # Find our (local) libraries
 LIBGMPDIR!=	cd ${GMPDISTDIR}/lib/libgmp && ${PRINTOBJDIR}

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.70 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.71
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.70	Mon Aug 14 02:21:22 2023
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sun Feb 25 00:28:02 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.70 2023/08/14 02:21:22 rin Exp $
+#	$NetBSD: Makefile,v 1.71 2024/02/25 00:28:02 mrg Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -188,6 +188,7 @@ genmatch: genmatch.lo build-errors.lo bu
 CLEANFILES+=	genmatch gimple-match.cc generic-match.cc
 
 .include "${.PARSEDIR}/../../Makefile.version_h"
+.include "${.PARSEDIR}/../Makefile.isl"
 
 tm_p.h: Makefile tm-preds.h
 	${_MKTARGET_CREATE}

Added files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.isl
diff -u /dev/null src/external/gpl3/gcc/usr.bin/Makefile.isl:1.1
--- /dev/null	Sun Feb 25 00:28:03 2024
+++ src/external/gpl3/gcc/usr.bin/Makefile.isl	Sun Feb 25 00:28:02 2024
@@ -0,0 +1,15 @@
+#	$NetBSD: Makefile.isl,v 1.1 2024/02/25 00:28:02 mrg Exp $
+
+.ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_LIBISL_
+_EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_LIBISL_=1
+
+.include 
+
+LIBISL=		${.CURDIR}/../../../../mit/isl
+LIBISLOBJ!=	cd ${LIBISL}/lib/libisl && ${PRINTOBJDIR}
+DPADD+=		${LIBISLOBJ}/libisl.a
+LDADD+=		${LIBISLOBJ}/libisl.a
+
+CFLAGS+=	-I${LIBISL}/dist/include -I${LIBISL}/include
+
+.endif



CVS commit: src/external/gpl3/gcc/usr.bin

2024-02-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 25 00:28:02 UTC 2024

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile Makefile.backend
src/external/gpl3/gcc/usr.bin/backend: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin: Makefile.isl

Log Message:
build and link libisl.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/Makefile.backend
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/Makefile.isl
cvs rdiff -u -r1.70 -r1.71 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2023-08-13 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 14 02:21:22 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
gcc: Host tool gengtype requires version.h

Should fix random failure for parallel build.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.69 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.70
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.69	Tue Aug  1 05:57:54 2023
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Aug 14 02:21:22 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.69 2023/08/01 05:57:54 mrg Exp $
+#	$NetBSD: Makefile,v 1.70 2023/08/14 02:21:22 rin Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -119,7 +119,7 @@ gtype-desc.h: gengtype gtyp-input.list.t
 	# GCC 4.8 installs gtype-state and gengtype as a plugin
 
 # gengtype is the real need for options.h
-gengtype.lo gengtype-lex.lo gengtype-parse.lo gengtype-state.lo: ${HH} gtyp-gen.h config.h options.h
+gengtype.lo gengtype-lex.lo gengtype-parse.lo gengtype-state.lo: ${HH} gtyp-gen.h config.h options.h version.h
 gengtype: gengtype.lo gengtype-lex.lo gengtype-parse.lo gengtype-state.lo build-errors.lo
 	${_MKTARGET_LINK}
 	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY}



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2023-08-13 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 14 02:21:22 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
gcc: Host tool gengtype requires version.h

Should fix random failure for parallel build.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/common-target

2023-08-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Aug 11 06:52:45 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
re-enable an sh3 warning that is still needed for GCC 12.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc/usr.bin/common-target/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/common-target/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.14 src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.15
--- src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.14	Tue Aug  1 05:57:54 2023
+++ src/external/gpl3/gcc/usr.bin/common-target/Makefile	Fri Aug 11 06:52:45 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2023/08/01 05:57:54 mrg Exp $
+#	$NetBSD: Makefile,v 1.15 2023/08/11 06:52:45 mrg Exp $
 
 HOSTPROG_CXX=	1
 LIBISPRIVATE=	yes
@@ -24,7 +24,7 @@ CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} 
 #COPTS.rs6000-common.cc+=	-Wno-stack-protector
 #COPTS.arm-common.cc+=	-Wno-stack-protector
 .if ${MACHINE_CPU} == "sh3"
-#COPTS.opts.cc+=		${CC_WNO_FORMAT_TRUNCATION}
+COPTS.opts.cc+=		${CC_WNO_FORMAT_TRUNCATION}
 .endif
 
 GENPROG_ERROR_DEPENDS=errors.lo



CVS commit: src/external/gpl3/gcc/usr.bin/common-target

2023-08-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Aug 11 06:52:45 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
re-enable an sh3 warning that is still needed for GCC 12.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc/usr.bin/common-target/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2023-08-04 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Aug  4 17:17:06 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
gcc/usr.bin: Sprinkle -fno-jump-tables more for m68k and friends

Now, gcc builds for m68k native.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.38 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.39
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.38	Thu Aug  3 01:36:55 2023
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Fri Aug  4 17:17:06 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.38 2023/08/03 01:36:55 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.39 2023/08/04 17:17:06 rin Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -88,6 +88,8 @@ CFLAGS+=	-Wno-format-diag
 .if ${GCC_MACHINE_ARCH} == "m68000" || ${GCC_MACHINE_ARCH} == "m68k" || \
 	${GCC_MACHINE_ARCH} == "coldfire"
 COPTS.c-omp.cc+=-fno-jump-tables
+COPTS.generic-match.cc+=-fno-jump-tables
+COPTS.gimple-match.cc+=-fno-jump-tables
 .endif
 
 .endif



CVS commit: src/external/gpl3/gcc/usr.bin

2023-08-04 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Aug  4 17:17:06 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
gcc/usr.bin: Sprinkle -fno-jump-tables more for m68k and friends

Now, gcc builds for m68k native.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2023-07-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul 12 07:35:15 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
don't force gnu++98 here.

fixes build issues seen with GCC 10.5, as well as hopefully ones reported
by Andrew Cagney on current-users.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.35 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.36
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.35	Wed Feb  1 19:38:20 2023
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Wed Jul 12 07:35:15 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.35 2023/02/01 19:38:20 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.36 2023/07/12 07:35:15 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -41,8 +41,6 @@ FRONTENDOBJ!=		cd ${.CURDIR}/../frontend
 NBCOMPATLIB=   -L${TOOLDIR}/lib -lnbcompat
 .endif
 
-CXXFLAGS+=	-std=gnu++98
-
 # Reduce debugging for these extremely large objects.
 .if ${MKDEBUG:Uno} != "no"
 CXXFLAGS+=  -g1



CVS commit: src/external/gpl3/gcc/usr.bin

2023-07-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul 12 07:35:15 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
don't force gnu++98 here.

fixes build issues seen with GCC 10.5, as well as hopefully ones reported
by Andrew Cagney on current-users.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2023-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  1 19:38:21 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
for MKDEBUG builds, set CXXFLAGS += -g1 for all GCC binaries.

reduces the size of a non-x11 i386 build by 38% - 992MiB -> 612MiB,
and likely similar reductions elsewhere.  it also reduced the build
time by about 3%, perhaps from less IO to write and less data to
compress.  for amd64, the size was reduced 1137MiB -> 741MiB, about
35%, though i don't have timing guesses here.

note that these are sizes of .gz not .xz (i enable pigz for my
builds), and this probably has a much greater benefit for xz builds
as the sets creation phase is much slower there.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.34 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.35
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.34	Wed Dec 15 13:28:29 2021
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Wed Feb  1 19:38:20 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.34 2021/12/15 13:28:29 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.35 2023/02/01 19:38:20 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -43,6 +43,11 @@ NBCOMPATLIB=   -L${TOOLDIR}/lib -lnbcomp
 
 CXXFLAGS+=	-std=gnu++98
 
+# Reduce debugging for these extremely large objects.
+.if ${MKDEBUG:Uno} != "no"
+CXXFLAGS+=  -g1
+.endif
+
 GNUHOSTDIST=	${DIST}
 BUILD_PREFIX=	${C_BUILD_PREFIX}
 



CVS commit: src/external/gpl3/gcc/usr.bin

2023-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  1 19:38:21 UTC 2023

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
for MKDEBUG builds, set CXXFLAGS += -g1 for all GCC binaries.

reduces the size of a non-x11 i386 build by 38% - 992MiB -> 612MiB,
and likely similar reductions elsewhere.  it also reduced the build
time by about 3%, perhaps from less IO to write and less data to
compress.  for amd64, the size was reduced 1137MiB -> 741MiB, about
35%, though i don't have timing guesses here.

note that these are sizes of .gz not .xz (i enable pigz for my
builds), and this probably has a much greater benefit for xz builds
as the sets creation phase is much slower there.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin

2021-12-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Dec 15 13:28:29 UTC 2021

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
no lint (c++)


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.33 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.34
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.33	Sun Apr 11 20:05:56 2021
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Wed Dec 15 08:28:29 2021
@@ -1,8 +1,9 @@
-#	$NetBSD: Makefile.inc,v 1.33 2021/04/12 00:05:56 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.34 2021/12/15 13:28:29 christos Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
 
+NOLINT=yes
 NOCTF=	# defined
 .include 
 



CVS commit: src/external/gpl3/gcc/usr.bin

2021-12-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Dec 15 13:28:29 UTC 2021

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
no lint (c++)


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/external/gpl3/gcc/usr.bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src/external/gpl3/gcc/usr.bin/cc1plus

2021-04-27 Thread Christos Zoulas
The condition is reversed. I will fix.

christos

> On Apr 26, 2021, at 10:31 PM, Rin Okuyama  wrote:
> 
> Hi,
> 
> On 2021/04/26 7:25, Christos Zoulas wrote:
>> --- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.15  Sun Apr 11 
>> 20:05:56 2021
>> +++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile   Sun Apr 25 18:25:55 2021
> (snip)
>> -.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
>> +.if ${MACHINE_MIPS64}
>>  COPTS.c-common.c+=-O3
>>  .endif
> 
> This was hack for mips32:
> 
> http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/usr.bin/cc1plus/Makefile#rev1.12
> 
> Does mips64 require it? Also for 
> external/gpl3/gcc/usr.bin/cc1objplus/Makefile.
> 
> Thanks,
> rin



signature.asc
Description: Message signed with OpenPGP


Re: CVS commit: src/external/gpl3/gcc/usr.bin/cc1plus

2021-04-26 Thread Rin Okuyama

Hi,

On 2021/04/26 7:25, Christos Zoulas wrote:

--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.15 Sun Apr 11 20:05:56 2021
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile  Sun Apr 25 18:25:55 2021

(snip)

-.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
+.if ${MACHINE_MIPS64}
  COPTS.c-common.c+=-O3
  .endif


This was hack for mips32:

http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/usr.bin/cc1plus/Makefile#rev1.12

Does mips64 require it? Also for external/gpl3/gcc/usr.bin/cc1objplus/Makefile.

Thanks,
rin


re: CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2020-06-24 Thread matthew green
> Modified Files:
>   src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile
> 
> Log Message:
> PR bin/55411 (Akihiko HAYASHI)
> 
> Remove stray ``&&'' introduced in the previous revision, so that
> host tools are correctly passed to configure script.
> 
> No similar problem for gcc.old. No release branches are affected.

thanks!


CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2019-11-14 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Nov 14 09:27:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
duplicate a some of Makefile.gnuhost.

should fix PR#53561.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.3 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.4
--- src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.3	Mon Jun 26 17:38:10 2017
+++ src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile	Thu Nov 14 09:27:08 2019
@@ -1,14 +1,32 @@
-#	$NetBSD: Makefile,v 1.3 2017/06/26 17:38:10 joerg Exp $
+#	$NetBSD: Makefile,v 1.4 2019/11/14 09:27:08 mrg Exp $
 
-libcpp/libcpp.a:
-	[ ! -d libcpp ] && mkdir libcpp || true
-	(cd libcpp; \
-		CC=${HOST_CC:Q} CXX=${HOST_CXX:Q}  \
+BUILD_ENV= \
+		AR=${HOST_AR:Q} \
+		AWK=${TOOL_AWK:Q} \
+		CC=${HOST_CC:Q} \
 		CFLAGS=${HOST_CFLAGS:Q} \
-		MAKE=${TOOL_GMAKE:Q} \
 		CONFIG_SHELL=${HOST_SH:Q} \
+		CPPFLAGS=${HOST_CPPFLAGS:Q} \
+		CXX=${HOST_CXX:Q} \
+		CXXFLAGS=${HOST_CXXFLAGS:Q} \
+		INSTALL=${HOST_INSTALL_FILE:Q} \
+		LDFLAGS=${HOST_LDFLAGS:Q} \
+		LEX=${LEX:Q} \
+		FLEX=${LEX:Q} \
+		M4=${TOOL_M4:Q} \
+		MAKE=${TOOL_GMAKE:Q} \
+		PATH="${TOOLDIR}/bin:$$PATH" \
+		RANLIB=${HOST_RANLIB:Q} \
+		YACC=${YACC:Q}
+
+GMAKE_J_ARGS?=	${MAKEFLAGS:[*]:M*-j*:C/.*(-j ?[0-9]*).*/\1/W}
+BUILD_COMMAND=	/usr/bin/env -i ${BUILD_ENV} ${TOOL_GMAKE} ${GMAKE_J_ARGS} -e
+
+libcpp/libcpp.a:
+	[ ! -d libcpp ] && mkdir libcpp || true
+	(cd libcpp && ${BUILD_ENV} && \
 		${HOST_SH} ${DIST}/libcpp/configure -v am_cv_func_iconv=no \
-		&& CC=${HOST_CC:Q} CXX=${HOST_CXX:Q} CFLAGS=${HOST_CFLAGS:Q} ${TOOL_GMAKE})
+		&& ${BUILD_COMMAND})
 
 cleandir:
 	-rm -rf libcpp



CVS commit: src/external/gpl3/gcc/usr.bin/host-libcpp

2019-11-14 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Nov 14 09:27:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/host-libcpp: Makefile

Log Message:
duplicate a some of Makefile.gnuhost.

should fix PR#53561.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2019-10-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Oct 29 02:49:05 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
Add more -O0 files for vax, sort


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.56 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.57
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.56	Wed Oct  2 02:52:00 2019
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Oct 28 22:49:05 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.56 2019/10/02 06:52:00 mrg Exp $
+#	$NetBSD: Makefile,v 1.57 2019/10/29 02:49:05 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -534,14 +534,17 @@ COPTS.builtins.c+=-O0
 COPTS.calls.c+=-O0
 COPTS.convert.c+=-O0
 COPTS.data-streamer-out.c+=-O0
-COPTS.dwarf2out.c+=-O0
 COPTS.dse.c+=-O0	# XXX port-vax/51967
+COPTS.dwarf2out.c+=-O0
 COPTS.expmed.c+=-O0
 COPTS.expr.c+=-O0 -Wno-error=tautological-compare
 COPTS.fixed-value.c+=-O0
 COPTS.fold-const.c+=-O0
+COPTS.generic-match.c+=-O0
 COPTS.gimple-fold.c+=-O0
+COPTS.gimple-match.c+=-O0
 COPTS.gimple-ssa-strength-reduction.c+=-O0
+COPTS.gimple-ssa-warn-restrict.c+=-O0
 COPTS.gimple.c+=-O0
 COPTS.internal-fn.c+=-O0
 COPTS.lto-streamer-out.c+=-O0
@@ -554,13 +557,13 @@ COPTS.stor-layout.c+=-O0
 COPTS.targhooks.c+=-O0
 COPTS.tree-affine.c+=-O0
 COPTS.tree-cfg.c+=-O0
+COPTS.tree-data-ref.c+=-O0
 COPTS.tree-eh.c+=-O0
 COPTS.tree-if-conv.c+=-O0
 COPTS.tree-object-size.c+=-O0
 COPTS.tree-parloops.c+=-O0
 COPTS.tree-predcom.c+=-O0
 COPTS.tree-pretty-print.c+=-O0
-COPTS.tree-ssa.c+=-O0
 COPTS.tree-ssa-alias.c+=-O0
 COPTS.tree-ssa-ccp.c+=-O0
 COPTS.tree-ssa-forwprop.c+=-O0
@@ -570,18 +573,21 @@ COPTS.tree-ssa-loop-niter.c+=-O0
 COPTS.tree-ssa-math-opts.c+=-O0
 COPTS.tree-ssa-pre.c+=-O0
 COPTS.tree-ssa-reassoc.c+=-O0
+COPTS.tree-ssa-strlen.c+=-O0
 COPTS.tree-ssa-uninit.c+=-O0
+COPTS.tree-ssa.c+=-O0
 COPTS.tree-switch-conversion.c+=-O0
 COPTS.tree-vect-data-refs.c+=-O0
-COPTS.tree-vect-loop.c+=-O0
 COPTS.tree-vect-loop-manip.c+=-O0
+COPTS.tree-vect-loop.c+=-O0
 COPTS.tree-vect-patterns.c+=-O0
 COPTS.tree-vect-stmts.c+=-O0
 COPTS.tree-vrp.c+=-O0
 COPTS.tree.c+=-O0
 COPTS.ubsan.c+=-O0
-COPTS.web.c+=-O0
 COPTS.varasm.c+=-O0
+COPTS.vr-values.c+=-O0
+COPTS.web.c+=-O0
 COPTS.wide-int.cc+=-O0
 .else
 COPTS.tree.c=	${${ACTIVE_CC} == "clang" :? -O0 :}



CVS commit: src/external/gpl3/gcc/usr.bin/backend

2019-10-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Oct 29 02:49:05 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/backend: Makefile

Log Message:
Add more -O0 files for vax, sort


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/external/gpl3/gcc/usr.bin/backend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/alpha

2019-10-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Oct 27 21:07:37 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha: defs.mk

Log Message:
remove build output.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 \
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/alpha

2019-10-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Oct 27 21:07:37 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha: defs.mk

Log Message:
remove build output.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 \
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk:1.16 src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk:1.17
--- src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk:1.16	Wed Oct  2 03:15:01 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk	Sun Oct 27 17:07:37 2019
@@ -1,854 +1,7 @@
 # This file is automatically generated.  DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.101 2019/02/23 06:54:45 mrg Exp 
+# Generated from: NetBSD: mknative-gcc,v 1.103 2019/10/24 03:19:14 christos Exp 
 # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp 
 #
-running CONFIG_SHELL=/bin/sh /bin/sh /usr/src/external/gpl3/gcc/dist/gcc/configure --srcdir=/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc --cache-file=./config.cache --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/support/send-pr.html --with-pkgversion=NetBSD nb1 20190930 --with-system-zlib --without-isl --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-default-libstdcxx-abi=new --with-mpc-lib=/var/obj/mknative/alpha/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/alpha/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/alpha/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/alpha --enable-tls --disable-multilib --disable-libstdcxx-pch --with-sysroot=/var/obj/mknative/alpha/usr
 /src/destdir.alpha --enable-languages=c,c++,lto,objc --program-transform-name=s,y,y, --disable-option-checking --build=x86_64-unknown-netbsd9.0 --host=alpha--netbsd --target=alpha--netbsd build_alias=x86_64-unknown-netbsd9.0 host_alias=alpha--netbsd target_alias=alpha--netbsd CC=/var/obj/mknative/alpha/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/alpha--netbsd-gcc --sysroot=/var/obj/mknative/alpha/usr/src/destdir.alpha -L/var/obj/mknative/alpha/usr/src/destdir.alpha/lib -L/var/obj/mknative/alpha/usr/src/destdir.alpha/usr/lib -B/var/obj/mknative/alpha/usr/src/destdir.alpha/usr/lib/ -I/var/obj/mknative/alpha/usr/src/tools/gcc/.native/gcc/include CFLAGS= LDFLAGS=-static-libstdc++ -static-libgcc  CPPFLAGS= CXX=/var/obj/mknative/alpha/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/alpha--netbsd-c++ --sysroot=/var/obj/mknative/alpha/usr/src/destdir.alpha -L/var/obj/mknative/alpha/usr/src/destdir.alpha/lib -L/var/obj/mknative/alpha/usr/src/destdir.alpha/usr/lib -B/var/obj/mknative/alpha/usr/src/de
 stdir.alpha/usr/lib/ -I/var/obj/mknative/alpha/usr/src/tools/gcc/.native/gcc/include --sysroot=/var/obj/mknative/alpha/usr/src/destdir.alpha CXXFLAGS= CPP=/var/obj/mknative/alpha/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/alpha--netbsd-cpp -I/var/obj/mknative/alpha/usr/src/destdir.alpha/usr/include -I/var/obj/mknative/alpha/usr/src/destdir.alpha/usr/include/g++/bits GMPLIBS=-L/var/obj/mknative/alpha/usr/src/external/lgpl3/gmp/lib/libgmp -L/var/obj/mknative/alpha/usr/src/external/lgpl3/mpfr/lib/libmpfr -L/var/obj/mknative/alpha/usr/src/external/lgpl3/mpc/lib/libmpc -lmpc -lmpfr -lgmp GMPINC=-I/usr/src/external/lgpl3/gmp/lib/libgmp/arch/alpha -I/usr/src/external/lgpl3/mpfr/dist/src -I/usr/src/external/lgpl3/mpc/dist/src  ISLLIBS= ISLINC= --no-create --no-recursion
-configure: loading cache ./config.cache
-checking build system type... (cached) x86_64-unknown-netbsd9.0
-checking host system type... (cached) alpha--netbsd
-checking target system type... (cached) alpha--netbsd
-checking LIBRARY_PATH variable... ok
-checking GCC_EXEC_PREFIX variable... ok
-checking whether to place generated files in the source directory... no
-checking whether a default linker was specified... no
-checking whether a default assembler was specified... no
-checking for alpha--netbsd-gcc... (cached) /var/obj/mknative/alpha/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/alpha--netbsd-gcc --sysroot=/var/obj/mknative/alpha/usr/src/destdir.alpha -L/var/obj/mknative/alpha/usr/src/destdir.alpha/lib -L/var/obj/mknative/alpha/usr/src/destdir.alpha/usr/lib -B/var/obj/mknative/alpha/usr/src/destdir.alpha/usr/lib/ -I/var/obj/mknative/alpha/usr/src/tools/gcc/.native/gcc/include
-checking for C compiler default output file name... a.out
-checking whether the C compiler works... yes
-checking whether we are cross compiling... yes
-checking for suffix of executables... 
-checking for 

CVS commit: src/external/gpl3/gcc/usr.bin

2019-10-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 24 18:48:43 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.frontend

Log Message:
arm-common.c uses bitmap stuff so put the common-target.a before common.a


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/Makefile.frontend

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.frontend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.6 src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.7
--- src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.6	Fri Feb  1 05:34:18 2019
+++ src/external/gpl3/gcc/usr.bin/Makefile.frontend	Thu Oct 24 14:48:43 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.frontend,v 1.6 2019/02/01 10:34:18 mrg Exp $
+#	$NetBSD: Makefile.frontend,v 1.7 2019/10/24 18:48:43 christos Exp $
 
 BINDIR=		/usr/bin
 
@@ -14,8 +14,8 @@ DPADD+=			${FRONTENDOBJ}/libfrontend.a
 LDADD+=			-L${FRONTENDOBJ} -lfrontend
 .endif
 
-.include "../Makefile.common"
 .include "../Makefile.common-target"
+.include "../Makefile.common"
 .include "../Makefile.libcpp"
 .include "../Makefile.backtrace"
 .include "../Makefile.libiberty"



CVS commit: src/external/gpl3/gcc/usr.bin

2019-10-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 24 18:48:43 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.frontend

Log Message:
arm-common.c uses bitmap stuff so put the common-target.a before common.a


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/Makefile.frontend

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/common-target

2019-10-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 24 18:48:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
arm-common.c needs stack-protector treatment


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/common-target/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/common-target/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.8 src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.8	Mon Feb  4 23:45:07 2019
+++ src/external/gpl3/gcc/usr.bin/common-target/Makefile	Thu Oct 24 14:48:09 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2019/02/05 04:45:07 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2019/10/24 18:48:09 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -21,6 +21,7 @@ CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} 
 COPTS.prefix.c+=	-Wno-stack-protector
 COPTS.opts-common.c+=	-Wno-stack-protector
 COPTS.rs6000-common.c+=	-Wno-stack-protector
+COPTS.arm-common.c+=	-Wno-stack-protector
 
 GENPROG_ERROR_DEPENDS=errors.lo
 



CVS commit: src/external/gpl3/gcc/usr.bin/common-target

2019-10-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 24 18:48:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/common-target: Makefile

Log Message:
arm-common.c needs stack-protector treatment


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/common-target/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf

2019-10-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 24 03:26:06 UTC 2019

Added Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf: arm-cpu-cdata.h
arm-cpu-data.h

Log Message:
add new files
XXX: all the arms need regen


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/arm-cpu-cdata.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/arm-cpu-data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf

2019-10-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 24 03:26:06 UTC 2019

Added Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf: arm-cpu-cdata.h
arm-cpu-data.h

Log Message:
add new files
XXX: all the arms need regen


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/arm-cpu-cdata.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/arm-cpu-data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/arm-cpu-cdata.h
diff -u /dev/null src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/arm-cpu-cdata.h:1.1
--- /dev/null	Wed Oct 23 23:26:06 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/arm-cpu-cdata.h	Wed Oct 23 23:26:06 2019
@@ -0,0 +1,3591 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from: NetBSD: mknative-gcc,v 1.102 2019/10/16 06:57:24 mrg Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
+
+/* -*- buffer-read-only: t -*-
+   Generated automatically by parsecpu.awk from arm-cpus.in.
+   Do not edit.
+
+   Copyright (C) 2011-2018 Free Software Foundation, Inc.
+
+   This file is part of GCC.
+
+   GCC is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as
+   published by the Free Software Foundation; either version 3,
+   or (at your option) any later version.
+
+   GCC is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public
+   License along with GCC; see the file COPYING3.  If not see
+   .  */
+
+static const cpu_arch_extension cpu_opttab_arm9e[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm946es[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm966es[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm968es[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm10e[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm1020e[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm1022e[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm926ejs[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL, false, false, {isa_nobit}}
+};
+
+static const cpu_arch_extension cpu_opttab_arm1026ejs[] = {
+  {
+"nofp", true, false,
+{
+  isa_bit_vfpv2, isa_bit_vfpv3, isa_bit_vfpv4, isa_bit_neon, 
+  isa_bit_fpv5, isa_bit_fp_d32, isa_bit_fp16, isa_bit_fp16conv, 
+  isa_bit_crypto, isa_bit_fp_dbl, isa_nobit
+}
+  },
+  { NULL,

CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch

2019-10-16 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Oct 16 07:38:04 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/arm: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earm: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf: configargs.h defs.mk
gtyp-input.list tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb: configargs.h defs.mk
gtyp-input.list tm.h
Added Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/arm: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earm: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf: arm-cpu.h arm-isa.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb: arm-cpu.h arm-isa.h

Log Message:
regen arm ports for config.gcc fix.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/configargs.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/gcc/arch/arm/arm-cpu.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/arm-isa.h
cvs rdiff -u -r1.34 -r1.35 \
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/configargs.h
cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/gcc/usr.bin/gcc/arch/arm/defs.mk
cvs rdiff -u -r1.7 -r1.8 \
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/gtyp-input.list
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/gcc/arch/arm/tm.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/arm-cpu.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/arm-isa.h
cvs rdiff -u -r1.35 -r1.36 \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/configargs.h
cvs rdiff -u -r1.19 -r1.20 \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/defs.mk
cvs rdiff -u -r1.7 -r1.8 \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/gtyp-input.list
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/tm.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/arm-cpu.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/arm-isa.h
cvs rdiff -u -r1.35 -r1.36 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h
cvs rdiff -u -r1.18 -r1.19 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk
cvs rdiff -u -r1.7 -r1.8 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/gtyp-input.list
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/arm-cpu.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/arm-isa.h
cvs rdiff -u -r1.29 -r1.30 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/configa

re: CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64

2019-10-02 Thread matthew green
"Nick Hudson" writes:
> Module Name:  src
> Committed By: skrll
> Date: Wed Oct  2 10:34:48 UTC 2019
> 
> Modified Files:
>   src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64: defs.mk
> 
> Log Message:
> Remove garbage. Maybe something is wrong with mknative or mrg's script?

thanks.  this happens when mknative is run a second time, not sure
why it's started happening yet.  appears to be mknative not me.

btw, if you were hitting this, you need to clean your tree because
this subdir shouldn't be used currently by anyone -- it's now got
gcc 8 bits, and the default for everyone is still gcc 7.


.mrg.


CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64

2019-10-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Oct  2 10:34:48 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64: defs.mk

Log Message:
Remove garbage. Maybe something is wrong with mknative or mrg's script?


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk:1.6 src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk:1.7
--- src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk:1.6	Wed Oct  2 07:15:01 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk	Wed Oct  2 10:34:48 2019
@@ -2,857 +2,6 @@
 # Generated from: NetBSD: mknative-gcc,v 1.101 2019/02/23 06:54:45 mrg Exp 
 # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp 
 #
-running CONFIG_SHELL=/bin/sh /bin/sh /usr/src/external/gpl3/gcc/dist/gcc/configure --srcdir=/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc --cache-file=./config.cache --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/support/send-pr.html --with-pkgversion=NetBSD nb1 20190930 --with-system-zlib --without-isl --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --enable-fix-cortex-a53-835769 --enable-fix-cortex-a53-843419 --with-default-libstdcxx-abi=new --with-mpc-lib=/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/aarch64 --enabl
 e-tls --disable-multilib --disable-libstdcxx-pch --with-sysroot=/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm --enable-languages=c,c++,lto,objc --program-transform-name=s,y,y, --disable-option-checking --build=x86_64-unknown-netbsd9.0 --host=aarch64--netbsd --target=aarch64--netbsd build_alias=x86_64-unknown-netbsd9.0 host_alias=aarch64--netbsd target_alias=aarch64--netbsd CC=/var/obj/mknative/evbarm-aarch64/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/aarch64--netbsd-gcc --sysroot=/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/lib -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib -B/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib/ -I/var/obj/mknative/evbarm-aarch64/usr/src/tools/gcc/.native/gcc/include CFLAGS= LDFLAGS=-static-libstdc++ -static-libgcc  CPPFLAGS= CXX=/var/obj/mknative/evbarm-aarch64/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/aarch64--netbsd-c++ --sysroot=/var/obj/m
 knative/evbarm-aarch64/usr/src/destdir.evbarm -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/lib -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib -B/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib/ -I/var/obj/mknative/evbarm-aarch64/usr/src/tools/gcc/.native/gcc/include --sysroot=/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm CXXFLAGS= CPP=/var/obj/mknative/evbarm-aarch64/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/aarch64--netbsd-cpp -I/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/include -I/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/include/g++/bits GMPLIBS=-L/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/gmp/lib/libgmp -L/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/mpfr/lib/libmpfr -L/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/mpc/lib/libmpc -lmpc -lmpfr -lgmp GMPINC=-I/usr/src/external/lgpl3/gmp/lib/libgmp/arch/aarch64 -I/usr/src/external/lgpl3/mpfr/dist/src -I/usr/src
 /external/lgpl3/mpc/dist/src  ISLLIBS= ISLINC= --no-create --no-recursion
-configure: loading cache ./config.cache
-checking build system type... (cached) x86_64-unknown-netbsd9.0
-checking host system type... (cached) aarch64--netbsd
-checking target system type... (cached) aarch64--netbsd
-checking LIBRARY_PATH variable... ok
-checking GCC_EXEC_PREFIX variable... ok
-checking whether to place generated files in the source directory... no
-checking whether a default linker was specified... no
-checking whether a default assembler was specified... no
-checking for aarch64--netbsd-gcc... (cached) /var/obj/mknative/evbarm-aarch64/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/aarch64--netbsd-gcc --sysroot=/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/lib -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib -B/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/us

CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64

2019-10-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Oct  2 10:34:48 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64: defs.mk

Log Message:
Remove garbage. Maybe something is wrong with mknative or mrg's script?


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



re: CVS commit: src/external/gpl3/gcc/usr.bin

2017-11-14 Thread matthew green
> Log Message:
> pull across from gcc.old:
> >https://bugzilla.eng.vmware.com/show_bug.cgi?id=1703878#c118

oops.  fixed to read "ensure version.c gets rebuilt properly."