This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/15181] gfc_conv_component_ref: Assertion `c->backend_decl' failed


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]