Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src lint1: add bug report for internal GCC compiler error
details: https://anonhg.NetBSD.org/src/rev/502a589cf527
branches: trunk
changeset: 379862:502a589cf527
user: rillig <rillig%NetBSD.org@localhost>
date: Wed Jun 23 07:11:41 2021 +0000
description:
lint1: add bug report for internal GCC compiler error
diffstat:
doc/HACKS | 3 ++-
usr.bin/xlint/lint1/Makefile | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r 0aad23b86003 -r 502a589cf527 doc/HACKS
--- a/doc/HACKS Wed Jun 23 00:56:41 2021 +0000
+++ b/doc/HACKS Wed Jun 23 07:11:41 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.219 2021/06/22 13:02:52 martin Exp $
+# $NetBSD: HACKS,v 1.220 2021/06/23 07:11:41 rillig Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@@ -1010,4 +1010,5 @@ port sh3
The in-tree gcc 9 crashes with an internal invalid
opcode exception when using any kind of optimization
on the lex.c file. Force -O0 for this file.
+ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101177
kcah
diff -r 0aad23b86003 -r 502a589cf527 usr.bin/xlint/lint1/Makefile
--- a/usr.bin/xlint/lint1/Makefile Wed Jun 23 00:56:41 2021 +0000
+++ b/usr.bin/xlint/lint1/Makefile Wed Jun 23 07:11:41 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2021/06/22 12:58:28 martin Exp $
+# $NetBSD: Makefile,v 1.72 2021/06/23 07:11:41 rillig Exp $
.include <bsd.own.mk>
@@ -27,6 +27,7 @@ CPPFLAGS+= ${DEBUG:D-DDEBUG}
COPTS.err.c+= ${${ACTIVE_CC} == "clang":? -Wno-format-nonliteral :}
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101177
.if ${HAVE_GCC} == 9 && \
(${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb")
COPTS.lex.c+= -O0
Home |
Main Index |
Thread Index |
Old Index