Module Name: src Committed By: martin Date: Tue Jun 22 13:02:52 UTC 2021
Modified Files: src/doc: HACKS Log Message: Document sh3* lint hack for gcc 9 To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 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.218 src/doc/HACKS:1.219 --- src/doc/HACKS:1.218 Mon May 31 22:33:19 2021 +++ src/doc/HACKS Tue Jun 22 13:02:52 2021 @@ -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