Module Name: src
Committed By: rin
Date: Fri Jul 16 10:02:50 UTC 2021
Modified Files:
src/doc: HACKS
Log Message:
PR port-sh3/56311
Correct misinterpretation for the cause of the problem, and link to
the bug report for upstream.
To generate a diff of this commit:
cvs rdiff -u -r1.223 -r1.224 src/doc/HACKS
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/doc/HACKS
diff -u src/doc/HACKS:1.223 src/doc/HACKS:1.224
--- src/doc/HACKS:1.223 Thu Jul 15 08:02:47 2021
+++ src/doc/HACKS Fri Jul 16 10:02:50 2021
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.223 2021/07/15 08:02:47 rin Exp $
+# $NetBSD: HACKS,v 1.224 2021/07/16 10:02:50 rin Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@@ -1001,9 +1001,12 @@ kcah
port sh3
hack compile lint1/initdecl() with -O0 for sh3 (port-sh3/56311)
cdate Thu Jul 15 07:58:05 UTC 2021
+mdate Fri Jul 16 10:00:00 UTC 2021
who rin
file src/usr.bin/xlint/lint1/decl.c: 1.200
-descr GCC 9 and 10 miscompile initdecl() due to improper use of scratch
- register, as described in the PR. Compiling this function with -O0
- works around the problem.
+descr GCC 9 and 10 miscompile initdecl() due to mischoice of register,
+ as described in the PR. Compiling this function with -O0 works
+ around the problem.
+ The problem has been reported to upstream as GCC Bug 101469:
+ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
kcah