This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/77380] ICE in gfc_check_dependency, at fortran/dependency.c:1255
- From: "gerhard dot steinmetz dot fortran at t-online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Aug 2016 18:33:50 +0000
- Subject: [Bug fortran/77380] ICE in gfc_check_dependency, at fortran/dependency.c:1255
- Auto-submitted: auto-generated
- References: <bug-77380-4@http.gcc.gnu.org/bugzilla/>
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