This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]