------- Comment #4 from kargl at gcc dot gnu dot org 2010-02-23 17:16 -------
(In reply to comment #3)
> Here's my activity log. It's using gcc 4.4.3 that I just compiled yesterday.
> It's still yielding char(0) instead of char(10). Weird.
>
Can you add the -fdump-tree-original option and post the output?
I see
testme3 ()
{
{
struct __st_parameter_dt dt_parm.0;
dt_parm.0.common.filename = &"j.f90"[1]{lb: 1 sz: 1};
dt_parm.0.common.line = 11;
dt_parm.0.format = &"(a,a)"[1]{lb: 1 sz: 1};
dt_parm.0.format_len = 5;
dt_parm.0.common.flags = 4096;
dt_parm.0.common.unit = 6;
_gfortran_st_write (&dt_parm.0);
_gfortran_transfer_character (&dt_parm.0, &"\n"[1]{lb: 1 sz: 1}, 1);
_gfortran_transfer_character (&dt_parm.0, &"invars1m : enter
jdtset="[1]{lb: 1 sz: 1}, 24);
_gfortran_st_write_done (&dt_parm.0);
}
}
which clearly has a '\n' character in the transfer.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43146