[Bug fortran/88452] gfortran (Gentoo 8.2.0-r5 p1.6) 8.2.0 reports internal error
jiri.pittner@jh-inst.cas.cz
gcc-bugzilla@gcc.gnu.org
Wed Dec 12 10:35:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88452
--- Comment #2 from jiri.pittner@jh-inst.cas.cz ---
The workaround works only until you try to access the array:
subroutine tccdenom(n1,n2)
implicit none
integer n1, n2,i,j
real tt1(n1,n2)
complex ctt1(n1,n2)
equivalence(tt1, ctt1)
do i=1,n1
do j=1,n2
ctt1(i,j)=0
enddo
enddo
end
When compiling this, another ICE occurs:
gfortran fi.F
fi.F:9:0:
ctt1(i,j)=0
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
More information about the Gcc-bugs
mailing list