Module Name:    src
Committed By:   mrg
Date:           Tue Nov 14 09:04:17 UTC 2017

Modified Files:
        src/external/gpl3/gcc/dist/gcc: toplev.c
        src/external/gpl3/gcc/dist/libiberty: vprintf-support.c
        src/external/gpl3/gcc/lib/liblto_plugin: Makefile

Log Message:
sync with gcc.old.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5 -r1.2 src/external/gpl3/gcc/dist/gcc/toplev.c
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/external/gpl3/gcc/dist/libiberty/vprintf-support.c
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/lib/liblto_plugin/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/dist/gcc/toplev.c
diff -u src/external/gpl3/gcc/dist/gcc/toplev.c:1.1.1.5 src/external/gpl3/gcc/dist/gcc/toplev.c:1.2
--- src/external/gpl3/gcc/dist/gcc/toplev.c:1.1.1.5	Sat Nov 11 23:49:42 2017
+++ src/external/gpl3/gcc/dist/gcc/toplev.c	Tue Nov 14 09:04:16 2017
@@ -1386,8 +1386,7 @@ process_options (void)
 
       if (flag_sanitize & SANITIZE_THREAD)
 	{
-	  error (UNKNOWN_LOCATION,
-		 "%<-fcheck-pointer-bounds%> is not supported with "
+	  error ("%<-fcheck-pointer-bounds%> is not supported with "
 		 "Thread Sanitizer");
 
 	  flag_check_pointer_bounds = 0;

Index: src/external/gpl3/gcc/dist/libiberty/vprintf-support.c
diff -u src/external/gpl3/gcc/dist/libiberty/vprintf-support.c:1.1.1.1 src/external/gpl3/gcc/dist/libiberty/vprintf-support.c:1.2
--- src/external/gpl3/gcc/dist/libiberty/vprintf-support.c:1.1.1.1	Sun Jan 24 06:05:56 2016
+++ src/external/gpl3/gcc/dist/libiberty/vprintf-support.c	Tue Nov 14 09:04:17 2017
@@ -36,6 +36,7 @@ Floor, Boston, MA 02110-1301, USA.  */
 extern unsigned long strtoul ();
 #endif
 #include "libiberty.h"
+#include "vprintf-support.h"
 
 int
 libiberty_vprintf_buffer_size (const char *format, va_list args)

Index: src/external/gpl3/gcc/lib/liblto_plugin/Makefile
diff -u src/external/gpl3/gcc/lib/liblto_plugin/Makefile:1.8 src/external/gpl3/gcc/lib/liblto_plugin/Makefile:1.9
--- src/external/gpl3/gcc/lib/liblto_plugin/Makefile:1.8	Sat Nov 11 07:50:39 2017
+++ src/external/gpl3/gcc/lib/liblto_plugin/Makefile	Tue Nov 14 09:04:17 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2017/11/11 07:50:39 kamil Exp $
+#	$NetBSD: Makefile,v 1.9 2017/11/14 09:04:17 mrg Exp $
 
 .include <bsd.init.mk>
 .include <bsd.shlib.mk>
@@ -11,8 +11,11 @@ GNUHOSTDIST=	${DIST}
 SRCS=		lto-plugin.c hashtab.c simple-object.c pex-unix.c \
 		pex-common.c argv.c make-temp-file.c concat.c \
 		simple-object-elf.c simple-object-mach-o.c \
-		simple-object-coff.c simple-object-xcoff.c xstrerror.c \
-		safe-ctype.c
+		simple-object-coff.c simple-object-xcoff.c \
+
+# libiberty
+SRCS+=		xstrerror.c xasprintf.c xvasprintf.c safe-ctype.c \
+		vprintf-support.c
 
 CPPFLAGS+=	-I${DIST}/include -I. 
 CPPFLAGS+=	-DHAVE_CONFIG_H

Reply via email to