This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29490] New: internal compiler error: in fold_binary, at fold-const.c:8239
- From: "pmason at ricardo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2006 14:01:08 -0000
- Subject: [Bug fortran/29490] New: internal compiler error: in fold_binary, at fold-const.c:8239
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Get following error message when compiling fortran 90 code:
> "internal compiler error: in fold_binary, at fold-const.c:8239".
Test code that fails , see below:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
!---------------------------------
program fred
!---------------------------------
real :: dezz(1:10)
real, allocatable :: jack(:)
!
allocate(jack(10)); jack = 9.
dezz = john(jack,1)
print*,'dezz = ',dezz
contains
!---------------------------------
function john(t,il)
!---------------------------------
real :: t(il:)
real :: john(1:10)
john = 10.
end function john
end
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Compiled on suse 9 box as "gfortran test.f90" using
version 4.2.0 20061015 (experimental).
--
Summary: internal compiler error: in fold_binary, at fold-
const.c:8239
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pmason at ricardo dot com
GCC build triplet: 4.2.0 20061015 (experimental)
GCC host triplet: suse 9.0
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29490