This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16960] New: gfortran internal compile error
- From: "janth at xs4all dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Aug 2004 11:19:28 -0000
- Subject: [Bug fortran/16960] New: gfortran internal compile error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
On my Darwin PowerBook.local 7.4.0 Darwin Kernel Version 7.4.0: Wed May 12 16:58:24 PDT 2004;
root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC Power Macintosh powerpc
installed gfortran which did no compile the following code correctly:
PowerBook:~ jan$ cat axis_keysF.f
integer function fget_keys(keys,seqnr)
c
implicit none
c
integer seqnr(*)
character*(*) keys(*)
c
integer get_keysF
c
fget_keys = get_keysF(keys,seqnr,len(keys(1)))
c
end
PowerBook:~ jan$ gfortran -g -c axis_keysF.f
../../gcc/gcc/fortran/trans-decl.c:1713: failed assertion `TREE_CODE (sym->backend_decl) ==
PARM_DECL'
axis_keysF.f: In function `fget_keys':
axis_keysF.f:10: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
PowerBook:~ jan$ gfortran -v
Reading specs from /usr/local/lib/gcc/powerpc-apple-darwin6.8/3.5.0/specs
Configured with: ../gcc/configure --enable-threads=posix --enable-languages=f95
Thread model: posix
gcc version 3.5.0 20040714 (experimental)
--
Summary: gfortran internal compile error
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: janth at xs4all dot nl
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: Mac Os 10.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16960