[Bug fortran/29507] INDEX in an array initialization causes ICE
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 16 15:04:00 GMT 2007
------- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-03-16 15:04 -------
(In reply to comment #3)
Since this bug is related to PR31221, I tried your patch on the other testcase,
and it fails:
$ cat a.f90
integer, parameter :: i2(1)=MODULO((/1/),5)
call foo(i2)
end
$ gfortran a.f90
a.f90:1.45:
integer, parameter :: i2(1)=MODULO((/1/),5)
1
Internal Error at (1):
check_init_expr(): Unknown expression type
I don't know if it exposes another bug or exposes something missing in your
patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29507
More information about the Gcc-bugs
mailing list