https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486
--- Comment #13 from Susi Lehtola <jussilehtola at fedoraproject dot org> ---
The gdb output is the same
(gdb) r
Starting program: /tmp/a.out
Fortran runtime error: Zero-length string passed as value to
get_environment_variable.
Error termination. Backtrace:
#0 0x401267 in zerolen_value
at /tmp/readvar2.f90:17
#1 0x4012c4 in main
at /tmp/readvar2.f90:22
[Inferior 1 (process 122282) exited with code 02]
