[PATCH] Fix libgfortran on darwin, hpux and cygwin (PR libfortran/24991)

Steve Kargl sgk@troutmask.apl.washington.edu
Sat Nov 26 02:57:00 GMT 2005


On Fri, Nov 25, 2005 at 09:42:27PM -0500, Jack Howarth wrote:
>     Is anyone on any other archs seeing timeouts in the fgetc_1? On Darwin
> 8.3.0 with Jakub's proposed patch as well as when I regress the changes from
> http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106704 instead, I see
> the fgetc_1 and associated tests hang. A run of fgetc_1 in gdb shows that
> the hang occurs on the third call to...
> 
> 91            memmove (dest, src, destlen);
> 
> ...which never returns any information back to the debugger. This
> code appears to be called from __gfortran_copy_string in 
> libgfortran/intrinsics/string_intrinsics.c.

I just built mainline and ran a regression test on i386-*-freebsd.
All of the fgetc_1* test passed.  Is memmove broken on darwin?
Does valgrind, dtrace, ktrace, et al run on darwin?  One of these 
tools might find the problem.

-- 
Steve



More information about the Fortran mailing list