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-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.



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.



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 

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-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.



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-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.



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



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 

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.



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.



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
 
@@ 

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 

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.



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 

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.



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 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.



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 

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.



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.



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 



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

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

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


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

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.



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.



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



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

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.



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



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



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



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.



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.



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.



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



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.



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/gcc/arch

2016-04-21 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Apr 22 01:45:28 UTC 2016

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

Log Message:
mknative for GCC 5.3 and *arm* after netbsd-elf.h order fix.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 \
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/configargs.h
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/usr.bin/gcc/arch/arm/defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/tm.h
cvs rdiff -u -r1.21 -r1.22 \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/configargs.h
cvs rdiff -u -r1.9 -r1.10 \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/gtyp-input.list
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/tm.h
cvs rdiff -u -r1.18 -r1.19 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/configargs.h
cvs rdiff -u -r1.7 -r1.8 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/tm.h
cvs rdiff -u -r1.15 -r1.16 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/configargs.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/tm.h
cvs rdiff -u -r1.13 -r1.14 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/configargs.h
cvs rdiff -u -r1.6 -r1.7 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/tm.h
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4/configargs.h
cvs rdiff -u -r1.6 -r1.7 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4/defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4/tm.h
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/configargs.h
cvs rdiff -u -r1.6 -r1.7 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/tm.h
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6/configargs.h
cvs rdiff -u -r1.6 -r1.7 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6/defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6/gtyp-input.list \
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6/tm.h
cvs rdiff -u -r1.12 -r1.13 \

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-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.



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

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.



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

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.



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

2016-03-19 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.



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
+  

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

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.



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:   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.



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.



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 \

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: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.



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: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.



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}\" \
+		

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.



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



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



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 bsd.subdir.mk

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

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.



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



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.



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 bsd.subdir.mk



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



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.



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 

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.



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 bsd.own.mk
 
 DPADD+=			${FRONTENDOBJ}/libfrontend.a



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 bsd.own.mk
-
 .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.



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.



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 bsd.info.mk
 
+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: 

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.



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.



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 bsd.lib.mk
 
 # 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/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/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 bsd.prog.mk



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.



  1   2   3   >