https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120165
--- Comment #9 from John Paul Adrian Glaubitz <glaubitz at debian dot org> ---
Building with
make -j48 BOOT_CFLAGS="-O2 -fno-omit-frame-pointer"
avoids the crash indeed. However, the Fortran compiler still misbehaves and
seems to have issues now with its lexer:
(unstable-m68k-sbuild)glaubitz@esk:~/gcc/build$
/home/glaubitz/gcc/build/gcc/f951 ~/conftest.f -fno-omit-frame-pointer
-ffixed-form -mcpu=68020 -g -fchecking=1 -o /tmp/conftest.s
/home/glaubitz/conftest.f:1:8:
1 | program main
| 1
Error: Invalid character in name at (1)
/home/glaubitz/conftest.f:2:8:
2 | end
| 1
Error: Invalid character in name at (1)
Analyzing compilation unit
Time variable wall GGC
phase setup : 0.10 ( 60%) 112k ( 30%)
phase parsing : 0.06 ( 38%) 264k ( 70%)
parser (global) : 0.06 ( 37%) 264k ( 70%)
TOTAL : 0.16 377k
Extra diagnostic checks enabled; compiler may run slowly.
Configure with --enable-checking=release to disable checks.
(unstable-m68k-sbuild)glaubitz@esk:~/gcc/build$
The program in question is a very simple test program:
glaubitz@esk:~$ cat conftest.f
program main
end
glaubitz@esk:~$