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

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

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

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

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


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

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



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

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

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

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

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


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

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

Modified files:

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



CVS commit: src/external/gpl3/gcc/usr.bin/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/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/cc1

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 10:15:40 UTC 2011

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

Log Message:
port this to GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 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.1 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.1	Tue Jun 21 06:03:13 2011
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Tue Jun 28 10:15:40 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2011/06/21 06:03:13 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/06/28 10:15:40 mrg Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -6,7 +6,13 @@
 
 .include ../Makefile.backend
 .include ../Makefile.libcpp
+.include ../Makefile.libdecnumber
+
+# VER_CPPFLAGS from Makefile.inc
+CPPFLAGS.c-cppbuiltin.c=	${VER_CPPFLAGS}
 
 COPTS+=	-Wno-stack-protector
 
+LDADD+=	-lintl -lgmp -lmpfr -lmpc -lz
+
 .PATH: ${DIST}/gcc ${G_out_file:H}



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

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 10:15:40 UTC 2011

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

Log Message:
port this to GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 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.