Topic: 32 bit executable fails, 64 bit fine
This may be a gcc/gfortran library bug, but might be something related to your build of gfortran. The program below crashes with
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 ffffffff
when building with 32 bit architecture selected (-m32 flag), but executes correctly without error when 64 bit is selected.
program defer
implicit none
character(len=:), dimension(:), allocatable::s
s=["a12","ab3","abc"]
write(*,*)"shape of s: ",shape(s)
end program defer