[Bug fortran/65428] ICE on nest array constructor
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Tue Feb 9 21:46:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65428
--- Comment #3 from Harald Anlauf <anlauf at gmx dot de> ---
Even simpler:
integer :: i
print *, 1 + (/ (i, i=1,0) /) ! OK
print *, 1 + (/ (/ (i, i=1,0) /) /) ! Error
end
pr65428.f90:3:10:
print *, 1 + (/ (/ (i, i=1,0) /) /) ! Error
1
Error: Operands of binary numeric operator '+' at (1) are INTEGER(4)/UNKNOWN
More information about the Gcc-bugs
mailing list