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