This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/19990] New: internal compiler error gfc_finish_var_decl
- From: "dirk dot fressmann at newcastle dot edu dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Feb 2005 23:02:22 -0000
- Subject: [Bug fortran/19990] New: internal compiler error gfc_finish_var_decl
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Internal compiler error in compiling a f90-module of the HSL library
on RedHat Fedora Core 3 Linux, i686, IBM Thinkpad, Kernel 2.6.10
> version informations
> ./gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --enable-languages=c,f95
--prefix=/usr/work/2005045/irun
Thread model: posix
gcc version 4.0.0 20050214 (experimental)
> command
gfortran -c <program.f90>
> output:
IntCompError.f90: In function 'zd01_get':
IntCompError.f90:5: internal compiler error: in gfc_finish_var_decl, at
fortran/trans-decl.c:410
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> f90-source code (from Harwell library HSL):
> ---------- snip --------------
MODULE HSL_ZD01_char
IMPLICIT NONE
CONTAINS
FUNCTION ZD01_get(array)
CHARACTER :: array(:)
CHARACTER(size(array)) :: ZD01_get
integer :: i
do i = 1, size(array)
ZD01_get(i:i) = array(i)
end do
END FUNCTION ZD01_get
END MODULE HSL_ZD01_char
> ------------- snip ----------------
--
Summary: internal compiler error gfc_finish_var_decl
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dirk dot fressmann at newcastle dot edu dot au
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: gfortran -c <program.f90>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19990