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

--- Comment #4 from c...@mnet-mail.de ---
Thanks, this caught the bounds violation with the following output:

lbound/ubound(a):    -1    -1     1     2     1     1
lbound/ubound(b):    -1    -1     1     2     1     1
lbound/ubound(c):    -1    -1     1     2     1     1
lbound/ubound(t):     0     0     0     3     2     0
 a, b, c, t: 
At line 28 of file test_alloc.F90
Fortran runtime error: Index '1' of dimension 3 of array 't' above upper bound
of 0

Error termination. Backtrace:
#0  0x2b3018cf341a
#1  0x2b3018cf3f75
#2  0x2b3018cf4347
#3  0x403e97
#4  0x40400f
#5  0x2b301917182f
#6  0x4008d8
#7  0xffffffffffffffff

Reply via email to