With target board unix/-m32, we run into: ... gdb compile failed, /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.fortran/size.f90:47:40: allocate (array_1d_4bytes_overflow (1:b4_o)) 1 Error: Arithmetic overflow converting INTEGER(8) to INTEGER(4) at (1). This check can be disabled with the option '-fno-range-check' ...
https://sourceware.org/pipermail/gdb-patches/2022-April/188248.html
The referenced patch was reviewed and was pushed to master. This should close the ticket.
Fixed, thanks.