This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/15986] New: gfc_get_symbol_decl: Assertion `sym->attr.referenced' failed
- From: "jss at ast dot cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jun 2004 13:27:15 -0000
- Subject: [Bug fortran/15986] New: gfc_get_symbol_decl: Assertion `sym->attr.referenced' failed
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The included code from cosmomc, http://cosmologist.info/cosmomc/, causes an
internal compiler error:
gfortran -O0 -c recfast.f90
f951: ../../gcc-cvs/gcc/gcc/fortran/trans-decl.c:699: gfc_get_symbol_decl:
Assertion `sym->attr.referenced' failed.
recfast.f90: In function `initrecfast':
recfast.f90:408: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
xpc5:/<3>cosmomc/camb> gcc -v
Reading specs from /data/jss/gcc-cvs/lib/gcc/i686-pc-linux-gnu/3.5.0/specs
Configured with: ../gcc-cvs/gcc/configure --enable-languages=c,c++,f95
--prefix=/data/jss/gcc-cvs
Thread model: posix
gcc version 3.5.0 20040614 (experimental)
--
Summary: gfc_get_symbol_decl: Assertion `sym->attr.referenced'
failed
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jss at ast dot cam dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15986