[Bug fortran/36319] Segfault with wide characters in DATA

2008-05-28 Thread fxcoudert at gcc dot gnu dot org
--- 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

[Bug fortran/36319] Segfault with wide characters in DATA

2008-05-28 Thread fxcoudert at gcc dot gnu dot org
--- 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

[Bug fortran/36319] Segfault with wide characters in DATA

2008-05-23 Thread fxcoudert at gcc dot gnu dot org
--- 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:

[Bug fortran/36319] Segfault with wide characters in DATA

2008-05-23 Thread jvdelisle at gcc dot gnu dot org
--- 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? --

[Bug fortran/36319] Segfault with wide characters in DATA

2008-05-23 Thread jvdelisle at gcc dot gnu dot org
--- 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.