--- Comment #5 from fxcoudert at gcc dot gnu dot org 2008-05-28 22:18
---
Fixed.
--
fxcoudert at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSI
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2008-05-28 21:12
---
Subject: Bug 36319
Author: fxcoudert
Date: Wed May 28 21:11:39 2008
New Revision: 136129
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136129
Log:
PR fortran/36319
* intrinsic.c (gfc_con
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2008-05-24 06:52
---
I'm aware of both bugs (found them indepedently while testing some more string
intrinsics) and have fixed them with my next patch (will submit in a few days).
--
fxcoudert at gcc dot gnu dot org changed:
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-05-24 02:47
---
Here is a variation:
integer, parameter :: k4=4
character(len=3, kind=4), parameter, dimension(3) :: mychar = &
&[ k4_"abc", k4_"def", k4_"ghi" ]
This gives an error. Is this valid?
--
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2008-05-24 02:34
---
Reduced test case:
program chkdata
integer, parameter :: k4=4
character(len=3, kind=4), parameter, dimension(3) :: mychar = [ "abc",
"def", "ghi" ]
end program chkdata
Note the initializers are kind=1.