Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/usr.bin/backend external/gpl3/gcc: Suppres...
details: https://anonhg.NetBSD.org/src/rev/d9353aad5139
branches: trunk
changeset: 934439:d9353aad5139
user: fox <fox%NetBSD.org@localhost>
date: Fri Jun 12 14:37:51 2020 +0000
description:
external/gpl3/gcc: Suppress -Werror=maybe-uninitialized
Seems like false positive since the ASM_GENERATE_INTERNAL_LABEL macro
stores the value into prev_label, so it is alright for prev_label to
be uninitialized.
Error was reported when build.sh was run with MKSANITIZER=yes flag.
Reviewed by: kamil@
diffstat:
external/gpl3/gcc/usr.bin/backend/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r bfa75b0fc552 -r d9353aad5139 external/gpl3/gcc/usr.bin/backend/Makefile
--- a/external/gpl3/gcc/usr.bin/backend/Makefile Fri Jun 12 14:12:20 2020 +0000
+++ b/external/gpl3/gcc/usr.bin/backend/Makefile Fri Jun 12 14:37:51 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2019/10/29 02:49:05 christos Exp $
+# $NetBSD: Makefile,v 1.58 2020/06/12 14:37:51 fox Exp $
LIBISPRIVATE= yes
@@ -595,6 +595,8 @@
CFLAGS+= -Wno-stack-protector
+COPTS.dwarf2out.c+=-Wno-error=maybe-uninitialized
+
.if ${GCC_MACHINE_ARCH} == "m68000" || ${GCC_MACHINE_ARCH} == "m68k" || \
${GCC_MACHINE_ARCH} == "coldfire"
COPTS.tree-loop-distribution.c+=-O2
Home |
Main Index |
Thread Index |
Old Index