https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108705
--- Comment #4 from Rimvydas (RJ) <rimvydas.jas at gmail dot com> ---
Interesting. I see failure even on online godbolt compiler x86-64 gfortran
(trunk) with -O2: "Killed - processing time exceeded"
Just rechecked on fresh arch linux with gcc 12.2.1 host:
$ ./gcc/gfortran -Bgcc/ -v -O2 -ftime-report -c hog.f90
Reading specs from gcc/specs
COLLECT_GCC=./gcc/gfortran
Target: x86_64-pc-linux-gnu
Configured with: /zzz/gg/configure --disable-multilib
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.0.1 20230209 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-B' 'gcc/' '-v' '-O2' '-ftime-report' '-c'
'-mtune=generic' '-march=x86-64'
gcc/f951 hog.f90 -quiet -dumpbase hog.f90 -dumpbase-ext .f90 -mtune=generic
-march=x86-64 -O2 -version -ftime-report -fintrinsic-modules-path finclude
-fpre-include=/usr/include/finclude/math-vector-fortran.h -o /tmp/ccnSnvQ4.s
GNU Fortran (GCC) version 13.0.1 20230209 (experimental) (x86_64-pc-linux-gnu)
compiled by GNU C version 13.0.1 20230209 (experimental), GMP version
6.2.1, MPFR version 4.2.0, MPC version 1.3.1, isl version isl-0.24-GMP
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Time variable usr sys wall
GGC
phase parsing : 0.01 ( 0%) 0.00 ( 0%) 0.01 ( 0%)
1884k ( 55%)
phase opt and generate :2039.11 (100%) 0.02 (100%)2039.15 (100%)
1319k ( 39%)
callgraph functions expansion :2039.11 (100%) 0.01 ( 50%)2039.13 (100%)
1145k ( 34%)
callgraph ipa passes : 0.00 ( 0%) 0.01 ( 50%) 0.02 ( 0%)
151k ( 4%)
df live regs : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( 0%)
0 ( 0%)
parser (global) : 0.01 ( 0%) 0.00 ( 0%) 0.01 ( 0%)
1884k ( 55%)
integration : 0.00 ( 0%) 0.01 ( 50%) 0.00 ( 0%)
124k ( 4%)
tree VRP : 6.88 ( 0%) 0.00 ( 0%) 6.88 ( 0%)
78k ( 2%)
tree SSA rewrite : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( 0%)
4488 ( 0%)
tree SSA incremental : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( 0%)
26k ( 1%)
dominator optimization :2032.19 (100%) 0.00 ( 0%)2032.20 (100%)
16k ( 0%)
tree PRE : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( 0%)
16k ( 0%)
tree conservative DCE : 0.01 ( 0%) 0.00 ( 0%) 0.00 ( 0%)
2360 ( 0%)
tree SSA verifier : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( 0%)
0 ( 0%)
tree modref : 0.00 ( 0%) 0.01 ( 50%) 0.00 ( 0%)
6056 ( 0%)
out of ssa : 0.01 ( 0%) 0.00 ( 0%) 0.00 ( 0%)
0 ( 0%)
CSE 2 : 0.01 ( 0%) 0.00 ( 0%) 0.00 ( 0%)
48 ( 0%)
initialize rtl : 0.01 ( 0%) 0.00 ( 0%) 0.00 ( 0%)
12k ( 0%)
rest of compilation : 0.00 ( 0%) 0.00 ( 0%) 0.02 ( 0%)
14k ( 0%)
TOTAL :2039.12 0.02 2039.16
3404k
Extra diagnostic checks enabled; compiler may run slowly.
Configure with --enable-checking=release to disable checks.
COLLECT_GCC_OPTIONS='-B' 'gcc/' '-v' '-O2' '-ftime-report' '-c'
'-mtune=generic' '-march=x86-64'
gcc/as -v --64 -o hog.o /tmp/ccnSnvQ4.s
GNU assembler version 2.40 (x86_64-pc-linux-gnu) using BFD version (GNU
Binutils) 2.40
COMPILER_PATH=gcc/
LIBRARY_PATH=gcc/:/lib/../lib64/:/usr/lib/../lib64/:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-B' 'gcc/' '-v' '-O2' '-ftime-report' '-c'
'-mtune=generic' '-march=x86-64'