Using the following reduced code; ... subroutine adw_set implicit none real*8 Adw_xabcd_8(*) pointer( Adw_xabcd_8_ , Adw_xabcd_8 ) common/ Adw / Adw_xabcd_8_ integer Adw_fn_I(*) pointer(Adw_fn_I_,Adw_fn_I) common/Adw/Adw_fn_I_ integer n Adw_xabcd_8(1:n) = transfer(-1,1.0) Adw_Fn_I (n) = transfer(-1,1.0) 10 continue return end ...
and compiling with 'gfortran -c -fcray-pointer adw_test.f', I get the errors below; [EMAIL PROTECTED] ~]$ gfortran -c -fcray-pointer adw_test1.f adw_test1.f:10.25: Adw_xabcd_8(1:n) = transfer(-1,1.0) 1 Error: Arithmetic NaN converting REAL(4) to REAL(8) at (1) GNU MP: Cannot reallocate memory (old_size=8 new_size=1152921504606846984) f951: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. This happens with gcc-4.3.2 from Fedora 10 (beta). Similar errors occur with gcc-trunk and gcc-4.3 binaries downloaded from Gfortran wiki. However, this used to work with gcc-4.1 and it does still compiled without error by gcc-4.2 binary obtained from Gfortran wiki. The ICE is only produced from the auto-conversion invloving the integer variable. -- Summary: gfortran error and ICE at automatic type conversion with transfer intrinsic Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: deji_aking at yahoo dot ca http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37930