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

2021-04-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr 27 14:18:25 UTC 2021

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

Log Message:
Revert the change for the c-common.c hack. It is meant to be only for 32
bit mips. (Thanks Rin)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile
cvs rdiff -u -r1.16 -r1.17 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/cc1objplus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile:1.2 src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile:1.2	Sun Apr 25 18:25:00 2021
+++ src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile	Tue Apr 27 10:18:25 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2021/04/25 22:25:00 christos Exp $
+#	$NetBSD: Makefile,v 1.3 2021/04/27 14:18:25 christos Exp $
 
 # XXX: Pull this (G_OBJCXX_OBJS) out with mknative-gcc.  Needs some
 # minor re-org of cc1plus and perhaps cc1obj.  G_CXX_AND_OBJCXX_OBJS
@@ -81,7 +81,7 @@ COPTS.cc1obj-checksum.c+=-O0
 COPTS.decl.c+=-O0
 .endif
 
-.if ${MACHINE_MIPS64}
+.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
 COPTS.c-common.c+=-O3
 .endif
 

Index: src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.16 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.17
--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.16	Sun Apr 25 18:25:55 2021
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile	Tue Apr 27 10:18:25 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2021/04/25 22:25:55 christos Exp $
+#	$NetBSD: Makefile,v 1.17 2021/04/27 14:18:25 christos 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=.c}
@@ -48,7 +48,7 @@ COPTS.c-ubsan.c+=-O0
 COPTS.cc1plus-checksum.c+=-O0
 .endif
 
-.if ${MACHINE_MIPS64}
+.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
 COPTS.c-common.c+=-O3
 .endif
 



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

2021-04-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 25 22:25:55 UTC 2021

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

Log Message:
Limit no-error to stack-protector


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 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/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.15 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.16
--- 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
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2021/04/12 00:05:56 mrg Exp $
+#	$NetBSD: Makefile,v 1.16 2021/04/25 22:25:55 christos 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=.c}
@@ -29,9 +29,7 @@ CHECKSUM_OBJS= ${LIBBACKTRACEOBJ}/libbac
 # XXX check this out
 # LDFLAGS+=   -rdynamic
 
-# YUCK.  but see timevar.h:POP_TIMEVAR_AND_RETURN
-CFLAGS+=	-Wno-error # not good enough: -Wno-return-type
-COPTS+=		-Wno-stack-protector
+CFLAGS+=	-Wno-error=stack-protector
 
 .if ${MACHINE_ARCH} == "vax"
 COPTS.call.c+=-O0
@@ -50,7 +48,7 @@ COPTS.c-ubsan.c+=-O0
 COPTS.cc1plus-checksum.c+=-O0
 .endif
 
-.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
+.if ${MACHINE_MIPS64}
 COPTS.c-common.c+=-O3
 .endif
 



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

2021-04-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 25 22:25:00 UTC 2021

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

Log Message:
- Disable stack-protector errors like we did for cc1plus
- use ${MACHINE_MIPS64}


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/cc1objplus/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/cc1objplus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile:1.1 src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile:1.1	Fri Apr 23 18:50:06 2021
+++ src/external/gpl3/gcc/usr.bin/cc1objplus/Makefile	Sun Apr 25 18:25:00 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2021/04/23 22:50:06 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2021/04/25 22:25:00 christos Exp $
 
 # XXX: Pull this (G_OBJCXX_OBJS) out with mknative-gcc.  Needs some
 # minor re-org of cc1plus and perhaps cc1obj.  G_CXX_AND_OBJCXX_OBJS
@@ -51,6 +51,9 @@ CHECKSUM_OBJS=	${BACKENDOBJ}/libbackend.
 
 .include "../Makefile.checksum"
 
+# XXX: like cc1plus
+CFLAGS+=-Wno-error=stack-protector
+
 COPTS.c-ada-spec.c+=			-Wno-stack-protector
 COPTS.c-attribs.c+=			-Wno-stack-protector
 COPTS.c-aux-info.c+=			-Wno-stack-protector
@@ -78,7 +81,7 @@ COPTS.cc1obj-checksum.c+=-O0
 COPTS.decl.c+=-O0
 .endif
 
-.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
+.if ${MACHINE_MIPS64}
 COPTS.c-common.c+=-O3
 .endif
 



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

2021-04-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Apr 14 12:20:59 UTC 2021

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

Log Message:
lto-common.c needs the stack protector treatment


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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/lto1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/lto1/Makefile:1.6 src/external/gpl3/gcc/usr.bin/lto1/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/lto1/Makefile:1.6	Sun Apr 11 20:05:56 2021
+++ src/external/gpl3/gcc/usr.bin/lto1/Makefile	Wed Apr 14 08:20:59 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2021/04/12 00:05:56 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2021/04/14 12:20:59 christos Exp $
 
 PROG=		lto1
 SRCS=		attribs.c \
@@ -14,6 +14,7 @@ CPPFLAGS+=	-DPREFIX=\"/usr\"
 
 COPTS.lto.c+=		-Wno-stack-protector
 COPTS.lto-lang.c+=	-Wno-stack-protector
+COPTS.lto-common.c+=	-Wno-stack-protector
 
 .include "../Makefile.backend"
 .include "../Makefile.backtrace"



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

2021-04-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr 13 06:30:36 UTC 2021

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

Log Message:
more -O0 for vax


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 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.64 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.65
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.64	Mon Apr 12 00:05:56 2021
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Tue Apr 13 06:30:36 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.64 2021/04/12 00:05:56 mrg Exp $
+#	$NetBSD: Makefile,v 1.65 2021/04/13 06:30:36 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -552,6 +552,7 @@ 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
@@ -591,8 +592,8 @@ COPTS.ubsan.c+=-O0
 COPTS.varasm.c+=-O0
 COPTS.vr-values.c+=-O0
 COPTS.web.c+=-O0
-COPTS.wide-int.cc+=-O0
 COPTS.wide-int-range.cc+=-O0
+COPTS.wide-int.cc+=-O0
 .else
 COPTS.tree.c=	${${ACTIVE_CC} == "clang" :? -O0 :}
 .endif



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

2020-09-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Sep  6 10:50:53 UTC 2020

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

Log Message:
build-hash-table.lo and build-vec.lo depend upon $HASH_TABLE_H not $GGC_H


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 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.61 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.62
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.61	Sat Sep  5 14:24:26 2020
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sun Sep  6 10:50:53 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.61 2020/09/05 14:24:26 mrg Exp $
+#	$NetBSD: Makefile,v 1.62 2020/09/06 10:50:53 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -298,14 +298,14 @@ build-ggc-none.c: ggc-none.c \
 build-ggc-none.lo: ${HH}
 CLEANFILES+=	build-ggc-none.c
 
-build-hash-table.c: hash-table.c hash-table.h ${G_GGC_H}
+build-hash-table.c: hash-table.c hash-table.h ${G_HASH_TABLE_H} ${HH}
 	${_MKTARGET_CREATE}
 	rm -f build-hash-table.c
 	cat ${GNUHOSTDIST}/gcc/hash-table.c >${.TARGET}
 build-hash-table.lo: ${HH_NORTL}
 CLEANFILES+=	build-hash-table.c
 
-build-vec.c: vec.c vec.h ${G_GGC_H}
+build-vec.c: vec.c vec.h ${G_HASH_TABLE_H} ${HH}
 	${_MKTARGET_CREATE}
 	rm -f build-vec.c
 	cat ${GNUHOSTDIST}/gcc/vec.c >${.TARGET}



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

2020-09-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Sep  5 14:24:26 UTC 2020

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.backend
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
src/external/gpl3/gcc/usr.bin/common: Makefile
src/external/gpl3/gcc/usr.bin/gcov: Makefile
src/external/gpl3/gcc/usr.bin/lto1: Makefile

Log Message:
make GCC 9.3.0 build itself:
- common-target is needed before common now
- complete build-sort.o framework
- fix cyclic dep
- fix .c vs .cc issues


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/Makefile.backend
cvs rdiff -u -r1.60 -r1.61 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/common/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/gcov/Makefile
cvs rdiff -u -r1.4 -r1.5 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/Makefile.backend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.backend:1.8 src/external/gpl3/gcc/usr.bin/Makefile.backend:1.9
--- src/external/gpl3/gcc/usr.bin/Makefile.backend:1.8	Fri Feb  1 10:34:18 2019
+++ src/external/gpl3/gcc/usr.bin/Makefile.backend	Sat Sep  5 14:24:25 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.backend,v 1.8 2019/02/01 10:34:18 mrg Exp $
+#	$NetBSD: Makefile.backend,v 1.9 2020/09/05 14:24:25 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_=1
@@ -15,6 +15,7 @@ CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} 
 DPADD+=			${BACKENDOBJ}/libbackend.a
 LDADD+=			${BACKENDOBJ}/libbackend.a
 
+.include "../Makefile.common-target"
 .include "../Makefile.common"
 .include "../Makefile.libiberty"
 .include "../Makefile.prog"

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.60 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.61
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.60	Sat Sep  5 09:50:16 2020
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sat Sep  5 14:24:26 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.60 2020/09/05 09:50:16 mrg Exp $
+#	$NetBSD: Makefile,v 1.61 2020/09/05 14:24:26 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -312,6 +312,13 @@ build-vec.c: vec.c vec.h ${G_GGC_H}
 build-vec.lo: ${HH_NORTL}
 CLEANFILES+=	build-vec.c
 
+build-sort.cc: sort.cc sort.h ${G_GGC_H}
+	${_MKTARGET_CREATE}
+	rm -f build-sort.cc
+	cat ${GNUHOSTDIST}/gcc/sort.cc >${.TARGET}
+build-sort.lo: ${HH_NORTL}
+CLEANFILES+=	build-sort.cc
+
 build-genattrtab.o: ${G_GGC_H}
 
 #
@@ -334,15 +341,13 @@ GENPROG_RTL_DEPENDS=	${G_BUILD_RTL:.o=.l
 #
 # First we generate the rules for the generators.
 #
-GENDEPS.cfn-macros=	build-sort.lo
-
 .for f in attr attr-common attrtab automata codes conditions config emit \
 	  extract flags opinit output peep preds recog mddump condmd \
 	  target-def cfn-macros
-gen${f}.lo: ${HH} gen${f}.c ${G_RTL_BASE_H} ${GENDEPS.${f}}
+gen${f}.lo: ${HH} gen${f}.c ${G_RTL_BASE_H} build-sort.lo
 gen${f}: gen${f}.lo ${GENPROG_RTL_DEPENDS} 
 	${_MKTARGET_LINK}
-	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
+	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}} build-sort.lo
 CLEANFILES+=	gen${f} gen${f}.lo
 .endfor
 
@@ -489,7 +494,7 @@ gcov-io.h: gcov-iov.h
 df-scan.d df-scan.o: target-hooks-def.h
 read-md.d read-md.o read-md.lo: auto-build.h
 hash-table.d hash-table.o hash-table.lo: auto-build.h gtype-desc.h
-gencfn-macros.d gencfn-macros.o gencfn-macros.lo: gtype-desc.h case-cfn-macros.h
+gencfn-macros.d gencfn-macros.o gencfn-macros.lo: gtype-desc.h
 pass_manager.h passes.c: pass-instances.def
 context.d coverage.d lto-cgraph.d passes.d statistics.d toplev.d cgraphunit.d: pass_manager.h
 context.o coverage.o lto-cgraph.o passes.o statistics.o toplev.o cgraphunit.o: pass_manager.h

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.18 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.19
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.18	Mon Jun 29 08:34:17 2020
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Sat Sep  5 14:24:26 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.18 2020/06/29 08:34:17 lukem Exp $
+#	$NetBSD: Makefile,v 1.19 2020/09/05 14:24:26 mrg 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,:N

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

2020-09-03 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Fri Sep  4 02:27:39 UTC 2020

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

Log Message:
Build driver-aarch64.c for both endians of aarch64


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

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.driver
diff -u src/external/gpl3/gcc/usr.bin/Makefile.driver:1.1 src/external/gpl3/gcc/usr.bin/Makefile.driver:1.2
--- src/external/gpl3/gcc/usr.bin/Makefile.driver:1.1	Fri Feb  1 10:32:32 2019
+++ src/external/gpl3/gcc/usr.bin/Makefile.driver	Fri Sep  4 02:27:39 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.driver,v 1.1 2019/02/01 10:32:32 mrg Exp $
+#	$NetBSD: Makefile.driver,v 1.2 2020/09/04 02:27:39 jakllsch Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_DRIVER_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_DRIVER_=1
@@ -12,7 +12,7 @@ SRCS+=		driver-i386.c
 SRCS+=		driver-rs6000.c
 .PATH:		${DIST}/gcc/config/rs6000
 .endif
-.if  ${GCC_MACHINE_ARCH} == "aarch64" 
+.if  ${MACHINE_CPU} == "aarch64"
 SRCS+=		driver-aarch64.c
 .PATH:		${DIST}/gcc/config/aarch64
 .endif



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

2020-06-29 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Mon Jun 29 08:34:17 UTC 2020

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:
Fix addition of C++ .cc source to SRCS

Fix assumption that all of the source files are .c, as some are .cc.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.12 -r1.13 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.17 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.18
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.17	Tue Apr 28 05:45:15 2020
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Mon Jun 29 08:34:17 2020
@@ -1,7 +1,8 @@
-#	$NetBSD: Makefile,v 1.17 2020/04/28 05:45:15 mrg Exp $
+#	$NetBSD: Makefile,v 1.18 2020/06/29 08:34:17 lukem Exp $
 
 PROG=		cc1
-SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
+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=.c}
+SRCS+=		main.c ${PROG}-checksum.c
 CPPFLAGS+=	-DPREFIX=\"/usr\"
 
 .include "../Makefile.backend"

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.15 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.16
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.15	Tue Apr 28 07:47:54 2020
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Mon Jun 29 08:34:17 2020
@@ -1,8 +1,9 @@
-#	$NetBSD: Makefile,v 1.15 2020/04/28 07:47:54 mrg Exp $
+#	$NetBSD: Makefile,v 1.16 2020/06/29 08:34:17 lukem Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
-SRCS=		${MYOBJS:S,objc/,,:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
+SRCS=		${MYOBJS:S,objc/,,:S,c-family/,,:S,c/,,:S,known-headers.o,known-headers.cc,:S,c-spellcheck.o,c-spellcheck.cc,:Nlibcpp.a:.o=.c}
+SRCS+=		main.c ${PROG}-checksum.c
 
 CPPFLAGS+=	-I${DIST}/gcc/objc
 CPPFLAGS.prefix.c+=	-DPREFIX=\"/usr\"

Index: src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.12 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.13
--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.12	Tue Apr 28 07:47:54 2020
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile	Mon Jun 29 08:34:17 2020
@@ -1,7 +1,8 @@
-#	$NetBSD: Makefile,v 1.12 2020/04/28 07:47:54 mrg Exp $
+#	$NetBSD: Makefile,v 1.13 2020/06/29 08:34:17 lukem Exp $
 
 PROG=		cc1plus
-SRCS=		${G_CXX_OBJS:S,c-family/,,:S,cp/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
+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,:Nlibcpp.a:.o=.c}
+SRCS+=		main.c ${PROG}-checksum.c
 
 # XXX
 NOMAN=	1



CVS commit: src/external/gpl3/gcc/usr.bin/lto-wrapper

2020-06-29 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Mon Jun 29 08:30:42 UTC 2020

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

Log Message:
use ggc-none.c not ggc-none.o in SRCS


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/lto-wrapper/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/lto-wrapper/Makefile
diff -u src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile:1.4 src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile:1.4	Fri Feb  1 10:34:19 2019
+++ src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile	Mon Jun 29 08:30:42 2020
@@ -1,11 +1,11 @@
-#	$NetBSD: Makefile,v 1.4 2019/02/01 10:34:19 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2020/06/29 08:30:42 lukem Exp $
 
 NOMAN=1
 PROG=		lto-wrapper
 # XXX pullout from LTO_WRAPPER_OBJS
 SRCS=		lto-wrapper.c \
 		collect-utils.c \
-		ggc-none.o
+		ggc-none.c
 
 BINDIR=		/usr/libexec
 



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

2020-06-23 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Jun 24 05:06:08 UTC 2020

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.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 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.4 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.4	Thu Nov 14 09:27:08 2019
+++ src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile	Wed Jun 24 05:06:08 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2019/11/14 09:27:08 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2020/06/24 05:06:08 rin Exp $
 
 BUILD_ENV= \
 		AR=${HOST_AR:Q} \
@@ -24,7 +24,7 @@ BUILD_COMMAND=	/usr/bin/env -i ${BUILD_E
 
 libcpp/libcpp.a:
 	[ ! -d libcpp ] && mkdir libcpp || true
-	(cd libcpp && ${BUILD_ENV} && \
+	(cd libcpp && ${BUILD_ENV} \
 		${HOST_SH} ${DIST}/libcpp/configure -v am_cv_func_iconv=no \
 		&& ${BUILD_COMMAND})
 



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

2020-06-12 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Fri Jun 12 14:37:51 UTC 2020

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

Log Message:
external/gpl3/gcc: Suppress -Werror=maybe-uninitialized

Seems like false positive since the ASM_GENERATE_INTERNAL_LABEL macro
stores the value into prev_label, so it is alright for prev_label to
be uninitialized.

Error was reported when build.sh was run with MKSANITIZER=yes flag.

Reviewed by: kamil@


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 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.57 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.58
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.57	Tue Oct 29 02:49:05 2019
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Fri Jun 12 14:37:51 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.57 2019/10/29 02:49:05 christos Exp $
+#	$NetBSD: Makefile,v 1.58 2020/06/12 14:37:51 fox Exp $
 
 LIBISPRIVATE=	yes
 
@@ -595,6 +595,8 @@ COPTS.tree.c=	${${ACTIVE_CC} == "clang" 
 
 CFLAGS+=	-Wno-stack-protector
 
+COPTS.dwarf2out.c+=-Wno-error=maybe-uninitialized
+
 .if ${GCC_MACHINE_ARCH} == "m68000" || ${GCC_MACHINE_ARCH} == "m68k" || \
 	${GCC_MACHINE_ARCH} == "coldfire"
 COPTS.tree-loop-distribution.c+=-O2



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

2020-04-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr 28 07:47:54 UTC 2020

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

Log Message:
use -O3 for c-common.c on mipse[lb].  -O2 (but not -O1, -Os, or -O3) fails:

/tmp/ccyXqMRz.s: Assembler messages:
/tmp/ccyXqMRz.s:35813: Error: branch out of range
/tmp/ccyXqMRz.s:85083: Error: branch out of range


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.11 -r1.12 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/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.14 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.15
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.14	Wed Feb 12 00:36:37 2020
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Tue Apr 28 07:47:54 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2020/02/12 00:36:37 fox Exp $
+#	$NetBSD: Makefile,v 1.15 2020/04/28 07:47:54 mrg Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -60,6 +60,10 @@ COPTS.c-ubsan.c+=-O0
 COPTS.cc1obj-checksum.c+=-O0
 .endif
 
+.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
+COPTS.c-common.c+=-O3
+.endif
+
 LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
 DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
 

Index: src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.11 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.12
--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.11	Fri Feb  1 10:34:18 2019
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile	Tue Apr 28 07:47:54 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2019/02/01 10:34:18 mrg Exp $
+#	$NetBSD: Makefile,v 1.12 2020/04/28 07:47:54 mrg Exp $
 
 PROG=		cc1plus
 SRCS=		${G_CXX_OBJS:S,c-family/,,:S,cp/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -52,6 +52,9 @@ COPTS.c-ubsan.c+=-O0
 COPTS.cc1plus-checksum.c+=-O0
 .endif
 
+.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
+COPTS.c-common.c+=-O3
+.endif
 
 LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
 DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}



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

2020-04-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr 28 05:45:15 UTC 2020

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

Log Message:
use -O3 for c-common.c on mipse[lb].  -O2 (but not -O1, -Os, or -O3) fails:

/tmp/ccyXqMRz.s: Assembler messages:
/tmp/ccyXqMRz.s:35813: Error: branch out of range
/tmp/ccyXqMRz.s:85083: Error: branch out of range


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 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.16 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.17
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.16	Wed Feb 12 00:36:37 2020
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Tue Apr 28 05:45:15 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2020/02/12 00:36:37 fox Exp $
+#	$NetBSD: Makefile,v 1.17 2020/04/28 05:45:15 mrg Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -62,6 +62,10 @@ COPTS.c-ubsan.c+=-O0
 COPTS.cc1-checksum.c+=-O0
 .endif
 
+.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
+COPTS.c-common.c+=-O3
+.endif
+
 LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
 DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
 



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

2020-02-11 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Wed Feb 12 00:36:38 UTC 2020

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

Log Message:
external/gpl3/gcc: Fix build failure under LLVM.

-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

Reviewed by: kamil@


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/usr.bin/cc1obj/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.15 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.16
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.15	Sun Feb  9 08:04:40 2020
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Wed Feb 12 00:36:37 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2020/02/09 08:04:40 fox Exp $
+#	$NetBSD: Makefile,v 1.16 2020/02/12 00:36:37 fox Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -32,7 +32,7 @@ COPTS.c-ada-spec.c=	-Wno-stack-protector
 COPTS.c-attribs.c=	-Wno-stack-protector
 COPTS.c-aux-info.c=	-Wno-stack-protector
 COPTS.c-common.c=	-Wno-stack-protector
-COPTS.c-cppbuiltin.c=	-Wno-stack-protector -Wno-error=format-overflow
+COPTS.c-cppbuiltin.c=	-Wno-stack-protector
 COPTS.c-decl.c=		-Wno-stack-protector
 COPTS.c-format.c=	-Wno-stack-protector
 COPTS.c-format.h=	-Wno-stack-protector
@@ -40,7 +40,10 @@ COPTS.c-lex.c=		-Wno-stack-protector
 COPTS.c-opts.c=		-Wno-stack-protector
 COPTS.c-ppoutput.c=	-Wno-stack-protector
 COPTS.c-pragma.c=	-Wno-stack-protector
-COPTS.c-typeck.c=	-Wno-stack-protector -Wno-error=format-overflow
+COPTS.c-typeck.c=	-Wno-stack-protector
+
+COPTS.c-cppbuiltin.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
+COPTS.c-typeck.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
 
 CPPFLAGS.default-c.c+=	-I${BACKENDOBJ}
 

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.13 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.14
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.13	Sun Feb  9 08:04:40 2020
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Wed Feb 12 00:36:37 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2020/02/09 08:04:40 fox Exp $
+#	$NetBSD: Makefile,v 1.14 2020/02/12 00:36:37 fox Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -35,17 +35,20 @@ COPTS.c-ada-spec.c+=			-Wno-stack-protec
 COPTS.c-attribs.c+=			-Wno-stack-protector
 COPTS.c-aux-info.c+=			-Wno-stack-protector
 COPTS.c-common.c+=			-Wno-stack-protector
-COPTS.c-cppbuiltin.c+=			-Wno-stack-protector -Wno-error=format-overflow
+COPTS.c-cppbuiltin.c+=			-Wno-stack-protector
 COPTS.c-decl.c+=			-Wno-stack-protector
 COPTS.c-format.c+=			-Wno-stack-protector
 COPTS.c-lex.c+=-Wno-stack-protector
 COPTS.c-ppoutput.c+=			-Wno-stack-protector
 COPTS.c-pragma.c+=			-Wno-stack-protector
-COPTS.c-typeck.c+=			-Wno-stack-protector -Wno-error=format-overflow
+COPTS.c-typeck.c+=			-Wno-stack-protector
 COPTS.objc-act.c+=			-Wno-stack-protector
 COPTS.objc-gnu-runtime-abi-01.c+=	-Wno-stack-protector
 COPTS.objc-next-runtime-abi-01.c+=	-Wno-stack-protector
 
+COPTS.c-cppbuiltin.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
+COPTS.c-typeck.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
+
 .if ${MACHINE_ARCH} == "vax"
 COPTS.c-decl.c+=-O0
 COPTS.c-typeck.c+=-O0



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

2020-02-09 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Sun Feb  9 08:04:40 UTC 2020

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

Log Message:
external/gpl3/gcc: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow for c-cppbuiltin.c and c-typeck.c to prevent
build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/usr.bin/cc1obj/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.14 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.15
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.14	Wed Feb  6 16:57:30 2019
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Sun Feb  9 08:04:40 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2019/02/06 16:57:30 christos Exp $
+#	$NetBSD: Makefile,v 1.15 2020/02/09 08:04:40 fox Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -32,7 +32,7 @@ COPTS.c-ada-spec.c=	-Wno-stack-protector
 COPTS.c-attribs.c=	-Wno-stack-protector
 COPTS.c-aux-info.c=	-Wno-stack-protector
 COPTS.c-common.c=	-Wno-stack-protector
-COPTS.c-cppbuiltin.c=	-Wno-stack-protector
+COPTS.c-cppbuiltin.c=	-Wno-stack-protector -Wno-error=format-overflow
 COPTS.c-decl.c=		-Wno-stack-protector
 COPTS.c-format.c=	-Wno-stack-protector
 COPTS.c-format.h=	-Wno-stack-protector
@@ -40,7 +40,7 @@ COPTS.c-lex.c=		-Wno-stack-protector
 COPTS.c-opts.c=		-Wno-stack-protector
 COPTS.c-ppoutput.c=	-Wno-stack-protector
 COPTS.c-pragma.c=	-Wno-stack-protector
-COPTS.c-typeck.c=	-Wno-stack-protector
+COPTS.c-typeck.c=	-Wno-stack-protector -Wno-error=format-overflow
 
 CPPFLAGS.default-c.c+=	-I${BACKENDOBJ}
 

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.12 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.13
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.12	Wed Feb  6 16:57:30 2019
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Sun Feb  9 08:04:40 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.12 2019/02/06 16:57:30 christos Exp $
+#	$NetBSD: Makefile,v 1.13 2020/02/09 08:04:40 fox Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -35,13 +35,13 @@ COPTS.c-ada-spec.c+=			-Wno-stack-protec
 COPTS.c-attribs.c+=			-Wno-stack-protector
 COPTS.c-aux-info.c+=			-Wno-stack-protector
 COPTS.c-common.c+=			-Wno-stack-protector
-COPTS.c-cppbuiltin.c+=			-Wno-stack-protector
+COPTS.c-cppbuiltin.c+=			-Wno-stack-protector -Wno-error=format-overflow
 COPTS.c-decl.c+=			-Wno-stack-protector
 COPTS.c-format.c+=			-Wno-stack-protector
 COPTS.c-lex.c+=-Wno-stack-protector
 COPTS.c-ppoutput.c+=			-Wno-stack-protector
 COPTS.c-pragma.c+=			-Wno-stack-protector
-COPTS.c-typeck.c+=			-Wno-stack-protector
+COPTS.c-typeck.c+=			-Wno-stack-protector -Wno-error=format-overflow
 COPTS.objc-act.c+=			-Wno-stack-protector
 COPTS.objc-gnu-runtime-abi-01.c+=	-Wno-stack-protector
 COPTS.objc-next-runtime-abi-01.c+=	-Wno-stack-protector



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

2019-02-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb 28 09:49:14 UTC 2019

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

Log Message:
basic mknative bootstrap-libgcc for riscv64


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/auto-host.h
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/tm.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/riscv64/auto-host.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/auto-host.h:1.3 src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/auto-host.h:1.4
--- src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/auto-host.h:1.3	Sun Feb 10 07:57:22 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/auto-host.h	Thu Feb 28 09:49:14 2019
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.100 2019/02/09 03:57:00 mrg Exp  */
+/* 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  */
 
 /* auto-host.h.  Generated from config.in by configure.  */
@@ -1802,7 +1802,7 @@
 
 
 /* Define if your target C library provides sys/sdt.h */
-/* #undef HAVE_SYS_SDT_H */
+#define HAVE_SYS_SDT_H 1
 
 /* Define to 1 if you have the  header file. */
 #ifndef USED_FOR_TARGET

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/tm.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/tm.h:1.2 src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/tm.h:1.3
--- src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/tm.h:1.2	Sun Feb 10 07:57:22 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64/tm.h	Thu Feb 28 09:49:14 2019
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.100 2019/02/09 03:57:00 mrg Exp  */
+/* 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  */
 
 #ifndef GCC_TM_H
@@ -19,6 +19,12 @@
 #ifndef NETBSD_ENABLE_PTHREADS
 # define NETBSD_ENABLE_PTHREADS
 #endif
+#ifndef CHAR_FAST8
+# define CHAR_FAST8 1
+#endif
+#ifndef SHORT_FAST16
+# define SHORT_FAST16 1
+#endif
 #ifdef IN_GCC
 # include "options.h"
 # include "insn-constants.h"



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

2019-02-08 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb  9 07:32:50 UTC 2019

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

Log Message:
make sure Makefile.inc is included before Makefile.driver.

allows removing a depend hack and may also fix dtrace/ctf builds.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/cpp/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/cpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.10 src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.11
--- src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.10	Fri Feb  1 10:36:33 2019
+++ src/external/gpl3/gcc/usr.bin/cpp/Makefile	Sat Feb  9 07:32:50 2019
@@ -1,8 +1,11 @@
-#	$NetBSD: Makefile,v 1.10 2019/02/01 10:36:33 mrg Exp $
+#	$NetBSD: Makefile,v 1.11 2019/02/09 07:32:50 mrg Exp $
+
+.include 
 
 PROG=		cpp
 SRCS=		cppspec.c ${G_GCC_OBJS:.o=.c}
 
+.include "../Makefile.driver"
 .include "../Makefile.target-defines"
 
 COPTS+=		-Wno-stack-protector
@@ -18,11 +21,8 @@ INFOFLAGS=	-I${DIST}/gcc/doc -I${DIST}/g
 LDADD+=		-lintl
 DPADD+=		${LIBINTL}
 
-.include 
-
 ADD_FRONTEND_LIBRARY=	no
 .include "../Makefile.frontend"
-.include "../Makefile.driver"
 
 ${SRCS}: ${GCCARCH}/defs.mk
 
@@ -33,6 +33,3 @@ COPTS.gcc.c=	-Wno-stack-protector
 .PATH: ${DIST}/gcc ${DIST}/gcc/c-family ${DIST}/gcc/doc
 
 cpp.info: gcc-vers.texi
-
-# XXX - driver-i386.o isn't built otherwise
-${PROG}: ${OBJS}



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

2019-02-07 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  8 01:29:45 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/earm: configargs.h defs.mk tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb: configargs.h defs.mk
tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf: configargs.h defs.mk
tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb: configargs.h defs.mk
tm.h

Log Message:
regen to give "earm" a v5 default again.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h
cvs rdiff -u -r1.15 -r1.16 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h
cvs rdiff -u -r1.24 -r1.25 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/configargs.h
cvs rdiff -u -r1.13 -r1.14 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/defs.mk
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/tm.h
cvs rdiff -u -r1.25 -r1.26 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/configargs.h
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/defs.mk
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/tm.h
cvs rdiff -u -r1.23 -r1.24 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/configargs.h
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/defs.mk
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/tm.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/earm/configargs.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h:1.30 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h:1.31
--- src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h:1.30	Tue Feb  5 21:50:18 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h	Fri Feb  8 01:29:44 2019
@@ -8,4 +8,4 @@ static const char thread_model[] = "posi
 
 static const struct {
   const char *name, *value;
-} configure_default_options[] = { { NULL, NULL} };
+} configure_default_options[] = { { "cpu", "arm9e" } };

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk:1.15 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk:1.16
--- src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk:1.15	Tue Feb  5 21:50:18 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk	Fri Feb  8 01:29:44 2019
@@ -44,7 +44,7 @@ G_tm_defines=LIBC_GLIBC=1 LIBC_UCLIBC=2 
 G_host_xm_file=
 G_host_xm_defines=
 G_tm_p_file=
-G_target_cpu_default=TARGET_CPU_arm6
+G_target_cpu_default=TARGET_CPU_arm9e
 G_TM_H=tm.h  options.h ${GNUHOSTDIST}/gcc/config/dbxelf.h ${GNUHOSTDIST}/gcc/config/elfos.h ${GNUHOSTDIST}/gcc/config/netbsd.h ${GNUHOSTDIST}/gcc/config/netbsd-stdint.h ${GNUHOSTDIST}/gcc/config/netbsd-elf.h ${GNUHOSTDIST}/gcc/config/arm/elf.h ${GNUHOSTDIST}/gcc/config/arm/bpabi.h ${GNUHOSTDIST}/gcc/config/arm/netbsd-elf.h ${GNUHOSTDIST}/gcc/config/arm/netbsd-eabi.h ${GNUHOSTDIST}/gcc/config/arm/aout.h ${GNUHOSTDIST}/gcc/config/arm/arm.h ${GNUHOSTDIST}/gcc/config/initfini-array.h ${GNUHOSTDIST}/gcc/defaults.h insn-constants.h insn-flags.h options.h flag-types.h  ${GNUHOSTDIST}/gcc/config/arm/arm-opts.h ${GNUHOSTDIST}/gcc/config/arm/arm-cpu.h
 G_ALL_OPT_FILES=${GNUHOSTDIST}/gcc/brig/lang.opt ${GNUHOSTDIST}/gcc/lto/lang.opt ${GNUHOSTDIST}/gcc/c-family/c.opt ${GNUHOSTDIST}/gcc/common.opt ${GNUHOSTDIST}/gcc/config/arm/arm-tables.opt ${GNUHOSTDIST}/gcc/config/arm/arm.opt ${GNUHOSTDIST}/gcc/config/netbsd.opt ${GNUHOSTDIST}/gcc/config/netbsd-elf.opt
 G_tm_file_list=options.h ${GNUHOSTDIST}/gcc/config/dbxelf.h ${GNUHOSTDIST}/gcc/config/elfos.h ${GNUHOSTDIST}/gcc/config/netbsd.h ${GNUHOSTDIST}/gcc/config/netbsd-stdint.h ${GNUHOSTDIST}/gcc/config/netbsd-elf.h ${GNUHOSTDIST}/gcc/config/arm/elf.h ${GNUHOSTDIST}/gcc/config/arm/bpabi.h ${GNUHOSTDIST}/gcc/config/arm/netbsd-elf.h ${GNUHOSTDIST}/gcc/config/arm/netbsd-eabi.h ${GNUHOSTDIST}/gcc/config/arm/aout.h ${GNUHOSTDIST}/gcc/config/arm/arm.h ${GNUHOSTDIST}/gcc/config/initfini-array.h ${GNUHOSTDIST}/gcc/defaults.h

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h:1.6 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h:1.7
--- src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h:1.6	Tue Feb  5 21:50:18 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h	Fri Feb  8 01:29:44 2019
@@ -4,7 +4,7 @@
 
 #ifndef GCC_TM_H
 #define GCC_TM_H
-#define TARGET_CPU_DEFAULT (TARGET_CPU_arm6)
+#define TARGET_CPU_DEFAULT (TARGET_CPU_arm9e)
 #ifndef LIBC_GLIBC
 # define LIBC_GLIBC 1
 #endif

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/configargs.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/configargs.h:1.24 src/external/gpl3/

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

2019-02-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb  7 05:28:38 UTC 2019

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

Log Message:
apply -O0 to a few more files for vax.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 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.52 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.53
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.52	Mon Feb  4 08:15:51 2019
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Thu Feb  7 05:28:38 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.52 2019/02/04 08:15:51 mrg Exp $
+#	$NetBSD: Makefile,v 1.53 2019/02/07 05:28:38 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -526,7 +526,9 @@ COPTS.insn-recog.c+=-Wno-error
 .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.dwarf2out.c+=-O0
 COPTS.dse.c+=-O0	# XXX port-vax/51967
 COPTS.expmed.c+=-O0
@@ -548,10 +550,12 @@ COPTS.targhooks.c+=-O0
 COPTS.tree-affine.c+=-O0
 COPTS.tree-cfg.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
@@ -564,12 +568,14 @@ COPTS.tree-ssa-reassoc.c+=-O0
 COPTS.tree-ssa-uninit.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-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.wide-int.cc+=-O0
 .else



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

2019-02-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb  7 05:28:12 UTC 2019

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

Log Message:
fix merge botch.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/usr.bin/gcc/arch/vax/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/vax/defs.mk
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/vax/defs.mk:1.15 src/external/gpl3/gcc/usr.bin/gcc/arch/vax/defs.mk:1.16
--- src/external/gpl3/gcc/usr.bin/gcc/arch/vax/defs.mk:1.15	Mon Feb  4 02:58:47 2019
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/vax/defs.mk	Thu Feb  7 05:28:12 2019
@@ -2,833 +2,6 @@
 # Generated from: NetBSD: mknative-gcc,v 1.99 2019/02/04 01:46:59 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/src6/external/gpl3/gcc/dist/gcc/configure --srcdir=/usr/src6/tools/gcc/../../external/gpl3/gcc/dist/gcc --cache-file=./config.cache --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion=NetBSD nb1 20190119 --with-system-zlib --without-isl --disable-libstdcxx-dual-abi --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/vax/usr/src6/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/vax/usr/src6/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/vax/usr/src6/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src6/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src6/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src6/external/lgpl3/gmp/lib/libgmp/arch/vax --disable-multilib --disable-symvers --disable-libstdcxx-pch --with-sysr
 oot=/var/obj/mknative/vax/usr/src6/destdir.vax --enable-languages=c,c++,lto,objc --program-transform-name=s,y,y, --disable-option-checking --build=x86_64-unknown-netbsd8.0 --host=vax--netbsdelf --target=vax--netbsdelf build_alias=x86_64-unknown-netbsd8.0 host_alias=vax--netbsdelf target_alias=vax--netbsdelf CC=/var/obj/mknative/vax/usr/src6/tooldir.NetBSD-8.0_STABLE-amd64/bin/vax--netbsdelf-gcc --sysroot=/var/obj/mknative/vax/usr/src6/destdir.vax -L/var/obj/mknative/vax/usr/src6/destdir.vax/lib -L/var/obj/mknative/vax/usr/src6/destdir.vax/usr/lib -B/var/obj/mknative/vax/usr/src6/destdir.vax/usr/lib/ -I/var/obj/mknative/vax/usr/src6/tools/gcc/.native/gcc/include CFLAGS= LDFLAGS=-static-libstdc++ -static-libgcc  CPPFLAGS= CXX=/var/obj/mknative/vax/usr/src6/tooldir.NetBSD-8.0_STABLE-amd64/bin/vax--netbsdelf-c++ --sysroot=/var/obj/mknative/vax/usr/src6/destdir.vax -L/var/obj/mknative/vax/usr/src6/destdir.vax/lib -L/var/obj/mknative/vax/usr/src6/destdir.vax/usr/lib -B/var/obj/mknative/va
 x/usr/src6/destdir.vax/usr/lib/ -I/var/obj/mknative/vax/usr/src6/tools/gcc/.native/gcc/include --sysroot=/var/obj/mknative/vax/usr/src6/destdir.vax CXXFLAGS= CPP=/var/obj/mknative/vax/usr/src6/tooldir.NetBSD-8.0_STABLE-amd64/bin/vax--netbsdelf-cpp -I/var/obj/mknative/vax/usr/src6/destdir.vax/usr/include -I/var/obj/mknative/vax/usr/src6/destdir.vax/usr/include/g++/bits GMPLIBS=-L/var/obj/mknative/vax/usr/src6/external/lgpl3/gmp/lib/libgmp -L/var/obj/mknative/vax/usr/src6/external/lgpl3/mpfr/lib/libmpfr -L/var/obj/mknative/vax/usr/src6/external/lgpl3/mpc/lib/libmpc -lmpc -lmpfr -lgmp GMPINC=-I/usr/src6/external/lgpl3/gmp/lib/libgmp/arch/vax -I/usr/src6/external/lgpl3/mpfr/dist/src -I/usr/src6/external/lgpl3/mpc/dist/src  ISLLIBS= ISLINC= --no-create --no-recursion
-configure: loading cache ./config.cache
-checking build system type... (cached) x86_64-unknown-netbsd8.0
-checking host system type... (cached) vax--netbsdelf
-checking target system type... (cached) vax--netbsdelf
-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 vax--netbsdelf-gcc... (cached) /var/obj/mknative/vax/usr/src6/tooldir.NetBSD-8.0_STABLE-amd64/bin/vax--netbsdelf-gcc --sysroot=/var/obj/mknative/vax/usr/src6/destdir.vax -L/var/obj/mknative/vax/usr/src6/destdir.vax/lib -L/var/obj/mknative/vax/usr/src6/destdir.vax/usr/lib -B/var/obj/mknative/vax/usr/src6/destdir.vax/usr/lib/ -I/var/obj/mknative/vax/usr/src6/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 suffix of object files... (cached) o
-checking whether we are using the GNU C compiler... (cached) yes
-checking whether /var/obj/mknative/vax/usr/src6/tooldir.NetBSD-8.0_STA

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

2019-02-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb  6 16:57:30 UTC 2019

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

Log Message:
fix stack protector build


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/gcov/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.13 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.14
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.13	Fri Feb  1 05:34:18 2019
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Wed Feb  6 11:57:30 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2019/02/01 10:34:18 mrg Exp $
+#	$NetBSD: Makefile,v 1.14 2019/02/06 16:57:30 christos Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -29,6 +29,7 @@ CHECKSUM_OBJS=	${BACKENDOBJ}/libbackend.
 # LDFLAGS+=	-rdynamic
 
 COPTS.c-ada-spec.c=	-Wno-stack-protector
+COPTS.c-attribs.c=	-Wno-stack-protector
 COPTS.c-aux-info.c=	-Wno-stack-protector
 COPTS.c-common.c=	-Wno-stack-protector
 COPTS.c-cppbuiltin.c=	-Wno-stack-protector

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.11 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.12
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.11	Fri Feb  1 05:34:18 2019
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Wed Feb  6 11:57:30 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2019/02/01 10:34:18 mrg Exp $
+#	$NetBSD: Makefile,v 1.12 2019/02/06 16:57:30 christos Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -32,6 +32,7 @@ CHECKSUM_OBJS=	${BACKENDOBJ}/libbackend.
 # LDFLAGS+=	-rdynamic
 
 COPTS.c-ada-spec.c+=			-Wno-stack-protector
+COPTS.c-attribs.c+=			-Wno-stack-protector
 COPTS.c-aux-info.c+=			-Wno-stack-protector
 COPTS.c-common.c+=			-Wno-stack-protector
 COPTS.c-cppbuiltin.c+=			-Wno-stack-protector

Index: src/external/gpl3/gcc/usr.bin/gcov/Makefile
diff -u src/external/gpl3/gcc/usr.bin/gcov/Makefile:1.8 src/external/gpl3/gcc/usr.bin/gcov/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/gcov/Makefile:1.8	Fri Feb  1 05:34:18 2019
+++ src/external/gpl3/gcc/usr.bin/gcov/Makefile	Wed Feb  6 11:57:30 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2019/02/01 10:34:18 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2019/02/06 16:57:30 christos Exp $
 
 .include 
 
@@ -19,6 +19,8 @@ MAN=		gcov.1
 .include "../Makefile.libiberty"
 .include "../Makefile.libdecnumber"
 
+COPTS.gcov.c += -Wno-stack-protector
+
 LDADD+=		-lintl
 DPADD+=		${LIBINTL}
 



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

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 04:45:07 UTC 2019

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

Log Message:
remove 'common/' prefix from sources.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 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.7 src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.8
--- src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.7	Mon Feb  4 03:01:52 2019
+++ src/external/gpl3/gcc/usr.bin/common-target/Makefile	Tue Feb  5 04:45:07 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2019/02/04 03:01:52 mrg Exp $
+#	$NetBSD: Makefile,v 1.8 2019/02/05 04:45:07 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -8,7 +8,7 @@ LIBISPRIVATE=	yes
 LIB=		common-target
 
 .include "${.CURDIR}/arch/${GCC_MACHINE_ARCH}.mk"
-SRCS=		${G_OBJS-libcommon-target:.o=.c}
+SRCS=		${G_OBJS-libcommon-target:S/common\///:.o=.c}
 
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \
 		${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \



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

2019-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 08:15:51 UTC 2019

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

Log Message:
ira-color.c needs -Wno-error=int-in-bool-context for now.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 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.51 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.52
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.51	Tue Nov  6 06:17:29 2018
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Feb  4 08:15:51 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.51 2018/11/06 06:17:29 mrg Exp $
+#	$NetBSD: Makefile,v 1.52 2019/02/04 08:15:51 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -507,6 +507,8 @@ ${G_out_file:T:.c=.o}: insn-target-def.h
 # XXX make all hooks generated for now.
 final.o: target-hooks-def.h c-family/c-target-hooks-def.h common/common-target-hooks-def.h
 
+COPTS.ira-color.c+= -Wno-error=int-in-bool-context
+
 .if ${MACHINE_CPU} == "arm"
 # XXX insn-recog.c:10304:7: error: this decimal constant is unsigned only in ISO C90 [-Werror]
 COPTS.insn-recog.c+=-Wno-error



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

2019-02-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  4 04:49:20 UTC 2019

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

Log Message:
it's memory-block.cc in this case, not memory-block.c.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/common/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/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common/Makefile:1.8 src/external/gpl3/gcc/usr.bin/common/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/common/Makefile:1.8	Mon Feb  4 03:01:52 2019
+++ src/external/gpl3/gcc/usr.bin/common/Makefile	Mon Feb  4 04:49:20 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2019/02/04 03:01:52 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2019/02/04 04:49:20 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -8,7 +8,7 @@ LIBISPRIVATE=	yes
 LIB=		common
 
 .include "${.CURDIR}/defs.mk"
-SRCS=	${G_OBJS-libcommon:.o=.c}
+SRCS=	${G_OBJS-libcommon:S/memory-block.o/memory-block.cc/:.o=.c}
 
 # XXX make sure this doesn't have more than it needs
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \



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

2019-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  1 10:39:48 UTC 2019

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

Log Message:
- update source lists
- XXX: pull out OBJS-libcommon-target and OBJS-libcommon-target
  in mknative


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/external/gpl3/gcc/usr.bin/Makefile.inc
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/common/Makefile
cvs rdiff -u -r1.5 -r1.6 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/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.31 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.32
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.31	Sun Feb 11 02:12:28 2018
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Fri Feb  1 10:39:48 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.31 2018/02/11 02:12:28 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.32 2019/02/01 10:39:48 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -90,8 +90,12 @@ VER_CPPFLAGS=	-DBASEVER="\"${BASEVER}"\"
 		-DPKGVERSION=$(G_PKGVERSION_s) \
 		-DBUGURL=$(G_BUGURL_s)
 
-CPPFLAGS.version.c+=	${VER_CPPFLAGS}
-version.c: ${GCCARCH}/defs.mk ${TOP}/tools/gcc/gcc-version.mk
+VERFILES=	cppbuiltin.c c-cppbuiltin.c gcc.c version.c
+
+.for _f in ${VERFILES}
+CPPFLAGS.${_f} +=	${VER_CPPFLAGS}
+${_f}: ${GCCARCH}/defs.mk ${TOP}/tools/gcc/gcc-version.mk
+.endfor
 
 .include "${GCCARCH}/defs.mk"
 

Index: src/external/gpl3/gcc/usr.bin/common/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common/Makefile:1.6 src/external/gpl3/gcc/usr.bin/common/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/common/Makefile:1.6	Sun Feb  4 10:16:07 2018
+++ src/external/gpl3/gcc/usr.bin/common/Makefile	Fri Feb  1 10:39:48 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2018/02/04 10:16:07 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2019/02/01 10:39:48 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -7,17 +7,20 @@ LIBISPRIVATE=	yes
 
 LIB=		common
 
+# XXX pullout OBJS-libcommon-target
 SRCS=		diagnostic.c \
 		diagnostic-color.c \
 		diagnostic-show-locus.o \
+		edit-context.o \
 		pretty-print.c \
-		vec.c \
 		intl.c \
+		vec.c \
 		input.c \
 		version.c \
 		hash-table.c \
 		ggc-none.c \
-		memory-block.cc
+		memory-block.cc \
+		selftest.cc
 
 # XXX make sure this doesn't have more than it needs
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \

Index: src/external/gpl3/gcc/usr.bin/common-target/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.5 src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.6
--- src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.5	Thu Oct  6 02:58:32 2016
+++ src/external/gpl3/gcc/usr.bin/common-target/Makefile	Fri Feb  1 10:39:48 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2016/10/06 02:58:32 christos Exp $
+#	$NetBSD: Makefile,v 1.6 2019/02/01 10:39:48 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -7,8 +7,10 @@ LIBISPRIVATE=	yes
 
 LIB=		common-target
 
+# XXX pullout OBJS-libcommon-target
 SRCS=		prefix.c params.c opts.c opts-common.c options.c vec.c \
 		hooks.c common-targhooks.c hash-table.c file-find.c \
+		spellcheck.c selftest.c \
 		${G_common_out_file:T}
 
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \



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

2019-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  1 10:36:33 UTC 2019

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

Log Message:
- use ADD_FRONTEND_LIBRARY to avoid linking libfrontend
- add a hack to ensure driver-i386.c gets built before linking


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/cpp/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/cpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.9 src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.10
--- src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.9	Tue Mar 15 19:12:06 2016
+++ src/external/gpl3/gcc/usr.bin/cpp/Makefile	Fri Feb  1 10:36:33 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2016/03/15 19:12:06 mrg Exp $
+#	$NetBSD: Makefile,v 1.10 2019/02/01 10:36:33 mrg Exp $
 
 PROG=		cpp
 SRCS=		cppspec.c ${G_GCC_OBJS:.o=.c}
@@ -18,7 +18,11 @@ INFOFLAGS=	-I${DIST}/gcc/doc -I${DIST}/g
 LDADD+=		-lintl
 DPADD+=		${LIBINTL}
 
+.include 
+
+ADD_FRONTEND_LIBRARY=	no
 .include "../Makefile.frontend"
+.include "../Makefile.driver"
 
 ${SRCS}: ${GCCARCH}/defs.mk
 
@@ -29,3 +33,6 @@ COPTS.gcc.c=	-Wno-stack-protector
 .PATH: ${DIST}/gcc ${DIST}/gcc/c-family ${DIST}/gcc/doc
 
 cpp.info: gcc-vers.texi
+
+# XXX - driver-i386.o isn't built otherwise
+${PROG}: ${OBJS}



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

2019-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  1 10:34:19 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.backend Makefile.frontend
Makefile.gcc-tool
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile
src/external/gpl3/gcc/usr.bin/gcov: Makefile
src/external/gpl3/gcc/usr.bin/gcov-dump: Makefile
src/external/gpl3/gcc/usr.bin/lto-wrapper: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin: Makefile.prog

Log Message:
- move various stuff into Makefile.prog
- make sure VER_CPPFLAGS is applied to all required files
- add ADD_FRONTEND_LIBRARY to avoid linking libfrontend, while
  using the rest of this fragment


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/Makefile.backend
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/Makefile.frontend
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/Makefile.prog
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/gcov/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/gcov-dump/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/lto-wrapper/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.backend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.backend:1.7 src/external/gpl3/gcc/usr.bin/Makefile.backend:1.8
--- src/external/gpl3/gcc/usr.bin/Makefile.backend:1.7	Sun Feb 11 02:12:28 2018
+++ src/external/gpl3/gcc/usr.bin/Makefile.backend	Fri Feb  1 10:34:18 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.backend,v 1.7 2018/02/11 02:12:28 christos Exp $
+#	$NetBSD: Makefile.backend,v 1.8 2019/02/01 10:34:18 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_=1
@@ -17,19 +17,7 @@ LDADD+=			${BACKENDOBJ}/libbackend.a
 
 .include "../Makefile.common"
 .include "../Makefile.libiberty"
-
-HOSTPROG_CXX=	1
-
-.include 
-
-# Force using C++ for this
-HOST_CC:=	${HOST_CXX}
-CC:=		${CXX}
-CFLAGS:=	${CXXFLAGS}
-
-# Don't auto-frob .y or .l files.
-.l.c .y.c .y.h:
-	@true
+.include "../Makefile.prog"
 
 # Find our (local) libraries
 LIBGMPDIR!=	cd ${GMPDISTDIR}/lib/libgmp && ${PRINTOBJDIR}

Index: src/external/gpl3/gcc/usr.bin/Makefile.frontend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.5 src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.6
--- src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.5	Sun Feb 11 02:12:28 2018
+++ src/external/gpl3/gcc/usr.bin/Makefile.frontend	Fri Feb  1 10:34:18 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.frontend,v 1.5 2018/02/11 02:12:28 christos Exp $
+#	$NetBSD: Makefile.frontend,v 1.6 2019/02/01 10:34:18 mrg Exp $
 
 BINDIR=		/usr/bin
 
@@ -9,8 +9,10 @@ CPPFLAGS+=	-I${GCCARCH} -I${FRONTENDOBJ}
 NOCTF=		# defined
 .include 
 
+.if ${ADD_FRONTEND_LIBRARY:Uyes} != "no"
 DPADD+=			${FRONTENDOBJ}/libfrontend.a
 LDADD+=			-L${FRONTENDOBJ} -lfrontend
+.endif
 
 .include "../Makefile.common"
 .include "../Makefile.common-target"
@@ -19,14 +21,7 @@ LDADD+=			-L${FRONTENDOBJ} -lfrontend
 .include "../Makefile.libiberty"
 .include "../Makefile.libdecnumber"
 
-HOSTPROG_CXX=	1
-
-.include 
-
-# Force using C++ for this
-HOST_CC:=	${HOST_CXX}
-CC:=		${CXX}
-CFLAGS:=	${CXXFLAGS}
+.include "../Makefile.prog"
 
 gcc-vers.texi:
 	(echo "@set version-GCC $(BASEVER)"; \

Index: src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool
diff -u src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool:1.2 src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool:1.3
--- src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool:1.2	Sat May 31 22:55:16 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool	Fri Feb  1 10:34:18 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.gcc-tool,v 1.2 2014/05/31 22:55:16 mrg Exp $
+#	$NetBSD: Makefile.gcc-tool,v 1.3 2019/02/01 10:34:18 mrg Exp $
 
 PROG=	gcc-${GCC_TOOL}
 SRCS=	gcc-ar.c file-find.c
@@ -23,19 +23,14 @@ CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} 
 BINDIR=		/usr/bin
 NOMAN=		# defined
 
-.include 
-
-# Force using C++ for this
-HOST_CC:=	${HOST_CXX}
-CC:=		${CXX}
-CFLAGS:=	${CXXFLAGS}
-
 .include "../Makefile.common"
 .include "../Makefile.libcpp"
 .include "../Makefile.backtrace"
 .include "../Makefile.libiberty"
 .include "../Makefile.libdecnumber"
 
+.include "../Makefile.prog"
+
 COPTS+=		-Wno-stack-protector
 
 .PATH: ${DIST}/gcc

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.12 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.13
--- src/external/gpl3/gcc/us

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

2019-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  1 10:35:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.backtrace Makefile.common
Makefile.common-target Makefile.libcpp Makefile.libdecnumber
Makefile.libiberty

Log Message:
- be sure bsd.own.mk has been included


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/Makefile.backtrace \
src/external/gpl3/gcc/usr.bin/Makefile.common \
src/external/gpl3/gcc/usr.bin/Makefile.common-target \
src/external/gpl3/gcc/usr.bin/Makefile.libiberty
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/Makefile.libcpp \
src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber

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.backtrace
diff -u src/external/gpl3/gcc/usr.bin/Makefile.backtrace:1.1 src/external/gpl3/gcc/usr.bin/Makefile.backtrace:1.2
--- src/external/gpl3/gcc/usr.bin/Makefile.backtrace:1.1	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.backtrace	Fri Feb  1 10:35:09 2019
@@ -1,8 +1,10 @@
-#	$NetBSD: Makefile.backtrace,v 1.1 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.backtrace,v 1.2 2019/02/01 10:35:09 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKTRACE_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKTRACE_=1
 
+.include 
+
 LIBBACKTRACEOBJ!=	cd ${.CURDIR}/../../lib/libbacktrace && ${PRINTOBJDIR}
 DPADD+=			${LIBBACKTRACEOBJ}/libbacktrace.a
 LDADD+=			${LIBBACKTRACEOBJ}/libbacktrace.a
Index: src/external/gpl3/gcc/usr.bin/Makefile.common
diff -u src/external/gpl3/gcc/usr.bin/Makefile.common:1.1 src/external/gpl3/gcc/usr.bin/Makefile.common:1.2
--- src/external/gpl3/gcc/usr.bin/Makefile.common:1.1	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.common	Fri Feb  1 10:35:09 2019
@@ -1,8 +1,10 @@
-#	$NetBSD: Makefile.common,v 1.1 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.common,v 1.2 2019/02/01 10:35:09 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_COMMON_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_COMMON_=1
 
+.include 
+
 COMMONOBJ!=		cd ${.CURDIR}/../common && ${PRINTOBJDIR}
 DPADD+=			${COMMONOBJ}/libcommon.a
 LDADD+=			${COMMONOBJ}/libcommon.a
Index: src/external/gpl3/gcc/usr.bin/Makefile.common-target
diff -u src/external/gpl3/gcc/usr.bin/Makefile.common-target:1.1 src/external/gpl3/gcc/usr.bin/Makefile.common-target:1.2
--- src/external/gpl3/gcc/usr.bin/Makefile.common-target:1.1	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.common-target	Fri Feb  1 10:35:09 2019
@@ -1,8 +1,10 @@
-#	$NetBSD: Makefile.common-target,v 1.1 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.common-target,v 1.2 2019/02/01 10:35:09 mrg Exp $
 
 #.ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_COMMON_TARGET_
 #_EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_COMMON_TARGET_=1
 
+.include 
+
 COMMONTARGETOBJ!=	cd ${.CURDIR}/../common-target && ${PRINTOBJDIR}
 DPADD+=			${COMMONTARGETOBJ}/libcommon-target.a
 LDADD+=			${COMMONTARGETOBJ}/libcommon-target.a
Index: src/external/gpl3/gcc/usr.bin/Makefile.libiberty
diff -u src/external/gpl3/gcc/usr.bin/Makefile.libiberty:1.1 src/external/gpl3/gcc/usr.bin/Makefile.libiberty:1.2
--- src/external/gpl3/gcc/usr.bin/Makefile.libiberty:1.1	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.libiberty	Fri Feb  1 10:35:09 2019
@@ -1,8 +1,10 @@
-#	$NetBSD: Makefile.libiberty,v 1.1 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.libiberty,v 1.2 2019/02/01 10:35:09 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_LIBIBERTY_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_LIBIBERTY_=1
 
+.include 
+
 LIBIBERTYOBJ!=		cd ${.CURDIR}/../../lib/libiberty && ${PRINTOBJDIR}
 DPADD+=			${LIBIBERTYOBJ}/libiberty.a
 LDADD+=			${LIBIBERTYOBJ}/libiberty.a

Index: src/external/gpl3/gcc/usr.bin/Makefile.libcpp
diff -u src/external/gpl3/gcc/usr.bin/Makefile.libcpp:1.2 src/external/gpl3/gcc/usr.bin/Makefile.libcpp:1.3
--- src/external/gpl3/gcc/usr.bin/Makefile.libcpp:1.2	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.libcpp	Fri Feb  1 10:35:09 2019
@@ -1,8 +1,10 @@
-#	$NetBSD: Makefile.libcpp,v 1.2 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.libcpp,v 1.3 2019/02/01 10:35:09 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_LIBCPP_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_LIBCPP_=1
 
+.include 
+
 LIBCPPOBJ!=		cd ${.CURDIR}/../libcpp && ${PRINTOBJDIR}
 DPADD+=			${LIBCPPOBJ}/libcpp.a
 LDADD+=			${LIBCPPOBJ}/libcpp.a
Index: src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber
diff -u src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber:1.2 src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber:1.3
--- src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber:1.2	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.libdecnumber	Fri Feb  1 10:35:09 2019
@@ -1,8 +1,10 @@
-#	$NetBSD: Makefile.libdecnumber,v 

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

2019-02-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb  1 10:32:32 UTC 2019

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

Log Message:
- move driver file config to Makefile.driver.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/Makefile.driver
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/usr.bin/frontend/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/frontend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.12 src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.13
--- src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.12	Sun Jul 15 16:37:04 2018
+++ src/external/gpl3/gcc/usr.bin/frontend/Makefile	Fri Feb  1 10:32:32 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.12 2018/07/15 16:37:04 christos Exp $
+#	$NetBSD: Makefile,v 1.13 2019/02/01 10:32:32 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -11,20 +11,7 @@ SRCS=		gcc.c version.c prefix.c
 
 HOSTPROG_CXX=	1
 
-# XXX
-.if ${GCC_MACHINE_ARCH} == "x86_64" || ${GCC_MACHINE_ARCH} == "i386"
-SRCS+=		driver-i386.c
-.PATH:		${DIST}/gcc/config/i386
-.endif
-.if ${GCC_MACHINE_ARCH} == "powerpc" || ${GCC_MACHINE_ARCH} == "powerpc64"
-SRCS+=		driver-rs6000.c
-.PATH:		${DIST}/gcc/config/rs6000
-.endif
-.if  ${GCC_MACHINE_ARCH} == "aarch64" 
-SRCS+=		driver-aarch64.c
-.PATH:		${DIST}/gcc/config/aarch64
-.endif
-
+.include "../Makefile.driver"
 .include "../Makefile.target-defines"
 
 version.c: ${GCCARCH}/defs.mk ${TOP}/tools/gcc/gcc-version.mk

Added files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.driver
diff -u /dev/null src/external/gpl3/gcc/usr.bin/Makefile.driver:1.1
--- /dev/null	Fri Feb  1 10:32:32 2019
+++ src/external/gpl3/gcc/usr.bin/Makefile.driver	Fri Feb  1 10:32:32 2019
@@ -0,0 +1,20 @@
+#	$NetBSD: Makefile.driver,v 1.1 2019/02/01 10:32:32 mrg Exp $
+
+.ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_DRIVER_
+_EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_DRIVER_=1
+
+# XXX
+.if ${GCC_MACHINE_ARCH} == "x86_64" || ${GCC_MACHINE_ARCH} == "i386"
+SRCS+=		driver-i386.c
+.PATH:		${DIST}/gcc/config/i386
+.endif
+.if ${GCC_MACHINE_ARCH} == "powerpc" || ${GCC_MACHINE_ARCH} == "powerpc64"
+SRCS+=		driver-rs6000.c
+.PATH:		${DIST}/gcc/config/rs6000
+.endif
+.if  ${GCC_MACHINE_ARCH} == "aarch64" 
+SRCS+=		driver-aarch64.c
+.PATH:		${DIST}/gcc/config/aarch64
+.endif
+
+.endif



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

2018-07-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jul 15 16:37:04 UTC 2018

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

Log Message:
Give aarch64 the "special treatment", since mknative does not include the
target-specific build file.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/usr.bin/frontend/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/frontend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.11 src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.12
--- src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.11	Wed Nov 15 02:47:40 2017
+++ src/external/gpl3/gcc/usr.bin/frontend/Makefile	Sun Jul 15 12:37:04 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2017/11/15 07:47:40 mrg Exp $
+#	$NetBSD: Makefile,v 1.12 2018/07/15 16:37:04 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -20,6 +20,10 @@ SRCS+=		driver-i386.c
 SRCS+=		driver-rs6000.c
 .PATH:		${DIST}/gcc/config/rs6000
 .endif
+.if  ${GCC_MACHINE_ARCH} == "aarch64" 
+SRCS+=		driver-aarch64.c
+.PATH:		${DIST}/gcc/config/aarch64
+.endif
 
 .include "../Makefile.target-defines"
 



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

2018-07-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jul 15 00:59:50 UTC 2018

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

Log Message:
Aarch64 specific generated files.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 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.49 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.50
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.49	Thu Apr 19 18:01:27 2018
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sat Jul 14 20:59:49 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.49 2018/04/19 22:01:27 mrg Exp $
+#	$NetBSD: Makefile,v 1.50 2018/07/15 00:59:49 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -448,9 +448,16 @@ CASECFNDEPS=	aarch64-builtins.c arm-buil
 		gimple-ssa-backprop.c
 ${CASECFNDEPS}: case-cfn-macros.h
 
+aarch64-builtin-iterators.h: ${DIST}/gcc/config/aarch64/geniterators.sh \
+${DIST}/gcc/config/aarch64/iterators.md
+	$(HOST_SH) ${.ALLSRC} > ${.TARGET}
+
+CLEANFILES+=	aarch-builtin-iterators.h
+
 #
 # Required hard-coded dependancies.
 #
+aarch64-builtins.o: aarch64-builtin-iterators.h
 tm.h: insn-constants.h
 genextract.lo: insn-config.h
 gencondmd.lo: tm_p.h tm-constrs.h
@@ -583,3 +590,6 @@ CFLAGS+= -fno-exceptions -fno-rtti -fasy
 
 .PATH: ${DIST}/gcc ${DIST}/libiberty ${GCCARCH} ${G_out_file:H} ${DIST}/include
 .PATH: ${DIST}/gcc/config
+.if ${MACHINE_ARCH} == "aarch64"
+.PATH: ${DIST}/gcc/config/arm
+.endif



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

2018-04-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Apr 19 22:01:27 UTC 2018

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

Log Message:
add missing cgraphunit.c dependancy on pass_manager.h.  should fix report
from thorpej on current-users about missing pass-instances.def.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 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.48 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.49
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.48	Fri Apr 13 01:14:19 2018
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Thu Apr 19 22:01:27 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.48 2018/04/13 01:14:19 mrg Exp $
+#	$NetBSD: Makefile,v 1.49 2018/04/19 22:01:27 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -475,8 +475,8 @@ read-md.d read-md.o read-md.lo: auto-bui
 hash-table.d hash-table.o hash-table.lo: auto-build.h gtype-desc.h
 gencfn-macros.d gencfn-macros.o gencfn-macros.lo: gtype-desc.h
 pass_manager.h passes.c: pass-instances.def
-context.d coverage.d lto-cgraph.d passes.d statistics.d toplev.d: pass_manager.h
-context.o coverage.o lto-cgraph.o passes.o statistics.o toplev.o: pass_manager.h
+context.d coverage.d lto-cgraph.d passes.d statistics.d toplev.d cgraphunit.d: pass_manager.h
+context.o coverage.o lto-cgraph.o passes.o statistics.o toplev.o cgraphunit.o: pass_manager.h
 insn-opinit.o insn-opinit.d: insn-flags.h
 .for _f in insn-attrtab insn-automata insn-dfatab insn-latencytab insn-output
 ${_f}.o ${_f}.d: insn-attr-common.h insn-attr.h



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

2018-04-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Apr 13 01:14:19 UTC 2018

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

Log Message:
fix some more missing depends issues.  remove various wrong/old depends.

fixes issues i was able to trigger manually by building specific files.

more for PR#53137.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 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.47 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.48
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.47	Thu Apr 12 20:44:16 2018
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Fri Apr 13 01:14:19 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.47 2018/04/12 20:44:16 mrg Exp $
+#	$NetBSD: Makefile,v 1.48 2018/04/13 01:14:19 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -194,7 +194,8 @@ tm_p.h: Makefile tm-preds.h
 	HEADERS="$(G_tm_p_include_list)" DEFINES="" \
 	${HOST_SH} ${GNUHOSTDIST}/gcc/mkconfig.sh ${.TARGET}
 
-${G_OBJS} ${G_OBJS:.o=.d}:	tm_p.h		# XXX crude
+# XXX crude
+${G_OBJS} ${G_OBJS:.o=.d}:	tm.h tm_p.h insn-opinit.h
 
 .include "../Makefile.options"
 
@@ -394,9 +395,6 @@ tree-check.h: gencheck
 	./gencheck >${.TARGET}
 CLEANFILES+=	tree-check.h
 
-# Some generators output is not the normal name.
-BUILDSYMLINKS+= insn-check.h tree-check.h
-
 # genattrtab has three output files
 insn-dfatab.c insn-latencytab.c: insn-attrtab.c
 	cp -p ${.TARGET}.tmp ${.TARGET}
@@ -417,8 +415,6 @@ insn-opinit.c: genopinit ${G_md_file} in
 	mv ${.TARGET}.tmp ${.TARGET}
 CLEANFILES+=	insn-opinit.h insn-opinit.c
 
-DPSRCS+= insn-opinit.h
-
 LDFLAGS.genautomata+=	-lm
 
 # gencondmd outputs a special .md file
@@ -455,32 +451,32 @@ ${CASECFNDEPS}: case-cfn-macros.h
 #
 # Required hard-coded dependancies.
 #
+tm.h: insn-constants.h
 genextract.lo: insn-config.h
 gencondmd.lo: tm_p.h tm-constrs.h
-read-rtl.lo gencodes.lo genattrtab.lo genautomata.lo: insn-constants.h gtype-desc.h
-genattr-common.lo gensupport.lo genconditions.lo gentarget-def.lo: insn-constants.h
-genattr.lo genflags.lo genemit.lo genconfig.lo gencheck.lo: insn-constants.h gtype-desc.h
-genopinit.lo genrecog.lo genpreds.lo genoutput.lo genpeep.lo: insn-constants.h 
+read-rtl.lo gencodes.lo genattrtab.lo genautomata.lo: tm.h gtype-desc.h
+genattr-common.lo gensupport.lo genconditions.lo gentarget-def.lo: tm.h
+genattr.lo genflags.lo genemit.lo genconfig.lo gencheck.lo: gtype-desc.h tm.h
+genopinit.lo genrecog.lo genpreds.lo genoutput.lo genpeep.lo: tm.h
 build-ggc-none.lo: gtype-desc.h
 ggc-none.o: gtype-desc.h
-asan.d asan.o: insn-opinit.h
 insn-attrtab.o: insn-config.h
 insn-extract.o: insn-config.h
 toplev.d toplev.o: options.h
 coverage.d: gcov-iov.h
 gcov-io.h: gcov-iov.h
-alias.d alias.o: insn-constants.h tm_p.h
 cgraph.d cgraphunit.d cgraphunit.o: gcov-io.h
 vec.lo: gtype-desc.h
-gtype-desc.d gtype-desc.o: insn-constants.h
-insn-emit.d insn-emit.o: tm-constrs.h insn-opinit.h
+insn-emit.d insn-emit.o: tm-constrs.h
 insn-attr.h: insn-attr-common.h
 gcov-io.h: gcov-iov.h
 df-scan.d df-scan.o: target-hooks-def.h
 read-md.d read-md.o read-md.lo: auto-build.h
 hash-table.d hash-table.o hash-table.lo: auto-build.h gtype-desc.h
 gencfn-macros.d gencfn-macros.o gencfn-macros.lo: gtype-desc.h
-cgraphunit.d cgraphunit.o: pass-instances.def
+pass_manager.h passes.c: pass-instances.def
+context.d coverage.d lto-cgraph.d passes.d statistics.d toplev.d: pass_manager.h
+context.o coverage.o lto-cgraph.o passes.o statistics.o toplev.o: pass_manager.h
 insn-opinit.o insn-opinit.d: insn-flags.h
 .for _f in insn-attrtab insn-automata insn-dfatab insn-latencytab insn-output
 ${_f}.o ${_f}.d: insn-attr-common.h insn-attr.h
@@ -498,32 +494,25 @@ ${_f}.o ${_f}.d: insn-constants.h
 ${_f}.o ${_f}.d: gcov-io.h
 .endfor
 
+${G_out_file:T:.c=.o}: insn-target-def.h target-hooks-def.h tm-constrs.h
+
 # XXX make all hooks generated for now.
 final.o: target-hooks-def.h c-family/c-target-hooks-def.h common/common-target-hooks-def.h
 
-.if ${GCC_MACHINE_ARCH} == "alpha"
-alpha.d alpha.o: tm-constrs.h tm_p.h insn-opinit.h target-hooks-def.h
-alpha.d: pass-instances.def
-.endif
-
 .if ${MACHINE_CPU} == "arm"
-arm.d arm.o: insn-constants.h tm_p.h insn-opinit.h target-hooks-def.h
-arm-builtins.d arm-builtins.o: insn-opinit.h
 # XXX insn-recog.c:10304:7: error: this decimal constant is unsigned only in ISO C90 [-Werror]
 COPTS.insn-recog.c+=-Wno-error
 .endif
 
+.if ${GCC_MACHINE_ARCH} == "i386" || ${GCC_MACHINE_ARCH} == "x86_64"
+i386.d i386.o: pass_manager.h
+.endif
+
 .if ${MACHINE_CPU} == "mips"
 # XXX mips.md:3474:11: error: this decimal constant is unsigned only in ISO C90 [-Werror]
 COPTS.insn-recog.c+=-Wno-error
 .endif
 
-.if ${GCC_MACHINE_ARCH} == "i386" || ${GCC_MACHINE_ARCH} == "x86_64"
-i386.d i386.o

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

2018-04-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Apr 12 20:44:16 UTC 2018

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

Log Message:
fix the hard coded depends list for insn-*.  i pulled these out
of the generated .d files for a successful build.  i've tested
that at least one recent macppc build failure is fixed with this
change (namely, try building just insn-emit.o in this subdir),
but the pattern should fix anything else left in insn*.

this really should finally fix PR#53137.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 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.46 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.47
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.46	Thu Apr  5 05:38:59 2018
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Thu Apr 12 20:44:16 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.46 2018/04/05 05:38:59 mrg Exp $
+#	$NetBSD: Makefile,v 1.47 2018/04/12 20:44:16 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -463,7 +463,7 @@ genattr.lo genflags.lo genemit.lo gencon
 genopinit.lo genrecog.lo genpreds.lo genoutput.lo genpeep.lo: insn-constants.h 
 build-ggc-none.lo: gtype-desc.h
 ggc-none.o: gtype-desc.h
-
+asan.d asan.o: insn-opinit.h
 insn-attrtab.o: insn-config.h
 insn-extract.o: insn-config.h
 toplev.d toplev.o: options.h
@@ -473,17 +473,30 @@ alias.d alias.o: insn-constants.h tm_p.h
 cgraph.d cgraphunit.d cgraphunit.o: gcov-io.h
 vec.lo: gtype-desc.h
 gtype-desc.d gtype-desc.o: insn-constants.h
-insn-emit.d insn-emit.o: tm-constrs.h
+insn-emit.d insn-emit.o: tm-constrs.h insn-opinit.h
 insn-attr.h: insn-attr-common.h
-asan.d asan.o: insn-opinit.h
-data-streamer.d data-streamer-out.d coverage.d gcov-dump.d gcov-io.d gcov-iov.d gcov.d libgcov.d lto-cgraph.d mcf.d modulo-sched.d profile.d value-prof.d: gcov-io.h
-data-streamer.o data-streamer-out.o coverage.o gcov-dump.o gcov-io.o gcov-iov.o gcov.o libgcov.o lto-cgraph.o mcf.o modulo-sched.o profile.o value-prof.o: gcov-io.h
 gcov-io.h: gcov-iov.h
 df-scan.d df-scan.o: target-hooks-def.h
 read-md.d read-md.o read-md.lo: auto-build.h
 hash-table.d hash-table.o hash-table.lo: auto-build.h gtype-desc.h
 gencfn-macros.d gencfn-macros.o gencfn-macros.lo: gtype-desc.h
 cgraphunit.d cgraphunit.o: pass-instances.def
+insn-opinit.o insn-opinit.d: insn-flags.h
+.for _f in insn-attrtab insn-automata insn-dfatab insn-latencytab insn-output
+${_f}.o ${_f}.d: insn-attr-common.h insn-attr.h
+.endfor
+.for _f in insn-attrtab insn-automata insn-dfatab insn-emit insn-extract \
+	   insn-latencytab insn-opinit insn-output insn-peep insn-preds \
+	   insn-recog
+${_f}.o ${_f}.d: insn-codes.h insn-config.h insn-constants.h insn-flags.h
+.endfor
+.for _f in insn-enums insn-modes
+${_f}.o ${_f}.d: insn-constants.h
+.endfor
+.for _f in data-streamer data-streamer-out coverage gcov-dump gcov-io \
+	   gcov-iov gcov libgcov lto-cgraph mcf modulo-sched profile value-prof
+${_f}.o ${_f}.d: gcov-io.h
+.endfor
 
 # XXX make all hooks generated for now.
 final.o: target-hooks-def.h c-family/c-target-hooks-def.h common/common-target-hooks-def.h



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

2018-04-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Apr  5 05:38:59 UTC 2018

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

Log Message:
pretty much everything depends upon insn-opinit.h via optabs-query.h
so set it in DPSRCS.  hopefully this fixes PR 53137.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 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.45 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.46
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.45	Mon Apr  2 22:35:26 2018
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Thu Apr  5 05:38:59 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.45 2018/04/02 22:35:26 mrg Exp $
+#	$NetBSD: Makefile,v 1.46 2018/04/05 05:38:59 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -417,6 +417,8 @@ insn-opinit.c: genopinit ${G_md_file} in
 	mv ${.TARGET}.tmp ${.TARGET}
 CLEANFILES+=	insn-opinit.h insn-opinit.c
 
+DPSRCS+= insn-opinit.h
+
 LDFLAGS.genautomata+=	-lm
 
 # gencondmd outputs a special .md file



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

2018-04-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Apr  2 22:34:22 UTC 2018

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

Log Message:
handle programs that have 3 outputs in a saner fashion.
hopefully fixes PR 53137.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 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.43 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.44
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.43	Sun Feb 11 02:12:28 2018
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Apr  2 22:34:22 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.43 2018/02/11 02:12:28 christos Exp $
+#	$NetBSD: Makefile,v 1.44 2018/04/02 22:34:22 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -398,16 +398,23 @@ CLEANFILES+=	tree-check.h
 BUILDSYMLINKS+= insn-check.h tree-check.h
 
 # genattrtab has three output files
-# XXX fix me
-insn-attrtab.c insn-dfatab.c insn-latencytab.c: genattrtab ${G_md_file} insn-conditions.md 
-	${_MKTARGET_CREATE}
-	./genattrtab ${G_md_file} insn-conditions.md -Ainsn-attrtab.c -Dinsn-dfatab.c -Linsn-latencytab.c
+insn-dfatab.c insn-latencytab.c: insn-attrtab.c
+	cp -p ${.TARGET}.tmp ${.TARGET}
+insn-attrtab.c: genattrtab ${G_md_file} insn-conditions.md 
+	${_MKTARGET_CREATE}
+	./genattrtab ${G_md_file} insn-conditions.md \
+		-A${.TARGET}.tmp -Dinsn-dfatab.c.tmp -Linsn-latencytab.c.tmp && \
+	mv ${.TARGET}.tmp ${.TARGET}
 CLEANFILES+=	insn-attrtab.c insn-dfatab.c insn-latencytab.c
 
 # genopinit has two output files
-insn-opinit.c insn-opinit.h: genopinit ${G_md_file} insn-conditions.md
-	${_MKTARGET_CREATE}
-	./genopinit ${G_md_file} insn-conditions.md -hinsn-opinit.h -cinsn-opinit.c
+insn-opinit.h: insn-opinit.c
+	cp -p ${.TARGET}.tmp ${.TARGET}
+insn-opinit.c: genopinit ${G_md_file} insn-conditions.md
+	${_MKTARGET_CREATE}
+	./genopinit ${G_md_file} insn-conditions.md \
+		-hinsn-opinit.h.tmp -c${.TARGET}.tmp && \
+	mv ${.TARGET}.tmp ${.TARGET}
 CLEANFILES+=	insn-opinit.h insn-opinit.c
 
 LDFLAGS.genautomata+=	-lm



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

2018-02-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb 22 22:25:16 UTC 2018

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64: configargs.h defs.mk
gtyp-input.list tm.h

Log Message:
regen ppc64 mknative gcc 6 files with biarch support.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/configargs.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/defs.mk
cvs rdiff -u -r1.6 -r1.7 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/tm.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/powerpc64/configargs.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/configargs.h:1.12 src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/configargs.h:1.13
--- src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/configargs.h:1.12	Tue Feb  6 09:18:33 2018
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/configargs.h	Thu Feb 22 22:25:16 2018
@@ -3,7 +3,7 @@
 /* Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp  */
 
 /* Generated automatically. */
-static const char configuration_arguments[] = "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=powerpc64--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20180203' --with-system-zlib --disable-libstdcxx-dual-abi --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-mpc-lib=/var/obj/mknative/evbppc-powerpc64/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/evbppc-powerpc64/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/evbppc-powerpc64/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/powerpc64 --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --disable-libstdcxx-dual-abi --build=x86_64-un
 known-netbsd7.1 --host=powerpc64--netbsd --with-sysroot=/var/obj/mknative/evbppc-powerpc64/usr/src/destdir.evbppc";
+static const char configuration_arguments[] = "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=powerpc64--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20180203' --with-system-zlib --disable-libstdcxx-dual-abi --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-mpc-lib=/var/obj/mknative/evbppc-powerpc64/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/evbppc-powerpc64/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/evbppc-powerpc64/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/powerpc64 --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --disable-libstdcxx-dual-abi --build=x86_64-un
 known-netbsd8.0 --host=powerpc64--netbsd --with-sysroot=/var/obj/mknative/evbppc-powerpc64/usr/src/destdir.evbppc";
 static const char thread_model[] = "posix";
 
 static const struct {

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/defs.mk
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/defs.mk:1.8 src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/defs.mk:1.9
--- src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/defs.mk:1.8	Wed Feb  7 05:34:22 2018
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/defs.mk	Thu Feb 22 22:25:16 2018
@@ -18,7 +18,7 @@ G_GCC_OBJS=gcc.o gcc-main.o ggc-none.o s
 G_GCOV_OBJS=gcov.o
 G_GCOV_DUMP_OBJS=gcov-dump.o
 G_GXX_OBJS=gcc.o gcc-main.o ggc-none.o spellcheck.o cp/g++spec.o
-G_GTM_H=tm.h  options.h ${GNUHOSTDIST}/gcc/config/rs6000/rs6000.h ${GNUHOSTDIST}/gcc/config/dbxelf.h ${GNUHOSTDIST}/gcc/config/elfos.h ${GNUHOSTDIST}/gcc/config/freebsd-spec.h ${GNUHOSTDIST}/gcc/config/netbsd.h ${GNUHOSTDIST}/gcc/config/netbsd-elf.h ${GNUHOSTDIST}/gcc/config/rs6000/sysv4.h ${GNUHOSTDIST}/gcc/config/rs6000/default64.h ${GNUHOSTDIST}/gcc/config/rs6000/netbsd64.h ${GNUHOSTDIST}/gcc/config/rs6000/option-defaults.h ${GNUHOSTDIST}/gcc/config/initfini-array.h ${GNUHOSTDIST}/gcc/defaults.h insn-constants.h
+G_GTM_H=tm.h  options.h ${GNUHOSTDIST}/gcc/config/rs6000/secureplt.h ${GNUHOSTDIST}/gcc/config/rs6000/biarch64.h ${GNUHOSTDIST}/gcc/config/rs6000/rs6000.h ${GNUHOSTDIST}/gcc/config/dbxelf.h ${GNUHOSTDIST}/gcc/config/elfos.h ${GNUHOSTDIST}/gcc/config/freebsd-spec.h ${GNUHOSTDIST}/gcc/config/netbs

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

2018-02-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 11 02:12:29 UTC 2018

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile Makefile.backend
Makefile.frontend Makefile.inc
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/g++: Makefile
src/external/gpl3/gcc/usr.bin/gcov: Makefile
src/external/gpl3/gcc/usr.bin/gcov-dump: Makefile
src/external/gpl3/gcc/usr.bin/include: Makefile
src/external/gpl3/gcc/usr.bin/libcpp: Makefile
src/external/gpl3/gcc/usr.bin/libdecnumber: Makefile

Log Message:
Use bsd.init.mk (instead of bsd.own.mk) consistently so that
Makefile.inc gets called before bsd.own.mk so that we get a chance
to use NOFOO easily in Makefile.inc. Use that to turn CTF off for
everything.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/Makefile.backend
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/Makefile.frontend
cvs rdiff -u -r1.30 -r1.31 src/external/gpl3/gcc/usr.bin/Makefile.inc
cvs rdiff -u -r1.42 -r1.43 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/g++/Makefile
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/gcov/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/gcov-dump/Makefile
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/usr.bin/include/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/libcpp/Makefile
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/libdecnumber/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.9 src/external/gpl3/gcc/usr.bin/Makefile:1.10
--- src/external/gpl3/gcc/usr.bin/Makefile:1.9	Tue Feb  6 18:12:01 2018
+++ src/external/gpl3/gcc/usr.bin/Makefile	Sat Feb 10 21:12:28 2018
@@ -1,8 +1,8 @@
-#	$NetBSD: Makefile,v 1.9 2018/02/06 23:12:01 mrg Exp $
+#	$NetBSD: Makefile,v 1.10 2018/02/11 02:12:28 christos Exp $
 
 NOOBJ=# defined
 
-.include 
+.include 
 
 GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/}
 

Index: src/external/gpl3/gcc/usr.bin/Makefile.backend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.backend:1.6 src/external/gpl3/gcc/usr.bin/Makefile.backend:1.7
--- src/external/gpl3/gcc/usr.bin/Makefile.backend:1.6	Thu Aug  3 21:18:39 2017
+++ src/external/gpl3/gcc/usr.bin/Makefile.backend	Sat Feb 10 21:12:28 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.backend,v 1.6 2017/08/04 01:18:39 mrg Exp $
+#	$NetBSD: Makefile.backend,v 1.7 2018/02/11 02:12:28 christos Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_=1
@@ -10,7 +10,7 @@ BINDIR=		/usr/libexec
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} \
 		${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
 
-.include 
+.include 
 
 DPADD+=			${BACKENDOBJ}/libbackend.a
 LDADD+=			${BACKENDOBJ}/libbackend.a

Index: src/external/gpl3/gcc/usr.bin/Makefile.frontend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.4 src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.5
--- src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.4	Thu Apr  3 21:19:14 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.frontend	Sat Feb 10 21:12:28 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.frontend,v 1.4 2014/04/04 01:19:14 christos Exp $
+#	$NetBSD: Makefile.frontend,v 1.5 2018/02/11 02:12:28 christos Exp $
 
 BINDIR=		/usr/bin
 
@@ -6,8 +6,8 @@ CPPFLAGS+=	-I${GCCARCH} -I${FRONTENDOBJ}
 		${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
 		-DIN_GCC_FRONTEND
 
-NOCTF=	# defined
-.include 
+NOCTF=		# defined
+.include 
 
 DPADD+=			${FRONTENDOBJ}/libfrontend.a
 LDADD+=			-L${FRONTENDOBJ} -lfrontend

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.30 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.31
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.30	Sun Feb  4 04:22:03 2018
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Sat Feb 10 21:12:28 2018
@@ -1,9 +1,10 @@
-#	$NetBSD: Makefile.inc,v 1.30 2018/02/04 09:22:03 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.31 2018/02/11 02:12:28 christos Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
 
-.include 
+NOCTF=	# defined
+.include 
 
 .sinclude "../../Makefile.gcc_path"
 

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.42 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.43
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.42	Tue Feb  6 21:33:05 2018
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sat Feb 10 21:12:28 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.42 2018/02/07 02:33:05 mrg Exp $
+#	$NetBSD: Makefile,v 1.43 2018/02/11 02:12:28 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -2

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

2018-02-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  7 02:33:05 UTC 2018

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

Log Message:
make this actually work:
- use ${G_OBJS} directly, it avoids issues with .c vs .cc files.
- add a method to not rm -rf .ab for inspection.
- fix and add missing depends for many things.
- use -Wno-error for mips and arm insn-recog.c, due to eg:
insn-recog.c:10304:7: error: this decimal constant is unsigned only in ISO 
C90 [-Werror]
mips.md:3474:11: error: this decimal constant is unsigned only in ISO C90 
[-Werror]


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 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.41 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.42
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.41	Sun Feb  4 10:16:07 2018
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Wed Feb  7 02:33:05 2018
@@ -1,10 +1,13 @@
-#	$NetBSD: Makefile,v 1.41 2018/02/04 10:16:07 mrg Exp $
+#	$NetBSD: Makefile,v 1.42 2018/02/07 02:33:05 mrg Exp $
 
 LIBISPRIVATE=	yes
 
 LIB=		backend
 
-SRCS=		${G_OBJS:.o=.c} ${G_out_file:T} regsub.c
+SRCS=		${G_OBJS} ${G_out_file:T} regsub.c
+
+# XXX: something misses these.
+CLEANDIRFILES+=	${G_OBJS:.o=.d}
 
 # Make sure we use the pre-generated C files
 .l.c:
@@ -29,16 +32,6 @@ HOSTPROG_CXX=	1
 
 HOST_LIBIBERTYOBJ!=	cd ${.CURDIR}/../host-libiberty && ${PRINTOBJDIR}
 
-# XXX ${G_OBJS:.o=.c} is invalid in GCC 5.3, but work around for now
-BUILDSYMLINKS+=	${GNUHOSTDIST}/gcc/wide-int-print.cc wide-int-print.c
-BUILDSYMLINKS+=	${GNUHOSTDIST}/gcc/wide-int.cc wide-int.c
-
-.if ${MACHINE_CPU} == "sh3"
-BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh-mem.cc sh-mem.c
-BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh_treg_combine.cc sh_treg_combine.c
-BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh_optimize_sett_clrt.cc sh_optimize_sett_clrt.c
-.endif
-
 .include 
 
 # Force using C++ for this
@@ -211,6 +204,10 @@ ${G_OBJS} ${G_OBJS:.o=.d}:	tm_p.h		# XXX
 CLEANFILES+=	auto-build.h
 HOST_CFLAGS+= -I${.OBJDIR}
 HOST_CXXFLAGS+= -I${.OBJDIR}
+
+# Set this to "true" to leave .ab around
+HOST_AB_CLEAN?=	rm -rf .ab
+
 auto-build.h: gmp.h Makefile
 	${_MKTARGET_CREATE}
 	rm -rf .ab && \
@@ -228,8 +225,7 @@ auto-build.h: gmp.h Makefile
 			--host=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \
 			--target=${MACHINE_GNU_PLATFORM} && \
 		mv auto-host.h ../auto-build.h) && \
-	true
-	#rm -rf .ab
+	${HOST_AB_CLEAN}
 
 pass-instances.def: passes.def gen-pass-instances.awk
 	${_MKTARGET_CREATE}
@@ -243,12 +239,12 @@ CLEANFILES+=	pass-instances.def
 #
 
 build-rtl.c: rtl.c \
-  ${G_RTL_H} real.h ${G_GCC_H} ${G_GGC_H} errors.h
+  ${G_RTL_H} real.h ${G_GCC_H} ${G_RTL_BASE_H} ${G_GGC_H} errors.h
 	${_MKTARGET_CREATE}
 	rm -f build-rtl.c
 	${TOOL_SED} -e 's/${.TARGET}
-build-rtl.lo: ${HH}
+build-rtl.lo: ${HH} insn-constants.h
 CLEANFILES+=	build-rtl.c
 
 build-print-rtl.c: print-rtl.c \
@@ -310,6 +306,8 @@ build-vec.c: vec.c vec.h ${G_GGC_H}
 build-vec.lo: ${HH_NORTL}
 CLEANFILES+=	build-vec.c
 
+build-genattrtab.o: ${G_GGC_H}
+
 #
 # The normal insn-foo generators
 #
@@ -333,7 +331,7 @@ GENPROG_RTL_DEPENDS=	${G_BUILD_RTL:.o=.l
 .for f in attr attr-common attrtab automata codes conditions config emit \
 	  extract flags opinit output peep preds recog mddump condmd \
 	  target-def cfn-macros
-gen${f}.lo: ${HH} gen${f}.c
+gen${f}.lo: ${HH} gen${f}.c ${G_RTL_BASE_H}
 gen${f}: gen${f}.lo ${GENPROG_RTL_DEPENDS} 
 	${_MKTARGET_LINK}
 	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
@@ -341,15 +339,15 @@ CLEANFILES+=	gen${f} gen${f}.lo
 .endfor
 
 .for f in mddeps constants enums
-gen${f}.lo: ${HH} gen${f}.c
-gen${f}: gen${f}.lo ${GENPROG_READER_DEPENDS} 
+gen${f}.lo: ${HH} gen${f}.c ${G_RTL_BASE_H}
+gen${f}: gen${f}.lo ${GENPROG_READER_DEPENDS}
 	${_MKTARGET_LINK}
 	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
 CLEANFILES+=	gen${f} gen${f}.lo
 .endfor
 
 .for f in check checksum
-gen${f}.lo: ${HH} gen${f}.c
+gen${f}.lo: ${HH} gen${f}.c ${G_RTL_BASE_H}
 gen${f}: gen${f}.lo
 	${_MKTARGET_LINK}
 	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
@@ -421,7 +419,7 @@ CLEANFILES+=	insn-conditions.md 
 
 # build params.list for params.h.
 params.h: params.list
-DPSRCS+= params.h
+${SRCS}: params.list
 params-list.h: params.def
 params.list: params-list.h
 	${CPP} ${.ALLSRC} | sed 's/^#.*//;/^$$/d' > params.list.tmp && \
@@ -450,10 +448,10 @@ ${CASECFNDEPS}: case-cfn-macros.h
 #
 genextract.lo: insn-config.h
 gencondmd.lo: tm_p.h tm-constrs.h
-read-rtl.lo gencodes.lo genattrtab.lo genautomata.lo: insn-constants.h
-genattr-common.lo gensupport.lo g

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

2018-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb  5 06:13:33 UTC 2018

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc: auto-host.h
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64: auto-host.h
src/external/gpl3/gcc/usr.bin/gcc/arch/x86_64: auto-host.h configargs.h
multilib.h

Log Message:
more mknative-gcc 6.5 for sparc, sparc64 and amd64.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc/auto-host.h
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/auto-host.h
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/usr.bin/gcc/arch/x86_64/auto-host.h
cvs rdiff -u -r1.34 -r1.35 \
src/external/gpl3/gcc/usr.bin/gcc/arch/x86_64/configargs.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/usr.bin/gcc/arch/x86_64/multilib.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/sparc/auto-host.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/sparc/auto-host.h:1.10 src/external/gpl3/gcc/usr.bin/gcc/arch/sparc/auto-host.h:1.11
--- src/external/gpl3/gcc/usr.bin/gcc/arch/sparc/auto-host.h:1.10	Sun Feb  4 01:17:45 2018
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/sparc/auto-host.h	Mon Feb  5 06:13:33 2018
@@ -704,7 +704,7 @@
 
 /* Define if  defines clock_t. */
 #ifndef USED_FOR_TARGET
-/* #undef HAVE_CLOCK_T */
+#define HAVE_CLOCK_T 1
 #endif
 
 
@@ -717,33 +717,33 @@
 /* Define to 1 if we found a declaration for 'abort', otherwise define to 0.
*/
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_ABORT 0
+#define HAVE_DECL_ABORT 1
 #endif
 
 
 /* Define to 1 if we found a declaration for 'asprintf', otherwise define to
0. */
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_ASPRINTF 0
+#define HAVE_DECL_ASPRINTF 1
 #endif
 
 
 /* Define to 1 if we found a declaration for 'atof', otherwise define to 0. */
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_ATOF 0
+#define HAVE_DECL_ATOF 1
 #endif
 
 
 /* Define to 1 if we found a declaration for 'atol', otherwise define to 0. */
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_ATOL 0
+#define HAVE_DECL_ATOL 1
 #endif
 
 
 /* Define to 1 if we found a declaration for 'atoll', otherwise define to 0.
*/
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_ATOLL 0
+#define HAVE_DECL_ATOLL 1
 #endif
 
 
@@ -757,7 +757,7 @@
 /* Define to 1 if we found a declaration for 'calloc', otherwise define to 0.
*/
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_CALLOC 0
+#define HAVE_DECL_CALLOC 1
 #endif
 
 
@@ -771,14 +771,14 @@
 /* Define to 1 if we found a declaration for 'clock', otherwise define to 0.
*/
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_CLOCK 0
+#define HAVE_DECL_CLOCK 1
 #endif
 
 
 /* Define to 1 if we found a declaration for 'errno', otherwise define to 0.
*/
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_ERRNO 0
+#define HAVE_DECL_ERRNO 1
 #endif
 
 
@@ -805,7 +805,7 @@
 
 /* Define to 1 if we found a declaration for 'ffs', otherwise define to 0. */
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_FFS 0
+#define HAVE_DECL_FFS 1
 #endif
 
 
@@ -860,7 +860,7 @@
 
 /* Define to 1 if we found a declaration for 'free', otherwise define to 0. */
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_FREE 0
+#define HAVE_DECL_FREE 1
 #endif
 
 
@@ -874,63 +874,63 @@
 /* Define to 1 if we found a declaration for 'getchar_unlocked', otherwise
define to 0. */
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_GETCHAR_UNLOCKED 0
+#define HAVE_DECL_GETCHAR_UNLOCKED 1
 #endif
 
 
 /* Define to 1 if we found a declaration for 'getcwd', otherwise define to 0.
*/
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_GETCWD 0
+#define HAVE_DECL_GETCWD 1
 #endif
 
 
 /* Define to 1 if we found a declaration for 'getc_unlocked', otherwise define
to 0. */
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_GETC_UNLOCKED 0
+#define HAVE_DECL_GETC_UNLOCKED 1
 #endif
 
 
 /* Define to 1 if we found a declaration for 'getenv', otherwise define to 0.
*/
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_GETENV 0
+#define HAVE_DECL_GETENV 1
 #endif
 
 
 /* Define to 1 if we found a declaration for 'getopt', otherwise define to 0.
*/
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_GETOPT 0
+#define HAVE_DECL_GETOPT 1
 #endif
 
 
 /* Define to 1 if we found a declaration for 'getpagesize', otherwise define
to 0. */
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_GETPAGESIZE 0
+#define HAVE_DECL_GETPAGESIZE 1
 #endif
 
 
 /* Define to 1 if we found a declaration for 'getrlimit', otherwise define to
0. */
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_GETRLIMIT 0
+#define HAVE_DECL_GETRLIMIT 1
 #endif
 
 
 /* Define to 1 if we found a declaration for 'getrusage', otherwise define to
0. */
 #ifndef USED_FOR_TARGET
-#define HAVE_DECL_GETRUSAGE 0
+#define HAVE_DECL_GETRUSAGE 1
 #endif
 
 
 /* Define to 1 if we found a declaration for 'getwd', otherwise defi

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

2018-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb  4 10:16:07 UTC 2018

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

Log Message:
make libbackend.a build and fix the libcommon.a sources list.
now all the gcc parts link.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/common/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.40 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.41
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.40	Sun Feb  4 09:22:03 2018
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sun Feb  4 10:16:07 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.40 2018/02/04 09:22:03 mrg Exp $
+#	$NetBSD: Makefile,v 1.41 2018/02/04 10:16:07 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -554,6 +554,11 @@ COPTS.generic-match.c+=-fno-jump-tables
 COPTS.gimple-match.c+=-fno-jump-tables
 .endif
 
+# Don't fight with decimal128Local.h.
+# The GCC build only ignores the warning?
+COPTS.dfp.c+=	-fno-strict-aliasing
+
+CFLAGS+= -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
 
 .PATH: ${DIST}/gcc ${DIST}/libiberty ${GCCARCH} ${G_out_file:H} ${DIST}/include
 .PATH: ${DIST}/gcc/config

Index: src/external/gpl3/gcc/usr.bin/common/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common/Makefile:1.5 src/external/gpl3/gcc/usr.bin/common/Makefile:1.6
--- src/external/gpl3/gcc/usr.bin/common/Makefile:1.5	Wed Nov 15 07:47:40 2017
+++ src/external/gpl3/gcc/usr.bin/common/Makefile	Sun Feb  4 10:16:07 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2017/11/15 07:47:40 mrg Exp $
+#	$NetBSD: Makefile,v 1.6 2018/02/04 10:16:07 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -9,11 +9,15 @@ LIB=		common
 
 SRCS=		diagnostic.c \
 		diagnostic-color.c \
+		diagnostic-show-locus.o \
 		pretty-print.c \
-		intl.c \
 		vec.c \
+		intl.c \
 		input.c \
-		version.c
+		version.c \
+		hash-table.c \
+		ggc-none.c \
+		memory-block.cc
 
 # XXX make sure this doesn't have more than it needs
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \



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

2018-02-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb  4 09:22:03 UTC 2018

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.inc
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/gcc/arch/i386: auto-host.h configargs.h

Log Message:
partial work-in-progress to build GCC 6.4 natively:
- use -std=gnu++98 by default.
- add build support for new GCC generators, etc.
- regen i386 mknative files.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/external/gpl3/gcc/usr.bin/Makefile.inc
cvs rdiff -u -r1.39 -r1.40 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.11 -r1.12 \
src/external/gpl3/gcc/usr.bin/gcc/arch/i386/auto-host.h
cvs rdiff -u -r1.32 -r1.33 \
src/external/gpl3/gcc/usr.bin/gcc/arch/i386/configargs.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/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.29 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.30
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.29	Tue Aug 22 09:17:50 2017
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Sun Feb  4 09:22:03 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.29 2017/08/22 09:17:50 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.30 2018/02/04 09:22:03 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -39,6 +39,8 @@ FRONTENDOBJ!=		cd ${.CURDIR}/../frontend
 NBCOMPATLIB=   -L${TOOLDIR}/lib -lnbcompat
 .endif
 
+CXXFLAGS+=	-std=gnu++98
+
 GNUHOSTDIST=	${DIST}
 BUILD_PREFIX=	${C_BUILD_PREFIX}
 

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.39 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.40
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.39	Sun Oct  8 11:08:55 2017
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sun Feb  4 09:22:03 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.39 2017/10/08 11:08:55 joerg Exp $
+#	$NetBSD: Makefile,v 1.40 2018/02/04 09:22:03 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -21,6 +21,8 @@ CPPFLAGS+=	-I${.CURDIR}/../../lib/libgcc
 CPPFLAGS.cppdefault.c+=	-DPREFIX=\"/usr\" \
 			-DNATIVE_SYSTEM_HEADER_DIR=\"${G_NATIVE_SYSTEM_HEADER_DIR}\"
 
+HOST_CXXFLAGS+=	-std=gnu++98
+
 HOSTPROG_CXX=	1
 
 .include 
@@ -172,10 +174,10 @@ genmodes: genmodes.lo build-errors.lo
 
 CLEANFILES+=	genmodes insn-modes.c insn-modes.h-test min-insn-modes.c
 
-gimple-match.c: genmatch
+gimple-match.c: genmatch cfn-operators.pd
 	./genmatch --gimple ${GNUHOSTDIST}/gcc/match.pd > gimple-match.c.tmp
 	mv gimple-match.c.tmp gimple-match.c
-generic-match.c: genmatch
+generic-match.c: genmatch cfn-operators.pd
 	./genmatch --generic ${GNUHOSTDIST}/gcc/match.pd > generic-match.c.tmp
 	mv generic-match.c.tmp generic-match.c
 genmatch.lo: ${HH_NORTL} ${G_GGC_H}
@@ -208,13 +210,15 @@ ${G_OBJS} ${G_OBJS:.o=.d}:	tm_p.h		# XXX
 # depends upon) it.
 CLEANFILES+=	auto-build.h
 HOST_CFLAGS+= -I${.OBJDIR}
+HOST_CXXFLAGS+= -I${.OBJDIR}
 auto-build.h: gmp.h Makefile
 	${_MKTARGET_CREATE}
 	rm -rf .ab && \
 	mkdir .ab && \
 	(cd .ab && \
 		AWK=${TOOL_AWK:Q} \
-		CC=${ORIGHOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} CXX=${HOST_CXX:Q} \
+		CC=${ORIGHOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} \
+		CXX=${HOST_CXX:Q} CXXFLAGS=${HOST_CXXFLAGS:Q} \
 		MAKE=${TOOL_GMAKE:Q} \
 		CONFIG_SHELL=${HOST_SH:Q} \
 		gcc_cv_ld=${LD:Q} \
@@ -224,7 +228,8 @@ auto-build.h: gmp.h Makefile
 			--host=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \
 			--target=${MACHINE_GNU_PLATFORM} && \
 		mv auto-host.h ../auto-build.h) && \
-	rm -rf .ab
+	true
+	#rm -rf .ab
 
 pass-instances.def: passes.def gen-pass-instances.awk
 	${_MKTARGET_CREATE}
@@ -326,7 +331,8 @@ GENPROG_RTL_DEPENDS=	${G_BUILD_RTL:.o=.l
 # First we generate the rules for the generators.
 #
 .for f in attr attr-common attrtab automata codes conditions config emit \
-	  extract flags opinit output peep preds recog mddump condmd
+	  extract flags opinit output peep preds recog mddump condmd \
+	  target-def cfn-macros
 gen${f}.lo: ${HH} gen${f}.c
 gen${f}: gen${f}.lo ${GENPROG_RTL_DEPENDS} 
 	${_MKTARGET_LINK}
@@ -362,7 +368,8 @@ CLEANFILES+=	gen${f} gen${f}.lo
 
 # RTL based files
 .for f in attr.h attr-common.h codes.h config.h flags.h \
-	  automata.c emit.c extract.c output.c peep.c recog.c
+	  automata.c emit.c extract.c output.c peep.c recog.c \
+	  target-def.h
 insn-${f}: gen${f:R} ${G_md_file} insn-conditions.md
 	${_MKTARGET_CREATE}
 	./gen${f:R} ${G_md_file} insn-conditions.md >${.TARGET}
@@ -412,6 +419,31 @@ insn-conditions.md: gencondmd
 	./gencondmd >${.TARGET}
 CLEANFILES+=	insn-conditions.md 
 
+# build params.list for params.h.
+params.h: params.list
+DPSRCS+= params.h
+params-list.h: params.def
+params.list: params-list.h
+	${CPP} ${.ALLSRC} | sed 's/^#.*//;/^$$/d' > params.list.tmp && \
+	mv params.list.tmp params.list
+CLEANFILES+=	params.list.tmp params.lis

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

2018-02-01 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Feb  1 21:10:46 UTC 2018

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

Log Message:
Install GCC (gcc) headers for Sanitizers

Sync this code with gcc.old.

PR 52265 by Kamil Rytarowski

Proposed and accepted on tech-toolchain@.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/include/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/include/sanitizer/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/include/Makefile
diff -u src/external/gpl3/gcc/usr.bin/include/Makefile:1.9 src/external/gpl3/gcc/usr.bin/include/Makefile:1.10
--- src/external/gpl3/gcc/usr.bin/include/Makefile:1.9	Sun Oct  8 20:40:06 2017
+++ src/external/gpl3/gcc/usr.bin/include/Makefile	Thu Feb  1 21:10:46 2018
@@ -1,7 +1,9 @@
-#	$NetBSD: Makefile,v 1.9 2017/10/08 20:40:06 christos Exp $
+#	$NetBSD: Makefile,v 1.10 2018/02/01 21:10:46 kamil Exp $
 
 .include "../Makefile.inc"
 
+SUBDIR=	sanitizer
+
 .if exists(${.CURDIR}/arch/${GCC_MACHINE_ARCH}.mk)
 .include "${.CURDIR}/arch/${GCC_MACHINE_ARCH}.mk"
 .endif
@@ -25,6 +27,7 @@ CLEANFILES+=	mm_malloc.h
 
 INCSDIR=	/usr/include/gcc-5
 
+.include 
 .include 
 
 .PATH: ${G_EXTRA_HEADERS:H:O:u}

Added files:

Index: src/external/gpl3/gcc/usr.bin/include/sanitizer/Makefile
diff -u /dev/null src/external/gpl3/gcc/usr.bin/include/sanitizer/Makefile:1.1
--- /dev/null	Thu Feb  1 21:10:46 2018
+++ src/external/gpl3/gcc/usr.bin/include/sanitizer/Makefile	Thu Feb  1 21:10:46 2018
@@ -0,0 +1,24 @@
+#	$NetBSD: Makefile,v 1.1 2018/02/01 21:10:46 kamil Exp $
+
+.include "../../../Makefile.gcc_path"
+
+NOOBJ=	#defined
+
+SANITIZER=	${GCCDIST}/libsanitizer
+
+.PATH:	${SANITIZER}/include/sanitizer
+
+INCS=	#
+INCS+=	allocator_interface.h
+INCS+=	asan_interface.h
+INCS+=	common_interface_defs.h
+#INCS+=	dfsan_interface.h # not supported
+#INCS+=	lsan_interface.h # not supported
+#INCS+=	msan_interface.h # not ready in GCC
+INCS+=	tsan_interface_atomic.h
+
+.include 
+
+INCSDIR=	/usr/include/gcc-5/sanitizer
+
+.include 



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

2017-11-14 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Nov 15 07:47:40 UTC 2017

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

Log Message:
pull across from gcc.old:
>https://bugzilla.eng.vmware.com/show_bug.cgi?id=1703878#c118


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/common/Makefile
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/usr.bin/frontend/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/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common/Makefile:1.4 src/external/gpl3/gcc/usr.bin/common/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/common/Makefile:1.4	Tue Mar 15 19:13:22 2016
+++ src/external/gpl3/gcc/usr.bin/common/Makefile	Wed Nov 15 07:47:40 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2016/03/15 19:13:22 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2017/11/15 07:47:40 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -31,6 +31,8 @@ HOSTPROG_CXX=	1
 COPTS.diagnostic.c=	-Wno-stack-protector
 COPTS.intl.c=		-Wno-stack-protector
 
+version.c: ${GCCARCH}/defs.mk ${TOP}/tools/gcc/gcc-version.mk
+
 ${SRCS}: ${GCCARCH}/defs.mk
 
 .include 

Index: src/external/gpl3/gcc/usr.bin/frontend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.10 src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.11
--- src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.10	Tue Mar 15 19:12:06 2016
+++ src/external/gpl3/gcc/usr.bin/frontend/Makefile	Wed Nov 15 07:47:40 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2016/03/15 19:12:06 mrg Exp $
+#	$NetBSD: Makefile,v 1.11 2017/11/15 07:47:40 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -23,6 +23,8 @@ SRCS+=		driver-rs6000.c
 
 .include "../Makefile.target-defines"
 
+version.c: ${GCCARCH}/defs.mk ${TOP}/tools/gcc/gcc-version.mk
+
 CPPFLAGS+=	-I${GCCARCH} -I. \
 		${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
 		-DPREFIX=\"/usr\"



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

2017-10-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Oct  8 20:40:06 UTC 2017

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

Log Message:
sync with gcc.old


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 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/include/Makefile
diff -u src/external/gpl3/gcc/usr.bin/include/Makefile:1.8 src/external/gpl3/gcc/usr.bin/include/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/include/Makefile:1.8	Sat Mar 12 18:07:05 2016
+++ src/external/gpl3/gcc/usr.bin/include/Makefile	Sun Oct  8 16:40:06 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2016/03/12 23:07:05 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2017/10/08 20:40:06 christos Exp $
 
 .include "../Makefile.inc"
 
@@ -8,6 +8,9 @@
 
 INCS= ${G_EXTRA_HEADERS:T}
 
+# Part of the standard headers, the rest of which we replace.
+INCS+=	stdatomic.h
+
 # XXX missed some how
 .if ${GCC_MACHINE_ARCH} == "i386" || ${GCC_MACHINE_ARCH} == "x86_64"
 INCS+=	mm_malloc.h



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

2017-09-12 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Tue Sep 12 09:25:24 UTC 2017

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

Log Message:
Replicate fix from the old gcc.old: alpha.d needs pass-instances.def.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 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.37 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.38
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.37	Mon Jun 26 17:38:10 2017
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Tue Sep 12 09:25:24 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.37 2017/06/26 17:38:10 joerg Exp $
+#	$NetBSD: Makefile,v 1.38 2017/09/12 09:25:24 he Exp $
 
 LIBISPRIVATE=	yes
 
@@ -445,6 +445,7 @@ final.o: target-hooks-def.h c-family/c-t
 
 .if ${GCC_MACHINE_ARCH} == "alpha"
 alpha.d alpha.o: tm-constrs.h tm_p.h insn-opinit.h target-hooks-def.h
+alpha.d: pass-instances.def
 .endif
 
 .if ${MACHINE_CPU} == "arm"



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

2017-06-26 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Jun 26 17:38:10 UTC 2017

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

Log Message:
Honor HOST_CXX.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.2 -r1.3 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/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.36 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.37
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.36	Tue Feb 14 00:20:20 2017
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Jun 26 17:38:10 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.36 2017/02/14 00:20:20 rin Exp $
+#	$NetBSD: Makefile,v 1.37 2017/06/26 17:38:10 joerg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -210,7 +210,7 @@ auto-build.h: gmp.h Makefile
 	mkdir .ab && \
 	(cd .ab && \
 		AWK=${TOOL_AWK:Q} \
-		CC=${ORIGHOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} \
+		CC=${ORIGHOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} CXX=${HOST_CXX:Q} \
 		MAKE=${TOOL_GMAKE:Q} \
 		CONFIG_SHELL=${HOST_SH:Q} \
 		gcc_cv_ld=${LD:Q} \

Index: src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.2 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.2	Sun Aug 14 16:04:50 2016
+++ src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile	Mon Jun 26 17:38:10 2017
@@ -1,14 +1,14 @@
-#	$NetBSD: Makefile,v 1.2 2016/08/14 16:04:50 tls Exp $
+#	$NetBSD: Makefile,v 1.3 2017/06/26 17:38:10 joerg Exp $
 
 libcpp/libcpp.a:
 	[ ! -d libcpp ] && mkdir libcpp || true
 	(cd libcpp; \
-		CC=${HOST_CC:Q} \
+		CC=${HOST_CC:Q} CXX=${HOST_CXX:Q}  \
 		CFLAGS=${HOST_CFLAGS:Q} \
 		MAKE=${TOOL_GMAKE:Q} \
 		CONFIG_SHELL=${HOST_SH:Q} \
 		${HOST_SH} ${DIST}/libcpp/configure -v am_cv_func_iconv=no \
-		&& CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} ${TOOL_GMAKE})
+		&& CC=${HOST_CC:Q} CXX=${HOST_CXX:Q} CFLAGS=${HOST_CFLAGS:Q} ${TOOL_GMAKE})
 
 cleandir:
 	-rm -rf libcpp



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

2017-06-08 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jun  8 19:21:55 UTC 2017

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

Log Message:
regen after new binutils


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/auto-host.h
cvs rdiff -u -r1.20 -r1.21 \
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/configargs.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/mips64el/auto-host.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/auto-host.h:1.10 src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/auto-host.h:1.11
--- src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/auto-host.h:1.10	Tue Jun  7 18:53:03 2016
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/auto-host.h	Thu Jun  8 19:21:54 2017
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.87 2016/03/17 23:41:21 mrg Exp  */
+/* Generated from: NetBSD: mknative-gcc,v 1.89 2016/10/05 19:25:49 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
 /* auto-host.h.  Generated from config.in by configure.  */
@@ -297,7 +297,7 @@
 
 /* Define if your assembler supports .module. */
 #ifndef USED_FOR_TARGET
-/* #undef HAVE_AS_DOT_MODULE */
+#define HAVE_AS_DOT_MODULE 1
 #endif
 
 
@@ -509,7 +509,7 @@
 
 /* Define if the assembler understands -mnan=. */
 #ifndef USED_FOR_TARGET
-/* #undef HAVE_AS_NAN */
+#define HAVE_AS_NAN 1
 #endif
 
 

Index: src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/configargs.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/configargs.h:1.20 src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/configargs.h:1.21
--- src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/configargs.h:1.20	Tue Oct 18 01:33:01 2016
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/configargs.h	Thu Jun  8 19:21:54 2017
@@ -3,7 +3,7 @@
 /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
 /* Generated automatically. */
-static const char configuration_arguments[] = "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=mips64el--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20160606' --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-mpc-lib=/var/obj/mknative/evbmips-mips64el/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/evbmips-mips64el/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/evbmips-mips64el/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/mips64el --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd7.0 --host=mips64el--netbsd --with-sysroot=/var/
 obj/mknative/evbmips-mips64el/usr/src/destdir.evbmips";
+static const char configuration_arguments[] = "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=mips64el--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20160606' --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-mpc-lib=/var/obj/mknative/evbmips-mips64el/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/evbmips-mips64el/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/evbmips-mips64el/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/mips64el --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd7.1 --host=mips64el--netbsd --with-sysroot=/var/
 obj/mknative/evbmips-mips64el/usr/src/destdir.evbmips";
 static const char thread_model[] = "posix";
 
 static const struct {



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

2017-02-13 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Tue Feb 14 00:20:20 UTC 2017

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

Log Message:
sorry, fix comment...


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 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.35 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.36
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.35	Mon Feb 13 22:31:09 2017
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Tue Feb 14 00:20:20 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.35 2017/02/13 22:31:09 rin Exp $
+#	$NetBSD: Makefile,v 1.36 2017/02/14 00:20:20 rin Exp $
 
 LIBISPRIVATE=	yes
 
@@ -461,7 +461,7 @@ CPPFLAGS+=-I${.CURDIR}/../../lib/libgcc/
 COPTS.builtins.c+=-O0
 COPTS.convert.c+=-O0
 COPTS.dwarf2out.c+=-O0
-COPTS.dse.c+=-O0	/* port-vax/51967 */
+COPTS.dse.c+=-O0	# XXX port-vax/51967
 COPTS.expmed.c+=-O0
 COPTS.expr.c+=-O0
 COPTS.fixed-value.c+=-O0



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

2016-10-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct  6 02:58:32 UTC 2016

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

Log Message:
fix ssp build on amigappc


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 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.4 src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.4	Sat May 31 18:55:17 2014
+++ src/external/gpl3/gcc/usr.bin/common-target/Makefile	Wed Oct  5 22:58:32 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2014/05/31 22:55:17 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2016/10/06 02:58:32 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -19,8 +19,9 @@ CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} 
 		-DCONFIGURE_SPECS="\"\"" \
 		-I${BACKENDOBJ}
 
-COPTS.prefix.c=		-Wno-stack-protector
-COPTS.opts-common.c=	-Wno-stack-protector
+COPTS.prefix.c+=	-Wno-stack-protector
+COPTS.opts-common.c+=	-Wno-stack-protector
+COPTS.rs6000-common.c+=	-Wno-stack-protector
 
 GENPROG_ERROR_DEPENDS=errors.lo
 



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

2016-09-29 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Sep 29 20:08:25 UTC 2016

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

Log Message:
Run configure with MAKE=${TOOL_GMAKE:Q} - otherwise "checking
dependency style" test fails on non-netbsd hosts where nbmake can't
find share/mk.

Ok phone@


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 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.33 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.34
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.33	Sat Sep  3 15:47:54 2016
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Thu Sep 29 20:08:25 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.33 2016/09/03 15:47:54 christos Exp $
+#	$NetBSD: Makefile,v 1.34 2016/09/29 20:08:25 uwe Exp $
 
 LIBISPRIVATE=	yes
 
@@ -211,7 +211,7 @@ auto-build.h: gmp.h Makefile
 	(cd .ab && \
 		AWK=${TOOL_AWK:Q} \
 		CC=${ORIGHOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} \
-		MAKE=${MAKE:Q} \
+		MAKE=${TOOL_GMAKE:Q} \
 		CONFIG_SHELL=${HOST_SH:Q} \
 		gcc_cv_ld=${LD:Q} \
 		gcc_cv_as=${AS:Q} \



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

2016-09-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Sep  3 15:47:54 UTC 2016

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

Log Message:
gcc generates incorrect jump tables with -fPIE


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 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.32 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.33
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.32	Thu Jun 16 23:27:50 2016
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sat Sep  3 11:47:54 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.32 2016/06/17 03:27:50 skrll Exp $
+#	$NetBSD: Makefile,v 1.33 2016/09/03 15:47:54 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -511,7 +511,9 @@ CFLAGS+=	-Wno-stack-protector
 
 .if ${GCC_MACHINE_ARCH} == "m68000" || ${GCC_MACHINE_ARCH} == "m68k" || \
 	${GCC_MACHINE_ARCH} == "coldfire"
-COPTS.tree-loop-distribution.c=	-O2
+COPTS.tree-loop-distribution.c+=-O2
+COPTS.generic-match.c+=-fno-jump-tables
+COPTS.gimple-match.c+=-fno-jump-tables
 .endif
 
 



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

2016-08-14 Thread Thor Lancelot Simon
Module Name:src
Committed By:   tls
Date:   Sun Aug 14 16:04:50 UTC 2016

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

Log Message:
Disable iconv in host-libcpp autoconf: fixes build on Mac OS X.
Thanks to joerg@ for the diagnosis and proposed fix.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 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.1 src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.1	Tue Mar 15 19:14:47 2016
+++ src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile	Sun Aug 14 16:04:50 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2016/03/15 19:14:47 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2016/08/14 16:04:50 tls Exp $
 
 libcpp/libcpp.a:
 	[ ! -d libcpp ] && mkdir libcpp || true
@@ -7,7 +7,7 @@ libcpp/libcpp.a:
 		CFLAGS=${HOST_CFLAGS:Q} \
 		MAKE=${TOOL_GMAKE:Q} \
 		CONFIG_SHELL=${HOST_SH:Q} \
-		${HOST_SH} ${DIST}/libcpp/configure \
+		${HOST_SH} ${DIST}/libcpp/configure -v am_cv_func_iconv=no \
 		&& CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} ${TOOL_GMAKE})
 
 cleandir:



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

2016-06-16 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Jun 17 03:27:50 UTC 2016

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

Log Message:
arm-builtins needs insn-opinit.h

I had this sitting in my tree already, but prompted by Michael Plass on
port-arm


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 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.31 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.32
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.31	Wed May  4 00:28:23 2016
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Fri Jun 17 03:27:50 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.31 2016/05/04 00:28:23 mrg Exp $
+#	$NetBSD: Makefile,v 1.32 2016/06/17 03:27:50 skrll Exp $
 
 LIBISPRIVATE=	yes
 
@@ -449,6 +449,7 @@ alpha.d alpha.o: tm-constrs.h tm_p.h ins
 
 .if ${MACHINE_CPU} == "arm"
 arm.d arm.o: insn-constants.h tm_p.h insn-opinit.h target-hooks-def.h
+arm-builtins.d arm-builtins.o: insn-opinit.h
 .endif
 
 .if ${GCC_MACHINE_ARCH} == "i386" || ${GCC_MACHINE_ARCH} == "x86_64"



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

2016-06-09 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Jun 10 01:13:05 UTC 2016

Added Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64: insn-modes.h

Log Message:
add missed file for ppc64 gcc5.4 mknative.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/insn-modes.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/powerpc64/insn-modes.h
diff -u /dev/null src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/insn-modes.h:1.1
--- /dev/null	Fri Jun 10 01:13:05 2016
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/insn-modes.h	Fri Jun 10 01:13:05 2016
@@ -0,0 +1,459 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from: NetBSD: mknative-gcc,v 1.87 2016/03/17 23:41:21 mrg Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
+
+/* Generated automatically from machmode.def and config/rs6000/rs6000-modes.def
+   by genmodes.  */
+
+#ifndef GCC_INSN_MODES_H
+#define GCC_INSN_MODES_H
+
+enum machine_mode
+{
+  VOIDmode,/* machmode.def:172 */
+#define HAVE_VOIDmode
+  BLKmode, /* machmode.def:176 */
+#define HAVE_BLKmode
+  CCmode,  /* machmode.def:214 */
+#define HAVE_CCmode
+  CCUNSmode,   /* config/rs6000/rs6000-modes.def:32 */
+#define HAVE_CCUNSmode
+  CCFPmode,/* config/rs6000/rs6000-modes.def:33 */
+#define HAVE_CCFPmode
+  CCEQmode,/* config/rs6000/rs6000-modes.def:34 */
+#define HAVE_CCEQmode
+  BImode,  /* machmode.def:179 */
+#define HAVE_BImode
+  QImode,  /* machmode.def:187 */
+#define HAVE_QImode
+  HImode,  /* machmode.def:188 */
+#define HAVE_HImode
+  SImode,  /* machmode.def:189 */
+#define HAVE_SImode
+  DImode,  /* machmode.def:190 */
+#define HAVE_DImode
+  TImode,  /* machmode.def:191 */
+#define HAVE_TImode
+  PTImode, /* config/rs6000/rs6000-modes.def:49 */
+#define HAVE_PTImode
+  QQmode,  /* machmode.def:217 */
+#define HAVE_QQmode
+  HQmode,  /* machmode.def:218 */
+#define HAVE_HQmode
+  SQmode,  /* machmode.def:219 */
+#define HAVE_SQmode
+  DQmode,  /* machmode.def:220 */
+#define HAVE_DQmode
+  TQmode,  /* machmode.def:221 */
+#define HAVE_TQmode
+  UQQmode, /* machmode.def:223 */
+#define HAVE_UQQmode
+  UHQmode, /* machmode.def:224 */
+#define HAVE_UHQmode
+  USQmode, /* machmode.def:225 */
+#define HAVE_USQmode
+  UDQmode, /* machmode.def:226 */
+#define HAVE_UDQmode
+  UTQmode, /* machmode.def:227 */
+#define HAVE_UTQmode
+  HAmode,  /* machmode.def:229 */
+#define HAVE_HAmode
+  SAmode,  /* machmode.def:230 */
+#define HAVE_SAmode
+  DAmode,  /* machmode.def:231 */
+#define HAVE_DAmode
+  TAmode,  /* machmode.def:232 */
+#define HAVE_TAmode
+  UHAmode, /* machmode.def:234 */
+#define HAVE_UHAmode
+  USAmode, /* machmode.def:235 */
+#define HAVE_USAmode
+  UDAmode, /* machmode.def:236 */
+#define HAVE_UDAmode
+  UTAmode, /* machmode.def:237 */
+#define HAVE_UTAmode
+  SFmode,  /* machmode.def:209 */
+#define HAVE_SFmode
+  DFmode,  /* machmode.def:210 */
+#define HAVE_DFmode
+  TFmode,  /* config/rs6000/rs6000-modes.def:23 */
+#define HAVE_TFmode
+  SDmode,  /* machmode.def:249 */
+#define HAVE_SDmode
+  DDmode,  /* machmode.def:250 */
+#define HAVE_DDmode
+  TDmode,  /* machmode.def:251 */
+#define HAVE_TDmode
+  CQImode, /* machmode.def:245 */
+#define HAVE_CQImode
+  CHImode, /* machmode.def:245 */
+#define HAVE_CHImode
+  CSImode, /* machmode.def:245 */
+#define HAVE_CSImode
+  CDImode, /* machmode.def:245 */
+#define HAVE_CDImode
+  CTImode, /* machmode.def:245 */
+#define HAVE_CTImode
+  SCmode,  /* machmode.def:246 */
+#define HAVE_SCmode
+  DCmode,  /* machmode.def:246 */
+#define HAVE_DCmode
+  TCmode,  /* machmode.def:246 */
+#define HAVE_TCmode
+  V8QImode,/* config/rs6000/rs6000-modes.def:37 */
+#define HAVE_V8QImode
+  V4HImode,/* config/rs6000/rs6000-modes.def:37 */
+#define HAVE_V4HImode
+  V2SImode,/* config/rs6000/rs6000-modes.def:37 */
+#define HAVE_V2SImode
+  V1DImode,/* config/rs6000/rs6000-modes.def:40 */
+#define HAVE_V1DImode
+  V16QImode,   /* config/rs6000/rs6000-modes.def:38 */
+#define HAVE_V16QImode
+

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

2016-04-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr 19 21:11:05 UTC 2016

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

Log Message:
Enable minimal warnings, disabling the unused and narrowing ones that gcc
authors don't seem to pay attention to.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 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.26 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.27
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.26	Tue Mar 15 15:14:47 2016
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Tue Apr 19 17:11:05 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.26 2016/03/15 19:14:47 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.27 2016/04/19 21:11:05 christos Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -100,4 +100,7 @@ CPPFLAGS+=	-DNO_SHARED_LIBGCC_MULTILIB
 
 NOCLANGERROR=	# defined
 
+WARNS=1
+COPTS+=-Wno-narrowing -Wno-unused
+
 .endif



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

2016-03-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Mar 24 00:02:52 UTC 2016

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
src/external/gpl3/gcc/usr.bin/lto1: Makefile

Log Message:
XXX: gcc -O0 for vax


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
cvs rdiff -u -r1.3 -r1.4 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.29 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.30
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.29	Tue Mar 22 01:08:38 2016
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Wed Mar 23 20:02:52 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.29 2016/03/22 05:08:38 mrg Exp $
+#	$NetBSD: Makefile,v 1.30 2016/03/24 00:02:52 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -454,8 +454,53 @@ i386.d i386.o: tm-constrs.h
 
 .if ${GCC_MACHINE_ARCH} == "vax"
 CPPFLAGS+=-I${.CURDIR}/../../lib/libgcc/libgcov/arch/${GCC_MACHINE_ARCH}
-COPTS.expmed.c=-O0
-COPTS.recog.c=-O0
+COPTS.builtins.c+=-O0
+COPTS.convert.c+=-O0
+COPTS.dwarf2out.c+=-O0
+COPTS.expmed.c+=-O0
+COPTS.expr.c+=-O0
+COPTS.fixed-value.c+=-O0
+COPTS.fold-const.c+=-O0
+COPTS.gimple-fold.c+=-O0
+COPTS.gimple-ssa-strength-reduction.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.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-eh.c+=-O0
+COPTS.tree-object-size.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-pre.c+=-O0
+COPTS.tree-ssa-reassoc.c+=-O0
+COPTS.tree-ssa-uninit.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-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.wide-int.c+=-O0
+.else
+COPTS.tree.c=	${${ACTIVE_CC} == "clang" :? -O0 :}
 .endif
 
 CFLAGS+=	-Wno-stack-protector
@@ -465,7 +510,6 @@ CFLAGS+=	-Wno-stack-protector
 COPTS.tree-loop-distribution.c=	-O2
 .endif
 
-COPTS.tree.c=	${${ACTIVE_CC} == "clang" :? -O0 :}
 
 .PATH: ${DIST}/gcc ${DIST}/libiberty ${GCCARCH} ${G_out_file:H} ${DIST}/include
 .PATH: ${DIST}/gcc/config

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.11 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.12
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.11	Tue Mar 22 01:08:38 2016
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Wed Mar 23 20:02:52 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2016/03/22 05:08:38 mrg Exp $
+#	$NetBSD: Makefile,v 1.12 2016/03/24 00:02:52 christos Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -51,6 +51,17 @@ CPPFLAGS.default-c.c+=	-I${BACKENDOBJ}
 BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh-c.cc sh-c.c
 .endif
 
+.if ${MACHINE_CPU} == "vax"
+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
+
 LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
 DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
 

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.9 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.10
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.9	Fri Mar 18 13:52:30 2016
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Wed Mar 23 20:02:52 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2016/03/18 17:52:30 christos Exp $
+#	$NetBSD: Makefile,v 1.10 2016/03/24 00:02:52 christos Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -49,6 +49,17 @@ COPTS.objc-act.c+=			-Wno-stack-protecto
 COPTS.objc-gnu-runtime-abi-01.c+=	-Wno-stack-protector
 COPTS.objc-next-runtime-abi-01.c+=	-Wno-stack-protector
 
+.if ${MACHINE_ARCH} == "vax"
+COPTS.c-decl.c+=-O0
+COPTS.c-typeck.c+=-O0
+COPTS.c-array-notat

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

2016-03-21 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Mar 22 05:08:38 UTC 2016

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

Log Message:
XXXGCC5: add symlinks for SH .cc files.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.10 -r1.11 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/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.28 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.29
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.28	Wed Mar 16 10:56:20 2016
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Tue Mar 22 05:08:38 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.28 2016/03/16 10:56:20 mrg Exp $
+#	$NetBSD: Makefile,v 1.29 2016/03/22 05:08:38 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -18,10 +18,18 @@ CPPFLAGS.cppdefault.c+=	-DPREFIX=\"/usr\
 
 HOSTPROG_CXX=	1
 
+.include 
+
 # XXX ${G_OBJS:.o=.c} is invalid in GCC 5.3, but work around for now
 BUILDSYMLINKS+=	${GNUHOSTDIST}/gcc/wide-int-print.cc wide-int-print.c
 BUILDSYMLINKS+=	${GNUHOSTDIST}/gcc/wide-int.cc wide-int.c
 
+.if ${MACHINE_CPU} == "sh3"
+BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh-mem.cc sh-mem.c
+BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh_treg_combine.cc sh_treg_combine.c
+BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh_optimize_sett_clrt.cc sh_optimize_sett_clrt.c
+.endif
+
 .include 
 
 # Force using C++ for this

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.10 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.11
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.10	Fri Mar 18 17:52:30 2016
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Tue Mar 22 05:08:38 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2016/03/18 17:52:30 christos Exp $
+#	$NetBSD: Makefile,v 1.11 2016/03/22 05:08:38 mrg Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -47,6 +47,10 @@ COPTS.c-typeck.c=	-Wno-stack-protector
 
 CPPFLAGS.default-c.c+=	-I${BACKENDOBJ}
 
+.if ${MACHINE_CPU} == "sh3"
+BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh-c.cc sh-c.c
+.endif
+
 LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
 DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
 



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

2016-03-18 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Mar 18 20:40:22 UTC 2016

Added Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha: insn-modes.h
src/external/gpl3/gcc/usr.bin/gcc/arch/hppa: insn-modes.h
src/external/gpl3/gcc/usr.bin/gcc/arch/m68000: insn-modes.h
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k: insn-modes.h
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64eb: insn-modes.h
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el: insn-modes.h
src/external/gpl3/gcc/usr.bin/gcc/arch/mipseb: insn-modes.h
src/external/gpl3/gcc/usr.bin/gcc/arch/mipsel: insn-modes.h
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc: insn-modes.h
src/external/gpl3/gcc/usr.bin/gcc/arch/sh3eb: insn-modes.h
src/external/gpl3/gcc/usr.bin/gcc/arch/sh3el: insn-modes.h

Log Message:
add missing insn-modes.h files from earlier regen.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/insn-modes.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/hppa/insn-modes.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68000/insn-modes.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/insn-modes.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64eb/insn-modes.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/insn-modes.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/mipseb/insn-modes.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/mipsel/insn-modes.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/insn-modes.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/sh3eb/insn-modes.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/gcc/arch/sh3el/insn-modes.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/alpha/insn-modes.h
diff -u /dev/null src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/insn-modes.h:1.1
--- /dev/null	Fri Mar 18 20:40:22 2016
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/insn-modes.h	Fri Mar 18 20:40:21 2016
@@ -0,0 +1,364 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from: NetBSD: mknative-gcc,v 1.87 2016/03/17 23:41:21 mrg Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
+
+/* Generated automatically from machmode.def and config/alpha/alpha-modes.def
+   by genmodes.  */
+
+#ifndef GCC_INSN_MODES_H
+#define GCC_INSN_MODES_H
+
+enum machine_mode
+{
+  VOIDmode,/* machmode.def:172 */
+#define HAVE_VOIDmode
+  BLKmode, /* machmode.def:176 */
+#define HAVE_BLKmode
+  CCmode,  /* machmode.def:214 */
+#define HAVE_CCmode
+  BImode,  /* machmode.def:179 */
+#define HAVE_BImode
+  QImode,  /* machmode.def:187 */
+#define HAVE_QImode
+  HImode,  /* machmode.def:188 */
+#define HAVE_HImode
+  SImode,  /* machmode.def:189 */
+#define HAVE_SImode
+  DImode,  /* machmode.def:190 */
+#define HAVE_DImode
+  TImode,  /* machmode.def:191 */
+#define HAVE_TImode
+  QQmode,  /* machmode.def:217 */
+#define HAVE_QQmode
+  HQmode,  /* machmode.def:218 */
+#define HAVE_HQmode
+  SQmode,  /* machmode.def:219 */
+#define HAVE_SQmode
+  DQmode,  /* machmode.def:220 */
+#define HAVE_DQmode
+  TQmode,  /* machmode.def:221 */
+#define HAVE_TQmode
+  UQQmode, /* machmode.def:223 */
+#define HAVE_UQQmode
+  UHQmode, /* machmode.def:224 */
+#define HAVE_UHQmode
+  USQmode, /* machmode.def:225 */
+#define HAVE_USQmode
+  UDQmode, /* machmode.def:226 */
+#define HAVE_UDQmode
+  UTQmode, /* machmode.def:227 */
+#define HAVE_UTQmode
+  HAmode,  /* machmode.def:229 */
+#define HAVE_HAmode
+  SAmode,  /* machmode.def:230 */
+#define HAVE_SAmode
+  DAmode,  /* machmode.def:231 */
+#define HAVE_DAmode
+  TAmode,  /* machmode.def:232 */
+#define HAVE_TAmode
+  UHAmode, /* machmode.def:234 */
+#define HAVE_UHAmode
+  USAmode, /* machmode.def:235 */
+#define HAVE_USAmode
+  UDAmode, /* machmode.def:236 */
+#define HAVE_UDAmode
+  UTAmode, /* machmode.def:237 */
+#define HAVE_UTAmode
+  SFmode,  /* machmode.def:209 */
+#define HAVE_SFmode
+  DFmode,  /* machmode.def:210 */
+#define HAVE_DFmode
+  TFmode,  /* config/alpha/alpha-modes.def:22 */
+#define HAVE_TFmode
+  SDmode,  /* machmode.def:249 */
+#define HAVE_SDmode
+  D

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

2016-03-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Mar 18 17:52:30 UTC 2016

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/lto-wrapper: Makefile

Log Message:
Add more stack-protector elides


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/lto-wrapper/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.9 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.10
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.9	Sat May 31 18:55:17 2014
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Fri Mar 18 13:52:30 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2014/05/31 22:55:17 mrg Exp $
+#	$NetBSD: Makefile,v 1.10 2016/03/18 17:52:30 christos Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -36,6 +36,7 @@ COPTS.c-ada-spec.c=	-Wno-stack-protector
 COPTS.c-aux-info.c=	-Wno-stack-protector
 COPTS.c-common.c=	-Wno-stack-protector
 COPTS.c-cppbuiltin.c=	-Wno-stack-protector
+COPTS.c-decl.c=		-Wno-stack-protector
 COPTS.c-format.c=	-Wno-stack-protector
 COPTS.c-format.h=	-Wno-stack-protector
 COPTS.c-lex.c=		-Wno-stack-protector

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.8 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.8	Sat May 31 18:55:17 2014
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Fri Mar 18 13:52:30 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2014/05/31 22:55:17 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2016/03/18 17:52:30 christos Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -39,6 +39,7 @@ COPTS.c-ada-spec.c+=			-Wno-stack-protec
 COPTS.c-aux-info.c+=			-Wno-stack-protector
 COPTS.c-common.c+=			-Wno-stack-protector
 COPTS.c-cppbuiltin.c+=			-Wno-stack-protector
+COPTS.c-decl.c+=			-Wno-stack-protector
 COPTS.c-format.c+=			-Wno-stack-protector
 COPTS.c-lex.c+=-Wno-stack-protector
 COPTS.c-ppoutput.c+=			-Wno-stack-protector

Index: src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile
diff -u src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile:1.2 src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile:1.2	Tue Mar 15 15:13:22 2016
+++ src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile	Fri Mar 18 13:52:30 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2016/03/15 19:13:22 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2016/03/18 17:52:30 christos Exp $
 
 NOMAN=1
 PROG=		lto-wrapper
@@ -11,6 +11,9 @@ CPPFLAGS+=	-DPREFIX=\"/usr\"
 .include "../Makefile.common-target"
 .include "../Makefile.libcpp"
 
+COPTS.lto-wrapper.c=	-Wno-stack-protector
+
+
 DPADD+= ${LIBIBERTYOBJ}/libiberty.a
 LDADD+= ${LIBIBERTYOBJ}/libiberty.a
 



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

2016-03-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Mar 16 05:33:50 UTC 2016

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

Log Message:
quote AD and LD.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 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.26 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.27
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.26	Tue Mar 15 21:41:36 2016
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Wed Mar 16 05:33:50 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.26 2016/03/15 21:41:36 mrg Exp $
+#	$NetBSD: Makefile,v 1.27 2016/03/16 05:33:50 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -197,8 +197,8 @@ auto-build.h: gmp.h Makefile
 		CC=${ORIGHOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} \
 		MAKE=${MAKE:Q} \
 		CONFIG_SHELL=${HOST_SH:Q} \
-		gcc_cv_ld=${LD} \
-		gcc_cv_as=${AS} \
+		gcc_cv_ld=${LD:Q} \
+		gcc_cv_as=${AS:Q} \
 		${HOST_SH} ${GNUHOSTDIST}/gcc/configure \
 			--build=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \
 			--host=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \



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

2016-03-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Mar 15 21:41:36 UTC 2016

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

Log Message:
port to GCC 5.3:
- handle wide-int{,-print}.cc with a hack
- clean up CLEANFILES
- build gengtype{-lex,-parse,-state,}.c properly
- build genmatch and its outputs
- build pass-instances.def


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 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.25 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.26
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.25	Sat Jan  9 02:05:00 2016
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Tue Mar 15 21:41:36 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.25 2016/01/09 02:05:00 christos Exp $
+#	$NetBSD: Makefile,v 1.26 2016/03/15 21:41:36 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -18,6 +18,10 @@ CPPFLAGS.cppdefault.c+=	-DPREFIX=\"/usr\
 
 HOSTPROG_CXX=	1
 
+# XXX ${G_OBJS:.o=.c} is invalid in GCC 5.3, but work around for now
+BUILDSYMLINKS+=	${GNUHOSTDIST}/gcc/wide-int-print.cc wide-int-print.c
+BUILDSYMLINKS+=	${GNUHOSTDIST}/gcc/wide-int.cc wide-int.c
+
 .include 
 
 # Force using C++ for this
@@ -38,14 +42,12 @@ CLEANFILES+=	gengenrtl genrtl.h \
 		genflags genflags.h \
 		gencheck tree-check.h \
 		insn-preds.c genpreds tm-preds.h tm_p.h cs-tm_p.h \
-		genmodes insn-modes.c insn-modes.h min-insn-modes.c \
-		auto-host.h build-print-rtl.c \
-		build-rtl.c build-errors.c build-varray.c \
-		build-bitmap.c build-ggc-none.c \
+		auto-host.h \
 		gt-*.h *.o *.lo \
 		cs-config.h \
 		gcov-iov gcov-iov.h \
-		gtype-go.h gtype.state
+		gtype-go.h gtype.state \
+		pass-instances.def
 
 # XXX
 COPTS.varasm.c=			-Wno-error
@@ -87,7 +89,7 @@ gtyp-input.list.tmp: ${GCCARCH}/gtyp-inp
 CLEANFILES+=	gtyp-input.list.tmp
 
 # XXX
-CLEANFILES+=	gtype-lto.h gtype-objcp.h tm-constrs.h
+CLEANFILES+=	gtype-lto.h gtype-objcp.h tm-constrs.h gtype-jit.h
 
 gtype-desc.c: gtype-desc.h
 gtype-desc.h: gengtype gtyp-input.list.tmp
@@ -108,6 +110,13 @@ gengtype: gengtype.lo gengtype-lex.lo ge
 	${_MKTARGET_LINK}
 	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY}
 
+# XXX fix this by properly marking all the files that should
+# XXX be built with -DGENERATOR_FILE
+COPTS.gengtype-lex.c=	-UGENERATOR_FILE -DHOST_GENERATOR_FILE
+COPTS.gengtype-parse.c=	-UGENERATOR_FILE -DHOST_GENERATOR_FILE
+COPTS.gengtype-state.c=	-UGENERATOR_FILE -DHOST_GENERATOR_FILE
+COPTS.gengtype.c=	-UGENERATOR_FILE -DHOST_GENERATOR_FILE
+
 gtyp-gen.h: Makefile
 	${_MKTARGET_CREATE}
 	(\
@@ -141,6 +150,21 @@ genmodes: genmodes.lo build-errors.lo
 	${_MKTARGET_LINK}
 	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY}
 
+CLEANFILES+=	genmodes insn-modes.c insn-modes.h min-insn-modes.c
+
+gimple-match.c: genmatch
+	./genmatch --gimple ${GNUHOSTDIST}/gcc/match.pd > gimple-match.c.tmp
+	mv gimple-match.c.tmp gimple-match.c
+generic-match.c: genmatch
+	./genmatch --generic ${GNUHOSTDIST}/gcc/match.pd > generic-match.c.tmp
+	mv generic-match.c.tmp generic-match.c
+genmatch.lo: ${HH_NORTL} ${G_GGC_H}
+genmatch: genmatch.lo build-errors.lo build-vec.lo build-hash-table.lo
+	${_MKTARGET_LINK}
+	${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBCPP} ${HOSTLIBIBERTY}
+
+CLEANFILES+=	genmatch gimple-match.c generic-match.c
+
 gcov-iov.h: gcov-iov
 	${_MKTARGET_CREATE}
 	./gcov-iov "${BASEVER}" "${DEVPHASE}" >${.TARGET}
@@ -176,25 +200,31 @@ auto-build.h: gmp.h Makefile
 		gcc_cv_ld=${LD} \
 		gcc_cv_as=${AS} \
 		${HOST_SH} ${GNUHOSTDIST}/gcc/configure \
-			--enable-lto \
 			--build=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \
 			--host=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \
 			--target=${MACHINE_GNU_PLATFORM} && \
 		mv auto-host.h ../auto-build.h) && \
 	rm -rf .ab
 
+pass-instances.def: passes.def gen-pass-instances.awk
+	${_MKTARGET_CREATE}
+	${TOOL_AWK} -f ${GNUHOSTDIST}/gcc/gen-pass-instances.awk \
+	  ${GNUHOSTDIST}/gcc/passes.def > pass-instances.def
+CLEANFILES+=	pass-instances.def
+
 #
 # These are copies of files we build for the build host that are used
 # by the genfoo programs.
 #
 
 build-rtl.c: rtl.c \
-  ${G_RTL_H} real.h ${G_GCC_H} errors.h gtype-desc.h
+  ${G_RTL_H} real.h ${G_GCC_H} ${G_GGC_H} errors.h
 	${_MKTARGET_CREATE}
 	rm -f build-rtl.c
 	${TOOL_SED} -e 's/${.TARGET}
 build-rtl.lo: ${HH}
+CLEANFILES+=	build-rtl.c
 
 build-print-rtl.c: print-rtl.c \
   ${G_RTL_BASE_H} ${G_GTM_H} hard-reg-set.h
@@ -203,23 +233,25 @@ build-print-rtl.c: print-rtl.c \
 	${TOOL_SED} -e 's/${.TARGET}
 build-print-rtl.lo: ${HH}
-build/print-rtl.o: print-rtl.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
+build-print-rtl.o: print-rtl.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
   $(GTM_H) $(RTL_BASE_H)
-
+CLEANFILES+=	b

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

2016-03-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Mar 15 19:14:47 UTC 2016

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

Log Message:
build a host version of libcpp, same as we do for libiberty.
the new genmatch generator program needs libcpp.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r1.25 -r1.26 src/external/gpl3/gcc/usr.bin/Makefile.inc
cvs rdiff -u -r0 -r1.1 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/Makefile
diff -u src/external/gpl3/gcc/usr.bin/Makefile:1.7 src/external/gpl3/gcc/usr.bin/Makefile:1.8
--- src/external/gpl3/gcc/usr.bin/Makefile:1.7	Wed Jan  7 02:18:10 2015
+++ src/external/gpl3/gcc/usr.bin/Makefile	Tue Mar 15 19:14:47 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2015/01/07 02:18:10 christos Exp $
+#	$NetBSD: Makefile,v 1.8 2016/03/15 19:14:47 mrg Exp $
 
 NOOBJ=# defined
 
@@ -11,6 +11,7 @@ GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5
 # We keep libcpp here since it depends upon frontend.
 
 SUBDIR+=	host-libiberty .WAIT \
+		host-libcpp .WAIT \
 		backend .WAIT \
 		frontend .WAIT \
 		common common-target .WAIT \

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.25 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.26
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.25	Sun Jul 27 04:16:09 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Tue Mar 15 19:14:47 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.25 2014/07/27 04:16:09 dholland Exp $
+#	$NetBSD: Makefile.inc,v 1.26 2016/03/15 19:14:47 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -41,6 +41,9 @@ BUILD_PREFIX=	${C_BUILD_PREFIX}
 HOSTLIBIBERTYOBJ!=	cd ${.CURDIR}/../host-libiberty && ${PRINTOBJDIR}
 HOSTLIBIBERTY=		${HOSTLIBIBERTYOBJ}/libiberty/libiberty.a
 
+HOSTLIBCPPOBJ!=		cd ${.CURDIR}/../host-libcpp && ${PRINTOBJDIR}
+HOSTLIBCPP=		${HOSTLIBCPPOBJ}/libcpp/libcpp.a
+
 BASEVER!=		cat ${GNUHOSTDIST}/gcc/BASE-VER
 .if exists(${GNUHOSTDIST}/gcc/DEV-PHASE)
 DEVPHASE!=		cat ${GNUHOSTDIST}/gcc/DEV-PHASE

Added files:

Index: src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile
diff -u /dev/null src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile:1.1
--- /dev/null	Tue Mar 15 19:14:47 2016
+++ src/external/gpl3/gcc/usr.bin/host-libcpp/Makefile	Tue Mar 15 19:14:47 2016
@@ -0,0 +1,18 @@
+#	$NetBSD: Makefile,v 1.1 2016/03/15 19:14:47 mrg Exp $
+
+libcpp/libcpp.a:
+	[ ! -d libcpp ] && mkdir libcpp || true
+	(cd libcpp; \
+		CC=${HOST_CC:Q} \
+		CFLAGS=${HOST_CFLAGS:Q} \
+		MAKE=${TOOL_GMAKE:Q} \
+		CONFIG_SHELL=${HOST_SH:Q} \
+		${HOST_SH} ${DIST}/libcpp/configure \
+		&& CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} ${TOOL_GMAKE})
+
+cleandir:
+	-rm -rf libcpp
+
+depend dependall all: libcpp/libcpp.a
+
+.include 



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

2016-03-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Mar 15 19:13:22 UTC 2016

Modified Files:
src/external/gpl3/gcc/usr.bin/common: Makefile
src/external/gpl3/gcc/usr.bin/lto-wrapper: Makefile
src/external/gpl3/gcc/usr.bin/lto1: Makefile

Log Message:
add new sources in GCC 5.3.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/common/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile
cvs rdiff -u -r1.2 -r1.3 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/common/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common/Makefile:1.3 src/external/gpl3/gcc/usr.bin/common/Makefile:1.4
--- src/external/gpl3/gcc/usr.bin/common/Makefile:1.3	Sat May 31 22:55:17 2014
+++ src/external/gpl3/gcc/usr.bin/common/Makefile	Tue Mar 15 19:13:22 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2014/05/31 22:55:17 mrg Exp $
+#	$NetBSD: Makefile,v 1.4 2016/03/15 19:13:22 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -7,7 +7,13 @@ LIBISPRIVATE=	yes
 
 LIB=		common
 
-SRCS=		diagnostic.c pretty-print.c intl.c input.c version.c
+SRCS=		diagnostic.c \
+		diagnostic-color.c \
+		pretty-print.c \
+		intl.c \
+		vec.c \
+		input.c \
+		version.c
 
 # XXX make sure this doesn't have more than it needs
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \

Index: src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile
diff -u src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile:1.1 src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile:1.1	Wed Jan  7 02:02:44 2015
+++ src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile	Tue Mar 15 19:13:22 2016
@@ -1,8 +1,9 @@
-#	$NetBSD: Makefile,v 1.1 2015/01/07 02:02:44 christos Exp $
+#	$NetBSD: Makefile,v 1.2 2016/03/15 19:13:22 mrg Exp $
 
 NOMAN=1
 PROG=		lto-wrapper
-SRCS=		lto-wrapper.c
+SRCS=		lto-wrapper.c \
+		collect-utils.c
 CPPFLAGS+=	-DPREFIX=\"/usr\"
 
 .include "../Makefile.backend"
@@ -13,7 +14,6 @@ CPPFLAGS+=	-DPREFIX=\"/usr\"
 DPADD+= ${LIBIBERTYOBJ}/libiberty.a
 LDADD+= ${LIBIBERTYOBJ}/libiberty.a
 
-
 # VER_CPPFLAGS from Makefile.inc
 
 LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm

Index: src/external/gpl3/gcc/usr.bin/lto1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/lto1/Makefile:1.2 src/external/gpl3/gcc/usr.bin/lto1/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/lto1/Makefile:1.2	Wed Jan 14 20:26:41 2015
+++ src/external/gpl3/gcc/usr.bin/lto1/Makefile	Tue Mar 15 19:13:22 2016
@@ -1,7 +1,13 @@
-#	$NetBSD: Makefile,v 1.2 2015/01/14 20:26:41 tron Exp $
+#	$NetBSD: Makefile,v 1.3 2016/03/15 19:13:22 mrg Exp $
 
 PROG=		lto1
-SRCS=		lto-partition.c lto-object.c lto.c lto-lang.c attribs.c main.c
+SRCS=		lto-partition.c \
+		lto-object.c \
+		lto.c \
+		lto-lang.c \
+		lto-symtab.c \
+		attribs.c \
+		main.c
 
 CPPFLAGS+=	-DPREFIX=\"/usr\"
 



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

2016-03-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Mar 15 19:12:06 UTC 2016

Modified Files:
src/external/gpl3/gcc/usr.bin/cpp: Makefile
src/external/gpl3/gcc/usr.bin/frontend: Makefile
src/external/gpl3/gcc/usr.bin/g++: Makefile
src/external/gpl3/gcc/usr.bin/gcc: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin: Makefile.target-defines

Log Message:
move the target defines into a makefile fragment and add the new GCC
5.3 defines necessary.  remove "cp/" prefix from sources.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/Makefile.target-defines
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/cpp/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/frontend/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/g++/Makefile
cvs rdiff -u -r1.6 -r1.7 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/cpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.8 src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.8	Sat May 31 22:55:17 2014
+++ src/external/gpl3/gcc/usr.bin/cpp/Makefile	Tue Mar 15 19:12:06 2016
@@ -1,13 +1,9 @@
-#	$NetBSD: Makefile,v 1.8 2014/05/31 22:55:17 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2016/03/15 19:12:06 mrg Exp $
 
 PROG=		cpp
 SRCS=		cppspec.c ${G_GCC_OBJS:.o=.c}
 
-CPPFLAGS+=	-I${BACKENDOBJ}
-# XXX
-CPPFLAGS+=	-DCONFIGURE_SPECS="\"\"" \
-		-DDEFAULT_TARGET_VERSION=\"${G_version}\" \
-		-DDEFAULT_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\"
+.include "../Makefile.target-defines"
 
 COPTS+=		-Wno-stack-protector
 

Index: src/external/gpl3/gcc/usr.bin/frontend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.9 src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.10
--- src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.9	Wed Jan  7 02:05:41 2015
+++ src/external/gpl3/gcc/usr.bin/frontend/Makefile	Tue Mar 15 19:12:06 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2015/01/07 02:05:41 christos Exp $
+#	$NetBSD: Makefile,v 1.10 2016/03/15 19:12:06 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -21,12 +21,11 @@ SRCS+=		driver-rs6000.c
 .PATH:		${DIST}/gcc/config/rs6000
 .endif
 
-CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \
+.include "../Makefile.target-defines"
+
+CPPFLAGS+=	-I${GCCARCH} -I. \
 		${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
-		-DPREFIX=\"/usr\" \
-		-DDEFAULT_TARGET_VERSION=\"${G_version}\" \
-		-DDEFAULT_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\" \
-		-DCONFIGURE_SPECS="\"\""
+		-DPREFIX=\"/usr\"
 HOST_CPPFLAGS+=	-I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
 
 DPSRCS+=	specs.h

Index: src/external/gpl3/gcc/usr.bin/g++/Makefile
diff -u src/external/gpl3/gcc/usr.bin/g++/Makefile:1.5 src/external/gpl3/gcc/usr.bin/g++/Makefile:1.6
--- src/external/gpl3/gcc/usr.bin/g++/Makefile:1.5	Sat May 31 22:55:17 2014
+++ src/external/gpl3/gcc/usr.bin/g++/Makefile	Tue Mar 15 19:12:06 2016
@@ -1,17 +1,13 @@
-#	$NetBSD: Makefile,v 1.5 2014/05/31 22:55:17 mrg Exp $
+#	$NetBSD: Makefile,v 1.6 2016/03/15 19:12:06 mrg Exp $
 
 PROG=		gplusplus
 PROGNAME=	g++
-SRCS=		${G_GXX_OBJS:.o=.c}
+SRCS=		${G_GXX_OBJS:S/cp\///:.o=.c}
 
 NOMAN=		# Linked to gcc.1
 .include 
 
-CPPFLAGS+=	-I${BACKENDOBJ}
-# XXX
-CPPFLAGS+=	-DCONFIGURE_SPECS="\"\"" \
-		-DDEFAULT_TARGET_VERSION=\"${G_version}\" \
-		-DDEFAULT_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\"
+.include "../Makefile.target-defines"
 
 LINKS+=		${BINDIR}/g++ ${BINDIR}/c++
 

Index: src/external/gpl3/gcc/usr.bin/gcc/Makefile
diff -u src/external/gpl3/gcc/usr.bin/gcc/Makefile:1.6 src/external/gpl3/gcc/usr.bin/gcc/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/gcc/Makefile:1.6	Fri Apr 17 12:41:46 2015
+++ src/external/gpl3/gcc/usr.bin/gcc/Makefile	Tue Mar 15 19:12:06 2016
@@ -1,13 +1,9 @@
-#	$NetBSD: Makefile,v 1.6 2015/04/17 12:41:46 martin Exp $
+#	$NetBSD: Makefile,v 1.7 2016/03/15 19:12:06 mrg Exp $
 
 PROG=		gcc
 SRCS=		gccspec.c ${G_GCC_OBJS:.o=.c}
 
-CPPFLAGS+=	-I${BACKENDOBJ}
-# XXX
-CPPFLAGS+=	-DCONFIGURE_SPECS="\"\"" \
-		-DDEFAULT_TARGET_VERSION=\"${G_version}\" \
-		-DDEFAULT_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\"
+.include "../Makefile.target-defines"
 
 COPTS.builtins.c = -Wno-stack-protector
 

Added files:

Index: src/external/gpl3/gcc/usr.bin/Makefile.target-defines
diff -u /dev/null src/external/gpl3/gcc/usr.bin/Makefile.target-defines:1.1
--- /dev/null	Tue Mar 15 19:12:06 2016
+++ src/external/gpl3/gcc/usr.bin/Makefile.target-defines	Tue Mar 15 19:12:06 2016
@@ -0,0 +1,8 @@
+#	$NetBSD: Makefile.target-defines,v 1.1 2016/03/15 19:12:06 mrg Exp $
+
+CPPFLAGS+=	-I${BACKENDOBJ}
+CPPFLAGS+=	-DCONFIGURE_SPECS="\"\"" \
+		-DDEFAULT_TARGET_VERSION=\"${G_version}\" \
+		-DDEFAULT_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\" \
+		-DDEFAULT_REAL_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\" \
+		-DACCE

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

2015-02-01 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Sun Feb  1 17:47:00 UTC 2015

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

Log Message:
update m68k gcc bug workarounds for gcc 4.8.  fixes PR 49609.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 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.23 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.24
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.23	Wed Jan  7 02:06:03 2015
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sun Feb  1 17:47:00 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.23 2015/01/07 02:06:03 christos Exp $
+#	$NetBSD: Makefile,v 1.24 2015/02/01 17:47:00 chs Exp $
 
 LIBISPRIVATE=	yes
 
@@ -398,9 +398,9 @@ COPTS.recog.c=-O0
 
 CFLAGS+=	-Wno-stack-protector
 
-.if ${GCC_MACHINE_ARCH} == "m68000" || ${GCC_MACHINE_ARCH} == "m68k"
-COPTS.lambda-code.c=		-O0
-COPTS.tree-loop-linear.c=	-O0
+.if ${GCC_MACHINE_ARCH} == "m68000" || ${GCC_MACHINE_ARCH} == "m68k" || \
+	${GCC_MACHINE_ARCH} == "coldfire"
+COPTS.tree-loop-distribution.c=	-O2
 .endif
 
 COPTS.tree.c=	${${ACTIVE_CC} == "clang" :? -O0 :}



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

2015-01-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jan 15 22:29:54 UTC 2015

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/arm: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earm: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/hppa: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/i386: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/m68000: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64eb: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/mipseb: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/mipsel: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/or1k: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/riscv32: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/riscv64: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/sh3eb: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/sh3el: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/vax: configargs.h
src/external/gpl3/gcc/usr.bin/gcc/arch/x86_64: configargs.h

Log Message:
regen.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/configargs.h
cvs rdiff -u -r1.16 -r1.17 \
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/configargs.h
cvs rdiff -u -r1.16 -r1.17 \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/configargs.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire/configargs.h
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/configargs.h
cvs rdiff -u -r1.11 -r1.12 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/configargs.h
cvs rdiff -u -r1.9 -r1.10 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/configargs.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4/configargs.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/configargs.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6/configargs.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb/configargs.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf/configargs.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb/configargs.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7/configargs.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb/configargs.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/configargs.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb/configargs.h
cvs rdiff -u -r1.16 -r1.17 \
src/external/gpl3/gcc/usr.bin/gcc/arch/hppa/configargs.h
cvs rdiff -u -r1.18 -r1.19 \
src/external/gpl3/gcc/usr.bin/gcc/arch/i386/configargs.h
cvs rdiff -u -r1.11 -r1.12 \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68000/configargs.h
cvs rdiff -u -r1.13 -r1.14 \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/configargs.h
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64eb/configargs.h
cvs rdiff -u -r1.15 -r1.16 \
src/external/gpl3/gcc/usr.bin/gcc/arch/mips64el/configargs.h
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc/usr.bin/gcc/arch/mipseb/configargs.h
cvs rdiff -u -r1.15 -

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

2015-01-14 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Wed Jan 14 20:26:41 UTC 2015

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

Log Message:
Fix build with "USE_SSP" set to "yes".


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 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/lto1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/lto1/Makefile:1.1 src/external/gpl3/gcc/usr.bin/lto1/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/lto1/Makefile:1.1	Wed Jan  7 02:02:44 2015
+++ src/external/gpl3/gcc/usr.bin/lto1/Makefile	Wed Jan 14 20:26:41 2015
@@ -1,10 +1,13 @@
-#	$NetBSD: Makefile,v 1.1 2015/01/07 02:02:44 christos Exp $
+#	$NetBSD: Makefile,v 1.2 2015/01/14 20:26:41 tron Exp $
 
 PROG=		lto1
 SRCS=		lto-partition.c lto-object.c lto.c lto-lang.c attribs.c main.c
 
 CPPFLAGS+=	-DPREFIX=\"/usr\"
 
+COPTS.lto.c+=		-Wno-stack-protector
+COPTS.lto-lang.c+=	-Wno-stack-protector
+
 .include "../Makefile.backend"
 .include "../Makefile.backtrace"
 .include "../Makefile.common"



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

2015-01-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan  7 02:18:10 UTC 2015

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

Log Message:
it is lto1


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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.6 src/external/gpl3/gcc/usr.bin/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/Makefile:1.6	Tue Jan  6 21:02:44 2015
+++ src/external/gpl3/gcc/usr.bin/Makefile	Tue Jan  6 21:18:10 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2015/01/07 02:02:44 christos Exp $
+#	$NetBSD: Makefile,v 1.7 2015/01/07 02:18:10 christos Exp $
 
 NOOBJ=# defined
 
@@ -16,7 +16,7 @@ SUBDIR+=	host-libiberty .WAIT \
 		common common-target .WAIT \
 		libcpp libdecnumber .WAIT \
 		gcov cc1 cc1obj cc1plus cpp g++ gcc \
-		lto lto-wrapper \
+		lto1 lto-wrapper \
 		include
 
 .include 



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

2015-01-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan  7 02:08:06 UTC 2015

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/x86_64: configargs.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 \
src/external/gpl3/gcc/usr.bin/gcc/arch/x86_64/configargs.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/x86_64/configargs.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/x86_64/configargs.h:1.17 src/external/gpl3/gcc/usr.bin/gcc/arch/x86_64/configargs.h:1.18
--- src/external/gpl3/gcc/usr.bin/gcc/arch/x86_64/configargs.h:1.17	Mon Oct 20 19:49:18 2014
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/x86_64/configargs.h	Tue Jan  6 21:08:06 2015
@@ -3,7 +3,7 @@
 /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
 /* Generated automatically. */
-static const char configuration_arguments[] = "/usr/src7/tools/gcc/../../external/gpl3/gcc/dist/configure --target=x86_64--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20141012' --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-threads --with-tune=nocona --enable-libstdcxx-time=rt --with-mpc-lib=/var/obj/mknative/amd64-x86_64/usr/src7/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/amd64-x86_64/usr/src7/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/amd64-x86_64/usr/src7/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src7/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src7/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src7/external/lgpl3/gmp/lib/libgmp/arch/x86_64 --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd6.0. --host=x86_64--netbsd --with-sysroot=/var/obj/mknative/amd64-x
 86_64/usr/src7/destdir.amd64";
+static const char configuration_arguments[] = "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=x86_64--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20141012' --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-threads --with-tune=nocona --enable-libstdcxx-time=rt --enable-lto --with-mpc-lib=/net/quasar/src-5/NetBSD/src/external/lgpl3/mpc/lib/libmpc/obj.amd64 --with-mpfr-lib=/net/quasar/src-5/NetBSD/src/external/lgpl3/mpfr/lib/libmpfr/obj.amd64 --with-gmp-lib=/net/quasar/src-5/NetBSD/src/external/lgpl3/gmp/lib/libgmp/obj.amd64 --with-mpc-include=/net/quasar/src-5/NetBSD/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/net/quasar/src-5/NetBSD/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/net/quasar/src-5/NetBSD/src/external/lgpl3/gmp/lib/libgmp/arch/x86_64 --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd7
 .99.4 --host=x86_64--netbsd --with-sysroot=/usr/obj/amd64/release";
 static const char thread_model[] = "posix";
 
 static const struct {



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

2015-01-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan  7 02:06:03 UTC 2015

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

Log Message:
enable lto


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 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.22 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.23
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.22	Sat Jul  5 20:21:24 2014
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Tue Jan  6 21:06:03 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.22 2014/07/06 00:21:24 joerg Exp $
+#	$NetBSD: Makefile,v 1.23 2015/01/07 02:06:03 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -176,6 +176,7 @@ auto-build.h: gmp.h Makefile
 		gcc_cv_ld=${LD} \
 		gcc_cv_as=${AS} \
 		${HOST_SH} ${GNUHOSTDIST}/gcc/configure \
+			--enable-lto \
 			--build=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \
 			--host=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \
 			--target=${MACHINE_GNU_PLATFORM} && \



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

2015-01-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan  7 02:05:41 UTC 2015

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

Log Message:
enable the rest of the languages


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/frontend/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/frontend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.8 src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.8	Sat May 31 18:55:17 2014
+++ src/external/gpl3/gcc/usr.bin/frontend/Makefile	Tue Jan  6 21:05:41 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2014/05/31 22:55:17 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2015/01/07 02:05:41 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -53,6 +53,6 @@ CPPFLAGS+=	-I../backend
 # Build the specs.h file
 CLEANFILES+=	specs.h
 specs.h: Makefile
-	for f in cp objc; do \
+	for f in cp lto objc objcp; do \
 		echo "#include \"$$f/lang-specs.h\""; \
 	done > specs.h



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

2015-01-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan  7 02:02:44 UTC 2015

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile
Added Files:
src/external/gpl3/gcc/usr.bin/lto-wrapper: Makefile
src/external/gpl3/gcc/usr.bin/lto1: Makefile

Log Message:
build lto


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile
cvs rdiff -u -r0 -r1.1 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/Makefile
diff -u src/external/gpl3/gcc/usr.bin/Makefile:1.5 src/external/gpl3/gcc/usr.bin/Makefile:1.6
--- src/external/gpl3/gcc/usr.bin/Makefile:1.5	Sat Mar  1 05:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile	Tue Jan  6 21:02:44 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile,v 1.6 2015/01/07 02:02:44 christos Exp $
 
 NOOBJ=# defined
 
@@ -16,6 +16,7 @@ SUBDIR+=	host-libiberty .WAIT \
 		common common-target .WAIT \
 		libcpp libdecnumber .WAIT \
 		gcov cc1 cc1obj cc1plus cpp g++ gcc \
+		lto lto-wrapper \
 		include
 
 .include 

Added files:

Index: src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile
diff -u /dev/null src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile:1.1
--- /dev/null	Tue Jan  6 21:02:44 2015
+++ src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile	Tue Jan  6 21:02:44 2015
@@ -0,0 +1,23 @@
+#	$NetBSD: Makefile,v 1.1 2015/01/07 02:02:44 christos Exp $
+
+NOMAN=1
+PROG=		lto-wrapper
+SRCS=		lto-wrapper.c
+CPPFLAGS+=	-DPREFIX=\"/usr\"
+
+.include "../Makefile.backend"
+.include "../Makefile.backtrace"
+.include "../Makefile.common-target"
+.include "../Makefile.libcpp"
+
+DPADD+= ${LIBIBERTYOBJ}/libiberty.a
+LDADD+= ${LIBIBERTYOBJ}/libiberty.a
+
+
+# VER_CPPFLAGS from Makefile.inc
+
+LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
+DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
+
+.PATH: ${DIST}/gcc ${DIST}/gcc/c ${DIST}/gcc/c-family ${DIST}/gcc/config
+.PATH: ${G_out_file:H}

Index: src/external/gpl3/gcc/usr.bin/lto1/Makefile
diff -u /dev/null src/external/gpl3/gcc/usr.bin/lto1/Makefile:1.1
--- /dev/null	Tue Jan  6 21:02:44 2015
+++ src/external/gpl3/gcc/usr.bin/lto1/Makefile	Tue Jan  6 21:02:44 2015
@@ -0,0 +1,22 @@
+#	$NetBSD: Makefile,v 1.1 2015/01/07 02:02:44 christos Exp $
+
+PROG=		lto1
+SRCS=		lto-partition.c lto-object.c lto.c lto-lang.c attribs.c main.c
+
+CPPFLAGS+=	-DPREFIX=\"/usr\"
+
+.include "../Makefile.backend"
+.include "../Makefile.backtrace"
+.include "../Makefile.common"
+.include "../Makefile.common-target"
+.include "../Makefile.libcpp"
+.include "../Makefile.libdecnumber"
+.include "../Makefile.libiberty"
+
+LDADD+= ${LIBIBERTYOBJ}/libiberty.a
+DPADD+= ${LIBIBERTYOBJ}/libiberty.a
+LDADD+=	${LIBIBERTY} ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
+DPADD+=	${LIBIBERTY} ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
+
+.PATH: ${DIST}/gcc/lto  ${DIST}/gcc # ${DIST}/gcc/c ${DIST}/gcc/c-family ${DIST}/gcc/config
+.PATH: ${G_out_file:H}



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

2014-05-31 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat May 31 22:55:17 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile.gcc-tool Makefile.inc
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile
src/external/gpl3/gcc/usr.bin/common: Makefile
src/external/gpl3/gcc/usr.bin/common-target: Makefile
src/external/gpl3/gcc/usr.bin/cpp: Makefile
src/external/gpl3/gcc/usr.bin/frontend: Makefile
src/external/gpl3/gcc/usr.bin/g++: Makefile
src/external/gpl3/gcc/usr.bin/gcc: Makefile

Log Message:
make sure that files containing version numbers are rebuilt when
the version actually changes.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool
cvs rdiff -u -r1.22 -r1.23 src/external/gpl3/gcc/usr.bin/Makefile.inc
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/common/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/common-target/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/cpp/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/usr.bin/frontend/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/g++/Makefile
cvs rdiff -u -r1.4 -r1.5 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/Makefile.gcc-tool
diff -u src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool:1.1 src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool:1.2
--- src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool:1.1	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.gcc-tool	Sat May 31 22:55:16 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.gcc-tool,v 1.1 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.gcc-tool,v 1.2 2014/05/31 22:55:16 mrg Exp $
 
 PROG=	gcc-${GCC_TOOL}
 SRCS=	gcc-ar.c file-find.c
@@ -15,6 +15,8 @@ CPPFLAGS= \
 # Skip these because we don't have them in paths.
 #	-DDEFAULT_TARGET_VERSION=\"${G_version}\"
 #	-DDEFAULT_TARGET_MACHINE=\"{GNU_MACHINE_ARCH}\"
+#
+# ${SRCS}: ${GCCARCH}/defs.mk
 
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
 

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.22 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.23
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.22	Thu May 29 07:40:37 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Sat May 31 22:55:16 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.22 2014/05/29 07:40:37 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.23 2014/05/31 22:55:16 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -79,6 +79,7 @@ VER_CPPFLAGS=	-DBASEVER="\"${BASEVER}"\"
 		-DBUGURL=$(G_BUGURL_s)
 
 CPPFLAGS.version.c+=	${VER_CPPFLAGS}
+version.c: ${GCCARCH}/defs.mk ${TOP}/tools/gcc/gcc-version.mk
 
 .include "${GCCARCH}/defs.mk"
 

Index: src/external/gpl3/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.8 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.8	Sat Mar 22 19:52:21 2014
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Sat May 31 22:55:17 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2014/03/22 19:52:21 tron Exp $
+#	$NetBSD: Makefile,v 1.9 2014/05/31 22:55:17 mrg Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -30,6 +30,7 @@ CHECKSUM_OBJS=	${BACKENDOBJ}/libbackend.
 
 # VER_CPPFLAGS from Makefile.inc
 CPPFLAGS.c-cppbuiltin.c=	${VER_CPPFLAGS}
+c-cppbuiltin.c: ${GCCARCH}/defs.mk
 
 COPTS.c-ada-spec.c=	-Wno-stack-protector
 COPTS.c-aux-info.c=	-Wno-stack-protector

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.7 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.8
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.7	Sat Mar 22 17:57:47 2014
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Sat May 31 22:55:17 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2014/03/22 17:57:47 tron Exp $
+#	$NetBSD: Makefile,v 1.8 2014/05/31 22:55:17 mrg Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -33,6 +33,7 @@ CHECKSUM_OBJS=	${BACKENDOBJ}/libbackend.
 
 # VER_CPPFLAGS from Makefile.inc
 CPPFLAGS.c-cppbuiltin.c=	${VER_CPPFLAGS}
+c-cppbuiltin.c: ${GCCARCH}/defs.mk
 
 COPTS.c-ada-spec.c+=			-Wno-stack-protector
 COPTS.c-aux-info.c+=			-Wno-stack-protector

Index: src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.8 src/exter

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

2014-04-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr  4 01:19:57 UTC 2014

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

Log Message:
remove extra


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 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/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.7 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.8
--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.7	Wed Mar  5 16:37:02 2014
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile	Thu Apr  3 21:19:57 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2014/03/05 21:37:02 tron Exp $
+#	$NetBSD: Makefile,v 1.8 2014/04/04 01:19:57 christos Exp $
 
 PROG=		cc1plus
 SRCS=		${G_CXX_OBJS:S,c-family/,,:S,cp/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -9,8 +9,6 @@ NOMAN=	1
 CPPFLAGS+=	-I${DIST}/gcc/cp
 CPPFLAGS.prefix.c+= -DPREFIX=\"/usr\"
 
-.include 
-
 .include "../Makefile.backend"
 .include "../Makefile.backtrace"
 .include "../Makefile.common"



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

2014-04-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr  4 01:19:14 UTC 2014

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

Log Message:
Add NOCTF


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/Makefile.backend
cvs rdiff -u -r1.3 -r1.4 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.backend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.backend:1.4 src/external/gpl3/gcc/usr.bin/Makefile.backend:1.5
--- src/external/gpl3/gcc/usr.bin/Makefile.backend:1.4	Sat Mar  1 05:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.backend	Thu Apr  3 21:19:14 2014
@@ -1,9 +1,10 @@
-#	$NetBSD: Makefile.backend,v 1.4 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.backend,v 1.5 2014/04/04 01:19:14 christos Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_=1
 
 NOMAN=		# defined
+NOCTF=		# defined
 BINDIR=		/usr/libexec
 
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} \

Index: src/external/gpl3/gcc/usr.bin/Makefile.frontend
diff -u src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.3 src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.4
--- src/external/gpl3/gcc/usr.bin/Makefile.frontend:1.3	Sat Mar  1 05:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.frontend	Thu Apr  3 21:19:14 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.frontend,v 1.3 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.frontend,v 1.4 2014/04/04 01:19:14 christos Exp $
 
 BINDIR=		/usr/bin
 
@@ -6,6 +6,7 @@ CPPFLAGS+=	-I${GCCARCH} -I${FRONTENDOBJ}
 		${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
 		-DIN_GCC_FRONTEND
 
+NOCTF=	# defined
 .include 
 
 DPADD+=			${FRONTENDOBJ}/libfrontend.a



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

2014-03-22 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Sat Mar 22 19:52:21 UTC 2014

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

Log Message:
Remove (harmless) debug target committed by accident.

Pointed out by Matthew Green in private e-mail.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 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.7 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.8
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.7	Sat Mar 22 17:57:47 2014
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Sat Mar 22 19:52:21 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2014/03/22 17:57:47 tron Exp $
+#	$NetBSD: Makefile,v 1.8 2014/03/22 19:52:21 tron Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -50,6 +50,3 @@ DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} $
 
 .PATH: ${DIST}/gcc ${DIST}/gcc/c ${DIST}/gcc/c-family ${DIST}/gcc/config
 .PATH: ${G_out_file:H}
-
-gugu:
-	@echo ${COPTS}



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

2014-03-22 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Sat Mar 22 17:57:48 UTC 2014

Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cpp: Makefile
src/external/gpl3/gcc/usr.bin/g++: Makefile
src/external/gpl3/gcc/usr.bin/gcc: Makefile

Log Message:
Fix build with "HAVE_GCC=48" and "USE_SSP=yes".


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/usr.bin/cpp/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/g++/Makefile
cvs rdiff -u -r1.3 -r1.4 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/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.6 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.6	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Sat Mar 22 17:57:47 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2014/03/22 17:57:47 tron Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -31,7 +31,17 @@ CHECKSUM_OBJS=	${BACKENDOBJ}/libbackend.
 # VER_CPPFLAGS from Makefile.inc
 CPPFLAGS.c-cppbuiltin.c=	${VER_CPPFLAGS}
 
-COPTS+=	-Wno-stack-protector
+COPTS.c-ada-spec.c=	-Wno-stack-protector
+COPTS.c-aux-info.c=	-Wno-stack-protector
+COPTS.c-common.c=	-Wno-stack-protector
+COPTS.c-cppbuiltin.c=	-Wno-stack-protector
+COPTS.c-format.c=	-Wno-stack-protector
+COPTS.c-format.h=	-Wno-stack-protector
+COPTS.c-lex.c=		-Wno-stack-protector
+COPTS.c-opts.c=		-Wno-stack-protector
+COPTS.c-ppoutput.c=	-Wno-stack-protector
+COPTS.c-pragma.c=	-Wno-stack-protector
+COPTS.c-typeck.c=	-Wno-stack-protector
 
 CPPFLAGS.default-c.c+=	-I${BACKENDOBJ}
 
@@ -41,3 +51,5 @@ DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} $
 .PATH: ${DIST}/gcc ${DIST}/gcc/c ${DIST}/gcc/c-family ${DIST}/gcc/config
 .PATH: ${G_out_file:H}
 
+gugu:
+	@echo ${COPTS}

Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.6 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.6	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile	Sat Mar 22 17:57:47 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2014/03/22 17:57:47 tron Exp $
 
 MYOBJS=		${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS} 
 PROG=		cc1obj
@@ -34,7 +34,18 @@ CHECKSUM_OBJS=	${BACKENDOBJ}/libbackend.
 # VER_CPPFLAGS from Makefile.inc
 CPPFLAGS.c-cppbuiltin.c=	${VER_CPPFLAGS}
 
-COPTS+=	-Wno-stack-protector
+COPTS.c-ada-spec.c+=			-Wno-stack-protector
+COPTS.c-aux-info.c+=			-Wno-stack-protector
+COPTS.c-common.c+=			-Wno-stack-protector
+COPTS.c-cppbuiltin.c+=			-Wno-stack-protector
+COPTS.c-format.c+=			-Wno-stack-protector
+COPTS.c-lex.c+=-Wno-stack-protector
+COPTS.c-ppoutput.c+=			-Wno-stack-protector
+COPTS.c-pragma.c+=			-Wno-stack-protector
+COPTS.c-typeck.c+=			-Wno-stack-protector
+COPTS.objc-act.c+=			-Wno-stack-protector
+COPTS.objc-gnu-runtime-abi-01.c+=	-Wno-stack-protector
+COPTS.objc-next-runtime-abi-01.c+=	-Wno-stack-protector
 
 LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
 DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}

Index: src/external/gpl3/gcc/usr.bin/cpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.6 src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.6	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/cpp/Makefile	Sat Mar 22 17:57:48 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2014/03/22 17:57:48 tron Exp $
 
 PROG=		cpp
 SRCS=		cppspec.c ${G_GCC_OBJS:.o=.c}
@@ -26,6 +26,8 @@ DPADD+=		${LIBINTL}
 
 .include 
 
+COPTS.gcc.c=	-Wno-stack-protector
+
 .PATH: ${DIST}/gcc ${DIST}/gcc/c-family ${DIST}/gcc/doc
 
 cpp.info: gcc-vers.texi

Index: src/external/gpl3/gcc/usr.bin/g++/Makefile
diff -u src/external/gpl3/gcc/usr.bin/g++/Makefile:1.3 src/external/gpl3/gcc/usr.bin/g++/Makefile:1.4
--- src/external/gpl3/gcc/usr.bin/g++/Makefile:1.3	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/g++/Makefile	Sat Mar 22 17:57:48 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile,v 1.4 2014/03/22 17:57:48 tron Exp $
 
 PROG=		gplusplus
 PROGNAME=	g++
@@ -20,4 +20,6 @@ DPADD+=		${LIBINTL}
 
 .include "../Makefile.frontend"
 
+COPTS.gcc.c=	-Wno-stack-protector
+
 .PATH: ${DIST}/gcc/cp ${DIST}/gcc ${DIST}/gcc/cp

Index: src/external/gpl3/gcc/usr.bin/gcc/Makefile

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

2014-03-15 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sun Mar 16 00:07:58 UTC 2014

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

Log Message:
G/c extraneous TAB.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/gpl3/gcc/usr.bin/host-libiberty/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-libiberty/Makefile
diff -u src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile:1.2 src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile:1.2	Sat Mar  1 10:00:52 2014
+++ src/external/gpl3/gcc/usr.bin/host-libiberty/Makefile	Sun Mar 16 00:07:58 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2014/03/01 10:00:52 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2014/03/16 00:07:58 uwe Exp $
 
 libiberty/libiberty.a:
 	[ ! -d libiberty ] && mkdir libiberty || true
@@ -14,5 +14,5 @@ cleandir:
 	-rm -rf libiberty
 
 depend dependall all: libiberty/libiberty.a
-	
+
 .include 



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

2014-03-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Mar 15 23:12:58 UTC 2014

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

Log Message:
add missing -DGENERATOR_FILE to HOST_CPPFLAGS.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 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.2 src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/common-target/Makefile:1.2	Wed Mar  5 21:37:02 2014
+++ src/external/gpl3/gcc/usr.bin/common-target/Makefile	Sat Mar 15 23:12:58 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2014/03/05 21:37:02 tron Exp $
+#	$NetBSD: Makefile,v 1.3 2014/03/15 23:12:58 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -32,6 +32,7 @@ ${G_common_out_file:T:R}.o:  common/comm
 DPSRCS+=	options.h
 
 HOST_CPPFLAGS+=	-I${BACKENDOBJ} -I${GCCARCH} -I. -I${DIST}/include -I${DIST}/gcc
+HOST_CPPFLAGS+=	-DGENERATOR_FILE
 
 MKPIC:=		no
 MKPICLIB:=	no



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

2014-03-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Mar 15 20:46:38 UTC 2014

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

Log Message:
make sure we use the C compiler (not C++) for CC= when running the
configure for auto-build.h.  fixes problems on linux.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 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.20 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.21
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.20	Mon Mar 10 18:57:35 2014
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sat Mar 15 20:46:38 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.20 2014/03/10 18:57:35 mrg Exp $
+#	$NetBSD: Makefile,v 1.21 2014/03/15 20:46:38 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -21,6 +21,7 @@ HOSTPROG_CXX=	1
 .include 
 
 # Force using C++ for this
+ORIGHOST_CC:=	${HOST_CC}
 HOST_CC:=	${HOST_CXX}
 CC:=		${CXX}
 CFLAGS:=	${CXXFLAGS}
@@ -159,6 +160,8 @@ ${G_OBJS} ${G_OBJS:.o=.d}:	tm_p.h		# XXX
 .include "../Makefile.options"
 
 # Yuck, we have to run configure to generate this one...
+# We use ORIGHOST_CC here because GCC's ./configure expects (and
+# depends upon) it.
 CLEANFILES+=	auto-build.h
 HOST_CFLAGS+= -I${.OBJDIR}
 auto-build.h: gmp.h Makefile
@@ -167,7 +170,7 @@ auto-build.h: gmp.h Makefile
 	mkdir .ab && \
 	(cd .ab && \
 		AWK=${TOOL_AWK:Q} \
-		CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} \
+		CC=${ORIGHOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} \
 		MAKE=${MAKE:Q} \
 		CONFIG_SHELL=${HOST_SH:Q} \
 		gcc_cv_ld=${LD} \



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

2014-03-13 Thread Greg Troxel
Module Name:src
Committed By:   gdt
Date:   Thu Mar 13 16:19:24 UTC 2014

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

Log Message:
Use -f with cp, for 444 sources.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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/include/Makefile
diff -u src/external/gpl3/gcc/usr.bin/include/Makefile:1.6 src/external/gpl3/gcc/usr.bin/include/Makefile:1.7
--- src/external/gpl3/gcc/usr.bin/include/Makefile:1.6	Sat Mar  1 10:00:52 2014
+++ src/external/gpl3/gcc/usr.bin/include/Makefile	Thu Mar 13 16:19:24 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2014/03/01 10:00:52 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2014/03/13 16:19:24 gdt Exp $
 
 .include "../Makefile.inc"
 
@@ -15,7 +15,7 @@ INCS+=	mm_malloc.h
 # XXX we should put this in gcc/config.gcc and regenerate the i386/x86
 # mknative files
 mm_malloc.h: ${DIST}/gcc/config/i386/pmm_malloc.h
-	cp $> ${.TARGET}
+	cp -f $> ${.TARGET}
 
 CLEANFILES+=	mm_malloc.h
 .endif



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

2014-03-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Mar 10 18:57:36 UTC 2014

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

Log Message:
pass $LD and $AS to the auto-build.h generation, so its configure
gets the right answers for many things.  in particular, it enables
HAVE_AS_TLS which the sparc port needs for TARGET_TLS to work.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 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.19 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.20
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.19	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Mar 10 18:57:35 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.19 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile,v 1.20 2014/03/10 18:57:35 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -170,6 +170,8 @@ auto-build.h: gmp.h Makefile
 		CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} \
 		MAKE=${MAKE:Q} \
 		CONFIG_SHELL=${HOST_SH:Q} \
+		gcc_cv_ld=${LD} \
+		gcc_cv_as=${AS} \
 		${HOST_SH} ${GNUHOSTDIST}/gcc/configure \
 			--build=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \
 			--host=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \



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

2014-03-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Mar  9 17:06:30 UTC 2014

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

Log Message:
Fix variable name, so BUGURL gets properly defined


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 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.20 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.21
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.20	Tue Mar  4 09:16:04 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Sun Mar  9 17:06:30 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.20 2014/03/04 09:16:04 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.21 2014/03/09 17:06:30 martin Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -65,7 +65,7 @@ DATESTAMPSTR=		"\"\""
 
 # XXX pull this out of our configs
 G_BUGURL=
-G_BUGURL_s="\"${G_BUG_URL}\""
+G_BUGURL_s="\"${G_BUGURL}\""
 G_PKGVERSION=(NetBSD nb2 20140304) 
 G_PKGVERSION_s="\"${G_PKGVERSION} \""
 



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

2014-03-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Mar  4 09:16:04 UTC 2014

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

Log Message:
bump local pkg version.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 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.19 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.20
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.19	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Tue Mar  4 09:16:04 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.19 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.20 2014/03/04 09:16:04 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -66,7 +66,7 @@ DATESTAMPSTR=		"\"\""
 # XXX pull this out of our configs
 G_BUGURL=
 G_BUGURL_s="\"${G_BUG_URL}\""
-G_PKGVERSION=(NetBSD nb1 20131213) 
+G_PKGVERSION=(NetBSD nb2 20140304) 
 G_PKGVERSION_s="\"${G_PKGVERSION} \""
 
 VER_CPPFLAGS=	-DBASEVER="\"${BASEVER}"\" \



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

2013-11-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Nov 28 13:04:35 UTC 2013

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

Log Message:
handle with moved mpfr*.h files.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 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.16 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.17
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.16	Thu Nov 28 12:08:56 2013
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Thu Nov 28 13:04:35 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.16 2013/11/28 12:08:56 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.17 2013/11/28 13:04:35 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -18,8 +18,8 @@ HOST_CPPFLAGS+=	-I${.CURDIR}/..
 
 # Link in the GMP/MPFR/MPC headers since we don't install them
 BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${GMP_MACHINE_ARCH}/gmp.h gmp.h
-BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/mpfr.h mpfr.h
-BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/mpf2mpfr.h mpf2mpfr.h
+BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/src/mpfr.h mpfr.h
+BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/src/mpf2mpfr.h mpf2mpfr.h
 BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpc/dist/src/mpc.h mpc.h
 BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpc/dist/src/mpc-log.h mpc-log.h
 CPPFLAGS+=	-I.



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

2013-10-10 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Fri Oct 11 01:20:53 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb: defs.mk

Log Message:
remove garbage lines mistakenly included when def.mk generation.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/defs.mk
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb/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/coldfire/defs.mk
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire/defs.mk:1.1 src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire/defs.mk:1.2
--- src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire/defs.mk:1.1	Fri Jul 19 22:14:24 2013
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire/defs.mk	Fri Oct 11 01:20:52 2013
@@ -2,15 +2,12 @@
 # Generated from: 	NetBSD: mknative-gcc,v 1.71 2013/06/28 08:30:10 mrg Exp 
 # Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp 
 #
-nbgmake[1]: Entering directory `/u2/netbsd-coldfire/evbcf/obj/tools/gcc'
 G_BUILD_EARLY_SUPPORT=
 G_BUILD_ERRORS=build-errors.o
 G_BUILD_PRINT=
 G_BUILD_RTL=build-rtl.o read-rtl.o build-ggc-none.o vec.o min-insn-modes.o gensupport.o build-print-rtl.o
 G_BUILD_SUPPORT=
 G_BUILD_VARRAY=
-nbgmake[1]: Leaving directory `/u2/netbsd-coldfire/evbcf/obj/tools/gcc'
-nbgmake[1]: Entering directory `/u2/netbsd-coldfire/evbcf/obj/tools/gcc'
 G_ALL_CFLAGS=  -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H
 G_ALL_CPPFLAGS=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/. -I${GNUHOSTDIST}/gcc/../include -I./../intl -I${GNUHOSTDIST}/gcc/../libcpp/include -I${GNUHOSTDIST}/gcc/../libdecnumber -I${GNUHOSTDIST}/gcc/../libdecnumber/dpd -I../libdecnumber
 G_C_AND_OBJC_OBJS=attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o  c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o
@@ -45,22 +42,11 @@ G_tm_file_list=options.h ${GNUHOSTDIST}/
 G_build_xm_include_list=auto-build.h ansidecl.h
 G_lang_specs_files=${GNUHOSTDIST}/gcc/cp/lang-specs.h ${GNUHOSTDIST}/gcc/lto/lang-specs.h ${GNUHOSTDIST}/gcc/objc/lang-specs.h
 G_tm_p_include_list=config/m68k/m68k-protos.h tm-preds.h
-nbgmake[1]: Leaving directory `/u2/netbsd-coldfire/evbcf/obj/tools/gcc'
-nbgmake[1]: Entering directory `/u2/netbsd-coldfire/evbcf/obj/tools/gcc'
 G_LIB2ADDEHDEP= unwind-dw2-fde.h unwind-dw2-fde.c
-nbgmake[1]: Leaving directory `/u2/netbsd-coldfire/evbcf/obj/tools/gcc'
-nbgmake[1]: Entering directory `/u2/netbsd-coldfire/evbcf/obj/tools/gcc'
 G_CXX_OBJS=cp-lang.o stub-objc.o call.o decl.o expr.o pt.o typeck2.o class.o decl2.o error.o lex.o parser.o ptree.o rtti.o typeck.o cvt.o except.o friend.o init.o method.o search.o semantics.o tree.o repo.o dump.o optimize.o mangle.o cp-objcp-common.o name-lookup.o cxx-pretty-print.o cp-gimplify.o tree-mudflap.o attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o  c-pretty-print.o c-opts.o c-pch.o incpath.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o c-omp.o
 G_CXX_C_OBJS=attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dum

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

2013-08-21 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Aug 22 00:17:48 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin: Makefile Makefile.inc
src/external/gpl3/gcc/usr.bin/backend: Makefile
src/external/gpl3/gcc/usr.bin/cpp: Makefile
src/external/gpl3/gcc/usr.bin/frontend: Makefile
src/external/gpl3/gcc/usr.bin/include: Makefile
src/external/gpl3/gcc/usr.bin/libcpp: Makefile
src/external/gpl3/gcc/usr.bin/libdecnumber: Makefile

Log Message:
Add MACHINE_ARCH's evbearmv5-e[bl] to work


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/usr.bin/Makefile.inc
cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/cpp/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/frontend/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/include/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/libcpp/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/libdecnumber/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.3 src/external/gpl3/gcc/usr.bin/Makefile:1.4
--- src/external/gpl3/gcc/usr.bin/Makefile:1.3	Wed Jun 29 01:57:59 2011
+++ src/external/gpl3/gcc/usr.bin/Makefile	Thu Aug 22 00:17:48 2013
@@ -1,10 +1,12 @@
-#	$NetBSD: Makefile,v 1.3 2011/06/29 01:57:59 mrg Exp $
+#	$NetBSD: Makefile,v 1.4 2013/08/22 00:17:48 matt Exp $
 
 NOOBJ=# defined
 
 .include 
 
-.if ${MKGCC} != "no" && exists(${.CURDIR}/gcc/arch/${MACHINE_ARCH}/defs.mk)
+GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/}
+
+.if ${MKGCC} != "no" && exists(${.CURDIR}/gcc/arch/${GCC_MACHINE_ARCH}/defs.mk)
 
 # We keep libcpp here since it depends upon frontend.
 

Index: src/external/gpl3/gcc/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.14 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.15
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.14	Tue Aug  6 05:36:42 2013
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Thu Aug 22 00:17:48 2013
@@ -1,16 +1,17 @@
-#	$NetBSD: Makefile.inc,v 1.14 2013/08/06 05:36:42 matt Exp $
+#	$NetBSD: Makefile.inc,v 1.15 2013/08/22 00:17:48 matt Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
 
 .include 
 
+GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/}
 GMP_MACHINE_ARCH=${MACHINE_ARCH:C/armv[4-7]/arm/}
 
 TOP=		${NETBSDSRCDIR}
 DIST=		${TOP}/external/gpl3/gcc/dist
 
-GCCARCH=	${.CURDIR}/../gcc/arch/${MACHINE_ARCH}
+GCCARCH=	${.CURDIR}/../gcc/arch/${GCC_MACHINE_ARCH}
 
 CPPFLAGS+=	-DLOCALEDIR=\"/usr/share/locale\" -DNETBSD_NATIVE
 HOST_CPPFLAGS+=	-I${.CURDIR}/..

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.17 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.18
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.17	Fri May 24 16:37:32 2013
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Thu Aug 22 00:17:48 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2013/05/24 16:37:32 christos Exp $
+#	$NetBSD: Makefile,v 1.18 2013/08/22 00:17:48 matt Exp $
 
 LIBISPRIVATE=	yes
 
@@ -97,10 +97,10 @@ gtype-desc.c: gtype-desc.h
 gtype-desc.h: gengtype gtyp-input.list.tmp
 	${_MKTARGET_CREATE}
 	rm -f auto-host.h
-	ln -s ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/auto-host.h .
-	if [ -f ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/sysroot-suffix.h ]; then \
+	ln -s ${.CURDIR}/../gcc/arch/${GCC_MACHINE_ARCH}/auto-host.h .
+	if [ -f ${.CURDIR}/../gcc/arch/${GCC_MACHINE_ARCH}/sysroot-suffix.h ]; then \
 	  rm -f sysroot-suffix.h; \
-	  ln -s ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/sysroot-suffix.h ; \
+	  ln -s ${.CURDIR}/../gcc/arch/${GCC_MACHINE_ARCH}/sysroot-suffix.h ; \
 	fi
 	./gengtype ${DIST}/gcc gtyp-input.list.tmp
 # gengtype is the real need for options.h
@@ -307,7 +307,7 @@ vec.lo: gtype-desc.h
 gtype-desc.d gtype-desc.o: insn-constants.h
 insn-emit.d insn-emit.o: tm-constrs.h
 
-.if ${MACHINE_ARCH} == "alpha"
+.if ${GCC_MACHINE_ARCH} == "alpha"
 alpha.d alpha.o: tm-constrs.h tm_p.h
 .endif
 
@@ -315,13 +315,13 @@ alpha.d alpha.o: tm-constrs.h tm_p.h
 arm.d arm.o: insn-constants.h tm_p.h
 .endif
 
-.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+.if ${GCC_MACHINE_ARCH} == "i386" || ${GCC_MACHINE_ARCH} == "x86_64"
 i386.d i386.o: tm-constrs.h
 .endif
 
 CFLAGS+=	-Wno-stack-protector
 
-.if ${MACHINE_ARCH} == "m68000" || ${MACHINE_ARCH} == "m68k"
+.if ${GCC_MACHINE_ARCH} == "m68000" || ${GCC_MACHINE_ARCH} == "m68k"
 COPTS.lambda-code.c=		-O0
 COPTS.tree-loop-linear.c=	-O0
 .endif

Index: src/external/gpl3/gcc/usr.bin/cpp/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cpp/Makefile:1.4 src/external/gpl3/gcc/usr.bin/cpp/Makefile

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

2013-08-05 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Aug  6 05:36:42 UTC 2013

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

Log Message:
Use armv[4-7] to be consistent


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 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.13 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.14
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.13	Mon Aug  5 03:22:45 2013
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Tue Aug  6 05:36:42 2013
@@ -1,11 +1,11 @@
-#	$NetBSD: Makefile.inc,v 1.13 2013/08/05 03:22:45 matt Exp $
+#	$NetBSD: Makefile.inc,v 1.14 2013/08/06 05:36:42 matt Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
 
 .include 
 
-GMP_MACHINE_ARCH=${MACHINE_ARCH:C/armv[467]/arm/}
+GMP_MACHINE_ARCH=${MACHINE_ARCH:C/armv[4-7]/arm/}
 
 TOP=		${NETBSDSRCDIR}
 DIST=		${TOP}/external/gpl3/gcc/dist



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

2013-08-04 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Aug  5 03:22:45 UTC 2013

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

Log Message:
Use GMP_MACHINE_ARCH which is MACHINE_ARCH with arm substituted for armv[467].


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 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.12 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.13
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.12	Sun Dec  2 12:55:27 2012
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Mon Aug  5 03:22:45 2013
@@ -1,10 +1,12 @@
-#	$NetBSD: Makefile.inc,v 1.12 2012/12/02 12:55:27 apb Exp $
+#	$NetBSD: Makefile.inc,v 1.13 2013/08/05 03:22:45 matt Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
 
 .include 
 
+GMP_MACHINE_ARCH=${MACHINE_ARCH:C/armv[467]/arm/}
+
 TOP=		${NETBSDSRCDIR}
 DIST=		${TOP}/external/gpl3/gcc/dist
 
@@ -14,7 +16,7 @@ CPPFLAGS+=	-DLOCALEDIR=\"/usr/share/loca
 HOST_CPPFLAGS+=	-I${.CURDIR}/..
 
 # Link in the GMP/MPFR/MPC headers since we don't install them
-BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${MACHINE_ARCH}/gmp.h gmp.h
+BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${GMP_MACHINE_ARCH}/gmp.h gmp.h
 BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/mpfr.h mpfr.h
 BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl3/mpfr/dist/mpf2mpfr.h mpf2mpfr.h
 BUILDSYMLINKS+=	${NETBSDSRCDIR}/external/lgpl2/mpc/dist/src/mpc.h mpc.h



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

2013-06-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jun 27 14:43:29 UTC 2013

Removed Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/earm: insn-modes.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb: insn-modes.h
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf: insn-modes.h

Log Message:
delete generated by our build files that break r/o builds.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r0 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.h
cvs rdiff -u -r1.2 -r0 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/insn-modes.h
cvs rdiff -u -r1.2 -r0 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/insn-modes.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/backend

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 16:37:33 UTC 2013

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

Log Message:
and m68000 == m68k


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 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.16 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.17
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.16	Mon Jan 14 11:00:49 2013
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Fri May 24 12:37:32 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2013/01/14 16:00:49 pooka Exp $
+#	$NetBSD: Makefile,v 1.17 2013/05/24 16:37:32 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -321,7 +321,7 @@ i386.d i386.o: tm-constrs.h
 
 CFLAGS+=	-Wno-stack-protector
 
-.if ${MACHINE_ARCH} == "m68000"
+.if ${MACHINE_ARCH} == "m68000" || ${MACHINE_ARCH} == "m68k"
 COPTS.lambda-code.c=		-O0
 COPTS.tree-loop-linear.c=	-O0
 .endif



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

2013-02-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Feb  3 05:34:50 UTC 2013

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/earm: insn-modes.h

Log Message:
mknative for earmhf


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.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/earm/insn-modes.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.h:1.1 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.h:1.2
--- src/external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.h:1.1	Sun Aug  5 17:03:32 2012
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.h	Sun Feb  3 05:34:50 2013
@@ -6,88 +6,88 @@
 
 enum machine_mode
 {
-  VOIDmode,/* machmode.def:169 */
-  BLKmode, /* machmode.def:173 */
-  CCmode,  /* machmode.def:201 */
-  CC_NOOVmode, /* config/arm/arm-modes.def:40 */
-  CC_Zmode,/* config/arm/arm-modes.def:41 */
-  CC_SWPmode,  /* config/arm/arm-modes.def:42 */
-  CCFPmode,/* config/arm/arm-modes.def:43 */
-  CCFPEmode,   /* config/arm/arm-modes.def:44 */
-  CC_DNEmode,  /* config/arm/arm-modes.def:45 */
-  CC_DEQmode,  /* config/arm/arm-modes.def:46 */
-  CC_DLEmode,  /* config/arm/arm-modes.def:47 */
-  CC_DLTmode,  /* config/arm/arm-modes.def:48 */
-  CC_DGEmode,  /* config/arm/arm-modes.def:49 */
-  CC_DGTmode,  /* config/arm/arm-modes.def:50 */
-  CC_DLEUmode, /* config/arm/arm-modes.def:51 */
-  CC_DLTUmode, /* config/arm/arm-modes.def:52 */
-  CC_DGEUmode, /* config/arm/arm-modes.def:53 */
-  CC_DGTUmode, /* config/arm/arm-modes.def:54 */
-  CC_Cmode,/* config/arm/arm-modes.def:55 */
-  CC_Nmode,/* config/arm/arm-modes.def:56 */
-  BImode,  /* machmode.def:176 */
-  QImode,  /* machmode.def:181 */
-  HImode,  /* machmode.def:182 */
-  SImode,  /* machmode.def:183 */
-  DImode,  /* machmode.def:184 */
-  TImode,  /* machmode.def:185 */
-  EImode,  /* config/arm/arm-modes.def:67 */
-  OImode,  /* config/arm/arm-modes.def:68 */
-  CImode,  /* config/arm/arm-modes.def:69 */
-  XImode,  /* config/arm/arm-modes.def:70 */
-  QQmode,  /* machmode.def:204 */
-  HQmode,  /* machmode.def:205 */
-  SQmode,  /* machmode.def:206 */
-  DQmode,  /* machmode.def:207 */
-  TQmode,  /* machmode.def:208 */
-  UQQmode, /* machmode.def:210 */
-  UHQmode, /* machmode.def:211 */
-  USQmode, /* machmode.def:212 */
-  UDQmode, /* machmode.def:213 */
-  UTQmode, /* machmode.def:214 */
-  HAmode,  /* machmode.def:216 */
-  SAmode,  /* machmode.def:217 */
-  DAmode,  /* machmode.def:218 */
-  TAmode,  /* machmode.def:219 */
-  UHAmode, /* machmode.def:221 */
-  USAmode, /* machmode.def:222 */
-  UDAmode, /* machmode.def:223 */
-  UTAmode, /* machmode.def:224 */
-  HFmode,  /* config/arm/arm-modes.def:29 */
-  SFmode,  /* machmode.def:196 */
-  DFmode,  /* machmode.def:197 */
-  XFmode,  /* config/arm/arm-modes.def:26 */
-  SDmode,  /* machmode.def:236 */
-  DDmode,  /* machmode.def:237 */
-  TDmode,  /* machmode.def:238 */
-  CQImode, /* machmode.def:232 */
-  CHImode, /* machmode.def:232 */
-  CSImode, /* machmode.def:232 */
-  CDImode, /* machmode.def:232 */
-  CTImode, /* machmode.def:232 */
-  CEImode, /* machmode.def:232 */
-  COImode, /* machmode.def:232 */
-  CCImode, /* machmode.def:232 */
-  CXImode, /* machmode.def:232 */
-  HCmode,  /* machmode.def:233 */
-  SCmode,  /* machmode.def:233 */
-  DCmode,  /* machmode.def:233 */
-  XCmode,  /* machmode.def:233 */
-  V4QImode,/* config/arm/arm-modes.def:59 */
-  V2HImode,/* config/arm/arm-modes.def:59 */
-  V8QImode,/* config/arm/arm-modes.def:60 */
-  V4HImode,/* config/arm/arm-modes.def:60 */
-  V2SImode,/* config/arm/arm-modes.def:60 */
-  V16QImode,   /* config/arm/arm-modes.def:61 */
-  V8HImode,/* confi

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

2013-01-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Jan 14 16:00:49 UTC 2013

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

Log Message:
... but make sure to unset empty before it's used as an empty variable.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 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.15 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.16
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.15	Mon Jan 14 15:50:18 2013
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Jan 14 16:00:49 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2013/01/14 15:50:18 pooka Exp $
+#	$NetBSD: Makefile,v 1.16 2013/01/14 16:00:49 pooka Exp $
 
 LIBISPRIVATE=	yes
 
@@ -112,6 +112,7 @@ gengtype: gengtype.lo gengtype-lex.lo ge
 gtyp-gen.h: Makefile
 	${_MKTARGET_CREATE}
 	(\
+	unset empty			; \
 	echo "static const char *srcdir = \"$(G_GTFILES_SRCDIR)\";"	; \
 	echo "static const char *lang_files[] = {"			; \
 	for f in $$empty $(G_GTFILES_FILES_FILES); do echo "\"$$f\", "; done ; \



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

2013-01-14 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Jan 14 15:50:18 UTC 2013

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

Log Message:
Make this work with xpg4/sh where "for x in;" is an error.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 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.14 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.15
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.14	Thu Nov 10 09:28:25 2011
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Jan 14 15:50:18 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2011/11/10 09:28:25 yamt Exp $
+#	$NetBSD: Makefile,v 1.15 2013/01/14 15:50:18 pooka Exp $
 
 LIBISPRIVATE=	yes
 
@@ -114,17 +114,16 @@ gtyp-gen.h: Makefile
 	(\
 	echo "static const char *srcdir = \"$(G_GTFILES_SRCDIR)\";"	; \
 	echo "static const char *lang_files[] = {"			; \
-	for f in $(G_GTFILES_FILES_FILES); do echo "\"$$f\", "; done	; \
+	for f in $$empty $(G_GTFILES_FILES_FILES); do echo "\"$$f\", "; done ; \
 	echo "NULL };"			; \
 	echo "static const char *langs_for_lang_files[] = {"		; \
-	for f in $(G_GTFILES_FILES_LANGS); do echo "\"$$f\", "; done 	; \
+	for f in $$empty $(G_GTFILES_FILES_LANGS); do echo "\"$$f\", "; done ; \
 	echo "NULL };"			; \
 	echo "static const char *all_files[] = {"			; \
-	for f in $(G_GTFILES); do echo "\"$$f\", "; done		; \
+	for f in $$empty $(G_GTFILES); do echo "\"$$f\", "; done	; \
 	echo " NULL };"			; \
 	echo "static const char *lang_dir_names[] = {"			; \
-	echo "\"c\", "			; \
-	for f in $(G_GTFILES_LANG_DIR_NAMES); do echo "\"$$f\", "; done	; \
+	for f in c $(G_GTFILES_LANG_DIR_NAMES); do echo "\"$$f\", "; done ; \
 	echo "NULL };"			; \
 	) >${.TARGET}
 



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

2012-10-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Oct 12 18:42:00 UTC 2012

Removed Files:
src/external/gpl3/gcc/usr.bin/g++: g++.1
src/external/gpl3/gcc/usr.bin/gcc: gcc.1

Log Message:
Remove OLD manunal to install correct manual.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/external/gpl3/gcc/usr.bin/g++/g++.1
cvs rdiff -u -r1.1 -r0 src/external/gpl3/gcc/usr.bin/gcc/gcc.1

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/powerpc

2012-09-25 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Sep 26 05:57:45 UTC 2012

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc: configargs.h

Log Message:
This needs to have an #else clause


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.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/powerpc/configargs.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.11 src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.12
--- src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.11	Wed Sep 26 05:38:29 2012
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h	Wed Sep 26 05:57:45 2012
@@ -11,6 +11,7 @@ static const struct {
 } configure_default_options[] = {
 #ifdef _SOFT_FLOAT
   { "float", "soft" },
-#endif
+#else
   { NULL, NULL }
+#endif
 };



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

2012-09-25 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Sep 26 05:38:29 UTC 2012

Modified Files:
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc: configargs.h

Log Message:
Fix _SOFT_FLOAT_ -> _SOFT_FLOAT


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.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/powerpc/configargs.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.10 src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.11
--- src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h:1.10	Tue Sep 18 19:45:49 2012
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h	Wed Sep 26 05:38:29 2012
@@ -9,7 +9,7 @@ static const char thread_model[] = "posi
 static const struct {
   const char *name, *value;
 } configure_default_options[] = {
-#ifdef _SOFT_FLOAT_
+#ifdef _SOFT_FLOAT
   { "float", "soft" },
 #endif
   { NULL, NULL }



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

2011-12-16 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Dec 16 11:19:20 UTC 2011

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

Log Message:
Apparently mknative didn't work right. Fix up losses.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/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/m68k/auto-host.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/auto-host.h:1.2 src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/auto-host.h:1.3
--- src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/auto-host.h:1.2	Wed Jul 20 00:53:54 2011
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/m68k/auto-host.h	Fri Dec 16 11:19:19 2011
@@ -456,7 +456,7 @@
 
 /* Define if your assembler supports thread-local storage. */
 #ifndef USED_FOR_TARGET
-/* #undef HAVE_AS_TLS */
+#define HAVE_AS_TLS 1
 #endif
 
 
@@ -954,13 +954,13 @@
 
 /* Define 0/1 if your assembler supports .cfi_sections. */
 #ifndef USED_FOR_TARGET
-#define HAVE_GAS_CFI_SECTIONS_DIRECTIVE 0
+#define HAVE_GAS_CFI_SECTIONS_DIRECTIVE 1
 #endif
 
 
 /* Define if your assembler supports the .loc discriminator sub-directive. */
 #ifndef USED_FOR_TARGET
-/* #undef HAVE_GAS_DISCRIMINATOR */
+#define HAVE_GAS_DISCRIMINATOR 1
 #endif
 
 



  1   2   >