[Patch, fortran] PR15809 (PR19276) - ICE and segfault with automatic character, dummy pointer arrays
Toon Moene
moene@knmi.nl
Wed Nov 30 12:59:00 GMT 2005
Paul T,
Does this patch of you solve the following:
> cat a.f
character*8 a
a="r"
call s(a)
end
subroutine s(a)
character*(*) a
call c(a)
end
> cat c.c
#include <stdio.h>
void c_(char *a, int i)
{
printf(">%*.*s<\n",i,i,a);
}
Because this is probably the problem I was struggling yesterday with (I
was in a discussion with Janne on IRC over it).
If that's true, great !
--
Toon Moene, KNMI, The Netherlands
Phone: +31 30 2206443; e-mail: moene@knmi.nl
More information about the Fortran
mailing list