This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23091] ICE in gfc_trans_auto_array_allocation
- From: "mimo2 at free dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jan 2006 13:41:42 -0000
- Subject: [Bug fortran/23091] ICE in gfc_trans_auto_array_allocation
- References: <bug-23091-1492@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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