[Bug fortran/59065] questionable bounds for unassociated allocatable/pointer arrays?

zeccav at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Feb 21 07:43:00 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59065

--- Comment #10 from Vittorio Zecca <zeccav at gmail dot com> ---
This issue seems to have been resolved in the trunk gfortran 11.0.0

gfortran gfbug109.f  -fcheck=pointer -g 
[vitti f95]$./a.out 
At line 9 of file gfbug109.f
Fortran runtime error: Allocatable argument 'aa' is not allocated

Error termination. Backtrace:
#0  0x1458cf822d74 in ???
#1  0x1458cf823849 in ???
#2  0x1458cf823e5a in ???
#3  0x401b94 in MAIN__
        at /home/vitti/f95/gfbug109.f:9
#4  0x401eb1 in main
        at /home/vitti/f95/gfbug109.f:11


More information about the Gcc-bugs mailing list