------- 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


Reply via email to