This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/69604] New: ICE in gfc_add_modify_loc, at fortran/trans.c:159
- 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: Mon, 01 Feb 2016 19:21:00 +0000
- Subject: [Bug fortran/69604] New: ICE in gfc_add_modify_loc, at fortran/trans.c:159
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69604
Bug ID: 69604
Summary: ICE in gfc_add_modify_loc, at fortran/trans.c:159
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fortran@t-online.de
Target Milestone: ---
The following examples together with :
$ gfortran-6 --version
GNU Fortran (SUSE Linux) 6.0.0 20160121 (experimental) [trunk revision 232670]
$ cat z1.f90
program p
x(n) = n()
print *, x(n)
end
$ cat z2.f90
program p
x(n) = n(1.0)
print *, x(n)
end
$ cat z4.f90
program p
complex :: z[*]
real :: x[*]
z = x / cmplx(0.0, x)
yield :
$ gfortran-6 -c z1.f90
internal compiler error: in gfc_add_modify_loc, at fortran/trans.c:159
$ gfortran-6 -fcoarray=single -c z4.f90
internal compiler error: in gfc_add_modify_loc, at fortran/trans.c:159
A previous version gives :
$ gfortran-5.3.1 -c z1.f90
internal compiler error: in conv_function_val, at fortran/trans-expr.c:3489