This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/49297] ICE gfc_conv_component_ref, at fortran/trans-expr.c:268 when compiling molcas7.6
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 7 Jun 2011 14:05:32 +0000
- Subject: [Bug fortran/49297] ICE gfc_conv_component_ref, at fortran/trans-expr.c:268 when compiling molcas7.6
- Auto-submitted: auto-generated
- References: <bug-49297-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49297
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-06-07 14:04:59 UTC ---
(In reply to comment #2)
> we have new version of gcc. It is gcc 4.6.
Are you sure? I am asking because the error message:
| fmm_aux_qlm_builder.f90:154: internal compiler error: in
| gfc_conv_component_ref, at fortran/trans-expr.c:268
makes only sense with GCC 4.0 - and not with even with GCC 4.1.
(In GCC 4.0 the assert is in line 267 in function gfc_conv_component_ref; in
GCC 4.1 to GCC 4.7, the line 268 is in the function gfc_conv_substring. It is
rather unlikely that the printed line number is that much off.)
Could you post the exact output of "gfortran -v" (or "gfortran-4.6 -v" or ...)
- the command should match exactly the one in the relevant Makefile. Please
ensure that you do not have some other gfortran version in the path.