CVS commit: src/doc

2021-07-05 Thread Harold Gutch
Module Name:src
Committed By:   hgutch
Date:   Mon Jul  5 11:16:56 UTC 2021

Modified Files:
src/doc: HACKS

Log Message:
Update gcc9-sh3-lint - instead of disabling optimization for lex.c on
sh3, rather revert the gcc change that (seemingly accidentally) broke
this.


To generate a diff of this commit:
cvs rdiff -u -r1.220 -r1.221 src/doc/HACKS

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2021-07-05 Thread Harold Gutch
Module Name:src
Committed By:   hgutch
Date:   Mon Jul  5 10:34:26 UTC 2021

Modified Files:
src/external/gpl3/gcc.old/dist/gcc/config/sh: sh.md
src/external/gpl3/gcc/dist/gcc/config/sh: sh.md
src/usr.bin/xlint/lint1: Makefile

Log Message:
GCC git commit 91f66e78cc141da77ff9e0e3c8519e1af3f26c07[1] introduced
a regression in sh.  In addition to the intended change (based on the
commit message), an apparently unintended change was made, inverting a
comparison.  This broke sh builds and our workaround (so far) was to
compile xlint/lint1 with -O0.

Revert the comparison to what it was before and remove the -O0 hack
from xlint/lint1.

[1] 
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=91f66e78cc141da77ff9e0e3c8519e1af3f26c07


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc.old/dist/gcc/config/sh/sh.md
cvs rdiff -u -r1.1.1.16 -r1.2 src/external/gpl3/gcc/dist/gcc/config/sh/sh.md
cvs rdiff -u -r1.77 -r1.78 src/usr.bin/xlint/lint1/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.