Hi, there's a bug that shows up when overloading elemental assignments. The attached code sample crashes with:
gfcbug74.f90: In function 'assign_atm_to_atm': gfcbug74.f90:33: internal compiler error: in gfc_trans_call, at fortran/trans-stmt.c:389 When replacing the offending line y% m = x% m ! ICE by an explicit loop do i=1,42; y% m(i) = x% m(i); end do ! Works the code compiles. Cheers, -ha -- Summary: ICE in gfc_trans_call, at fortran/trans-stmt.c:389 on elemental assignment Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anlauf at gmx dot de GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34008