This error came up during a rebuild of my program - [dranta:~/sage/sage20070104] dir% gfortran -c -O0 -fno-second-underscore token.f90 token.f90: In function 'token_allreduce_i8_v': token.f90:7: internal compiler error: in gfc_trans_assignment_1, at fortran/trans-expr.c:3974 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. [dranta:~/sage/sage20070104] dir% cat token.f90 module token_module
integer, parameter :: INT8 = SELECTED_INT_KIND(16) integer, parameter :: REAL8 = SELECTED_REAL_KIND(12) contains subroutine token_allreduce_i8_v(dowhat, array, result, length) character(*), intent(in) :: dowhat integer, intent(in) :: length integer(INT8), intent(in) :: array(*) integer(INT8), intent(inout) :: result(*) real(REAL8) :: copy_r8(length), result_r8(length) result(1:length) = int(result_r8(1:length), INT8) end subroutine token_allreduce_i8_v ! ------------------------------------------------------------------------------ end module token_module ! ============================================================================== [dranta:~/sage/sage20070104] dir% gfortran --v Using built-in specs. Target: powerpc-apple-darwin8.10.0 Configured with: ../gcc/configure --disable-bootstrap --disable-multilib --prefix=/usr/local/gfortran --enable-languages=c,fortran Thread model: posix gcc version 4.3.0 20070719 (experimental) -- Summary: internal compiler error: in gfc_trans_assignment_1 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dir at lanl dot gov GCC host triplet: powerpc-apple-darwin8.10.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32823