[Bug fortran/77429] ICE in gfc_check_dependency, at fortran/dependency.c:1261

gerhard.steinmetz.fortran@t-online.de gcc-bugzilla@gcc.gnu.org
Wed Aug 31 18:52:00 GMT 2016


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

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---

Whereas :

$ cat z3.f90
program p
   shape(1,2,3) = 0
end

$ gfortran-7-20160828 z3.f90
z3.f90:2:3:

    shape(1,2,3) = 0
   1
Error: Too many arguments in call to 'shape' at (1)


---


Some other cases with ICE :

$ cat z5.f90
program p
   lbound([1]) = 0
end

$ cat z6.f90
program p
   shape([1]) = 0
end

$ cat z7.f90
program p
   transfer(1,2,3) = 0
end

$ cat z8.f90
program p
   ubound([1]) = 0
end


More information about the Gcc-bugs mailing list