namelist tests are failing...

Richard Henderson rth@twiddle.net
Sat Nov 26 19:45:00 GMT 2005


On Sat, Nov 26, 2005 at 06:31:43PM +0100, Steven Bosscher wrote:
> This looks wrong:
> 
>               if (indx == 0)
> -               ls[dim].start = *(int *)dtp->u.p.value;
> +               memcpy (&ls[dim].start, dtp->u.p.value, sizeof(int));

Curious, since the patch cured about 15 failures, including 
namelist_11.

> start, end, and step are ssize_t.

Hmm.  Ok.  Clearly a temporary is called for.


r~



More information about the Fortran mailing list