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.