This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/15181] gfc_conv_component_ref: Assertion `c->backend_decl' failed
- From: "olchansk at panix dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2004 22:29:56 -0000
- Subject: [Bug fortran/15181] gfc_conv_component_ref: Assertion `c->backend_decl' failed
- References: <20040427221144.15181.olchansk@panix.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From olchansk at panix dot com 2004-10-09 22:29 -------
FWIW, "gcc version 4.0.0 20041009 (experimental)" error message changed from
"ICE: Aborted" to "ICE: in blah...". Compilation still fails.
My fix of adding "gfc_typenode_for_spec(&c->ts);" right before the assert() in
trans_expr.c:gfc_conv_component_ref() still works and fixes this bug for me. I
suggest that my fix be commited to cvs to close this bug.
/triumfcs/trshare/olchansk/gcc-tree-ssa/install/bin/gfortran -x f95 -c -o
test_gfc_conv_component_ref.o -O2 -g -Wall -Waliasing -Wline-truncation
-Wsurprising -Wunused-labels -fPIC -ffixed-line-length-132
test_gfc_conv_component_ref.f90
test_gfc_conv_component_ref.f90: In function 'bar':
test_gfc_conv_component_ref.f90:25: internal compiler error: in
gfc_conv_component_ref, at /fortran/trans-expr.c:268
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [test_gfc_conv_component_ref.o] Error 1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15181