[Bug fortran/23091] ICE in gfc_trans_auto_array_allocation
mimo2 at free dot fr
gcc-bugzilla@gcc.gnu.org
Thu Jan 5 13:41:00 GMT 2006
------- Comment #6 from mimo2 at free dot fr 2006-01-05 13:41 -------
same (?) bug on GNU Fortran 95 (GCC) 4.2.0 20060104
program test
call toto(4)
end
subroutine toto(n)
integer, intent(in) :: n
real :: tab(n)
tab(1:n) = 4.
end
this code compiles when no option, but fails when -fno-automatic with
test.f90:6: erreur interne du compilateur: dans
gfc_trans_auto_array_allocation, Ã fortran/trans-array.c:3326
commenting the line tab(1:n) = 4. makes it to compile with -fno-automatic
--
mimo2 at free dot fr changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mimo2 at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23091
More information about the Gcc-bugs
mailing list