Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/doc PR port-sh3/56311
details: https://anonhg.NetBSD.org/src/rev/075ebf361f97
branches: trunk
changeset: 984654:075ebf361f97
user: rin <rin%NetBSD.org@localhost>
date: Thu Jul 15 08:02:47 2021 +0000
description:
PR port-sh3/56311
Document -O0 workaround for initdecl() in doc/HACKS.
diffstat:
doc/HACKS | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r ab74fc94b5a6 -r 075ebf361f97 doc/HACKS
--- a/doc/HACKS Thu Jul 15 07:58:05 2021 +0000
+++ b/doc/HACKS Thu Jul 15 08:02:47 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.222 2021/07/06 12:42:12 thorpej Exp $
+# $NetBSD: HACKS,v 1.223 2021/07/15 08:02:47 rin Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@@ -997,3 +997,13 @@
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101177
kcah
+
+port sh3
+hack compile lint1/initdecl() with -O0 for sh3 (port-sh3/56311)
+cdate Thu Jul 15 07:58:05 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.
+kcah
Home |
Main Index |
Thread Index |
Old Index