Re: [patch, libgfortran] Wrong result for UTF-8/UCS-4 list-directed and namelist read and nml write

2014-04-27 Thread Andreas Schwab
Jerry DeLisle jvdeli...@charter.net writes: +static void +push_char4 (st_parameter_dt *dtp, gfc_char4_t c) +{ + gfc_char4_t *new, *p = (gfc_char4_t *) dtp-u.p.saved_string; + + if (p == NULL) +{ + dtp-u.p.saved_string = xcalloc (SCRATCH_SIZE, sizeof (gfc_char4_t)); +

Re: [patch, libgfortran] Wrong result for UTF-8/UCS-4 list-directed and namelist read and nml write

2014-04-27 Thread Jerry DeLisle
On 04/27/2014 04:57 AM, Andreas Schwab wrote: Jerry DeLisle jvdeli...@charter.net writes: +static void +push_char4 (st_parameter_dt *dtp, gfc_char4_t c) +{ + gfc_char4_t *new, *p = (gfc_char4_t *) dtp-u.p.saved_string; + + if (p == NULL) +{ + dtp-u.p.saved_string = xcalloc

Re: [patch, libgfortran] Wrong result for UTF-8/UCS-4 list-directed and namelist read and nml write

2014-04-24 Thread Tobias Burnus
Jerry DeLisle wrote: The attached patch fixes namelist read/write and list directed read/write to support UTF-8. I have attached a preliminary test case to use to experiment with this. I will need to set it up for the testsuite still. Regression tested on x86-64-linux-gnu. OK for trunk or

Re: [patch, libgfortran] Wrong result for UTF-8/UCS-4 list-directed and namelist read and nml write

2014-04-23 Thread Jerry DeLisle
On 04/13/2014 10:48 AM, Jerry DeLisle wrote: Ping! This is PR52539 Without comment or objections, I will commit this patch this weekend to trunk. Regards, Jerry On 03/29/2014 09:58 PM, Jerry DeLisle wrote: Hi all, The attached patch fixes namelist read/write and list directed read/write

Re: [patch, libgfortran] Wrong result for UTF-8/UCS-4 list-directed and namelist read and nml write

2014-04-13 Thread Jerry DeLisle
Ping! This is PR52539 On 03/29/2014 09:58 PM, Jerry DeLisle wrote: Hi all, The attached patch fixes namelist read/write and list directed read/write to support UTF-8. I have attached a preliminary test case to use to experiment with this. I will need to set it up for the testsuite

[patch, libgfortran] Wrong result for UTF-8/UCS-4 list-directed and namelist read and nml write

2014-03-29 Thread Jerry DeLisle
Hi all, The attached patch fixes namelist read/write and list directed read/write to support UTF-8. I have attached a preliminary test case to use to experiment with this. I will need to set it up for the testsuite still. Regression tested on x86-64-linux-gnu. OK for trunk or wait? Regards,