This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]