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/77380] ICE in gfc_check_dependency, at fortran/dependency.c:1255


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

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

No ICE with -fcoarray=single :

$ gfortran-7-20160821 -O2 -fcoarray=single z1.f90
z1.f90:3:14:

    z(:)[1] = z(:)[*]
              1
Error: Coindex of codimension 1 must be a scalar at (1)



Bailed out with 5, 6 (official, --enable-checking=release) :

$ gfortran-6 -O2 -fcoarray=lib z1.f90
z1.f90:3:14:

    z(:)[1] = z(:)[*]
              1
Error: Coindex of codimension 1 must be a scalar at (1)
(null):0: confused by earlier errors, bailing out

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