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/988c23a674a2
branches: trunk
changeset: 984136:988c23a674a2
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 52e9b8374681 -r 988c23a674a2 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 @@
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 52e9b8374681 -r 988c23a674a2 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 @@
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