[Bug fortran/29267] different length non-constant strings in array constructors ICE

2006-10-26 Thread tobias dot burnus at physik dot fu-berlin dot de
--- Comment #12 from tobias dot burnus at physik dot fu-berlin dot de 2006-10-26 20:29 --- > > why is there no problem with this code? > > > > PROGRAM test_constructor > > CHARACTER(len=32), DIMENSION(1,2) :: a > > a = reshape((/ "one arg", "another arg" /), (/ 1, 2 /)) > > END PRO

[Bug fortran/29267] different length non-constant strings in array constructors ICE

2006-10-27 Thread tobi at gcc dot gnu dot org
--- Comment #13 from tobi at gcc dot gnu dot org 2006-10-27 13:33 --- Thanks for the pointer to the other PR. Do g95 and ifort also compile the original testcase and do The Right Thing? I didn't have time to fix this after I assigned myself to it, so unassigining. -- tobi at gcc do

[Bug fortran/29267] different length non-constant strings in array constructors ICE

2006-10-28 Thread tobias dot burnus at physik dot fu-berlin dot de
--- Comment #14 from tobias dot burnus at physik dot fu-berlin dot de 2006-10-28 13:09 --- > Do g95 and ifort also compile the original testcase and do The Right Thing? No. g95 has a run-time error, ifort garbage at the beginning (but no crash); f95 and sunf95 don't compile. gfortran:

[Bug fortran/29267] different length non-constant strings in array constructors ICE

2007-12-07 Thread burnus at gcc dot gnu dot org
--- Comment #16 from burnus at gcc dot gnu dot org 2007-12-07 22:43 --- > Btw, the original testcase started compiling on mainline between 2007-07-16 > and > 2007-08-15. It now compiles and runs without error. Cool. And for -std=f95/f2003 the invalid code is rejected. => CLOSE. I think

[Bug fortran/29267] different length non-constant strings in array constructors ICE

2007-12-07 Thread reichelt at gcc dot gnu dot org
--- Comment #15 from reichelt at gcc dot gnu dot org 2007-12-07 22:12 --- Btw, the original testcase started compiling on mainline between 2007-07-16 and 2007-08-15. It now compiles and runs without error. -- reichelt at gcc dot gnu dot org changed: What|Removed