[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

dominiq at lps dot ens dot fr gcc-bugzilla@gcc.gnu.org
Sun Sep 28 20:51:00 GMT 2008



------- Comment #8 from dominiq at lps dot ens dot fr  2008-09-28 20:49 -------
With the patch in comment #6, gfortran.dg/transfer_array_intrinsic_4.f90 fails:

/opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/transfer_array_intrinsic_4.f90:16.8:

      ia = TRANSFER (s1, (/ 0_4 /))
       1
Error: Different shape for array assignment at (1) on dimension 1 (3 and 1)
/opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/transfer_array_intrinsic_4.f90:22.8:

      ba = TRANSFER (trim (s1)//'       JK' , (/ 0_1 /))
       1
Error: Different shape for array assignment at (1) on dimension 1 (12 and 1)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35680



More information about the Gcc-bugs mailing list