[Bug fortran/71883] ICE in identical_array_ref, at fortran/dependency.c:104
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Thu Jul 14 16:38:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71883
--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
Backup tests, analogous backtrace :
$ cat z2.f90
program p
character(:), allocatable :: z(:,:)
z(1:2,1:2) = 'abc'
z(2,1) = z(12)
z(21) = z(1,2)
end
$ cat z3.f90
program p
character(3), allocatable :: z(:,:)
z(1:2,1:2) = 'abc'
z(2,1) = z(-1)
z(2,1) = z(99)
z(2,1) = z(huge(0))
z(2,1) = z(-huge(0))
z(-1) = z(2,1)
z(99) = z(2,1)
z(huge(0)) = z(2,1)
z(-huge(0)) = z(2,1)
end
$ cat z4.f90
program p
character(:), allocatable :: z(:,:)
z(1:2,1:2) = 'abc'
z(2,1) = z(-1)
z(2,1) = z(99)
z(2,1) = z(huge(0))
z(2,1) = z(-huge(0))
z(-1) = z(2,1)
z(99) = z(2,1)
z(huge(0)) = z(2,1)
z(-huge(0)) = z(2,1)
end
More information about the Gcc-bugs
mailing list