Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/doc Document sh3* lint hack for gcc 9



details:   https://anonhg.NetBSD.org/src/rev/6ee3ba44840e
branches:  trunk
changeset: 379857:6ee3ba44840e
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jun 22 13:02:52 2021 +0000

description:
Document sh3* lint hack for gcc 9

diffstat:

 doc/HACKS |  15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 919df1caf4d6 -r 6ee3ba44840e doc/HACKS
--- a/doc/HACKS Tue Jun 22 12:58:28 2021 +0000
+++ b/doc/HACKS Tue Jun 22 13:02:52 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.218 2021/05/31 22:33:19 rin Exp $
+# $NetBSD: HACKS,v 1.219 2021/06/22 13:02:52 martin Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -998,3 +998,16 @@ descr      For alpha gcc-9 and gcc-10 miscomp
         allocation from the stack and freeing with regular free which causes
        a crash.
 kcah
+
+port   sh3
+
+       hack    gcc9-sh3-lint
+       cdate   Tue Jun 22 14:59:52 CEST 2021
+       mdate   Tue Jun 22 14:59:52 CEST 2021
+       who     martin
+       file    usr.bin/xlint/lint1/Makefile    : 1.70
+       descr
+               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.
+kcah



Home | Main Index | Thread Index | Old Index