Patch ping
Zdenek Dvorak
rakdver@atrey.karlin.mff.cuni.cz
Sat Apr 24 19:40:00 GMT 2004
Hello,
> >>>>> "Nathan" == Nathan Sidwell <nathan@codesourcery.com> writes:
>
> >> http://gcc.gnu.org/ml/gcc-patches/2004-03/msg01148.html
> >> -- the patch to prevent code with -fprofile-arcs and
> >> -fbranch-probabilities from diverging before the
> >> profile feedback pass (which may cause profile missmatches)
> > this one is ok, wrt the libgcov bits
>
> Hi Nathan. Hi Zdenek.
>
> The gcov changes broke powerpc-eabi*, and possibly all embedded
> targets. See below. "pid_t" is not declared where you think it is.
does this help?
Zdenek
Index: libgcov.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/libgcov.c,v
retrieving revision 1.25
diff -c -3 -p -r1.25 libgcov.c
*** libgcov.c 23 Apr 2004 22:50:16 -0000 1.25
--- libgcov.c 24 Apr 2004 19:39:12 -0000
*************** void __gcov_merge_delta (gcov_type *coun
*** 81,86 ****
--- 81,87 ----
#include <errno.h>
#include <sys/stat.h>
#endif
+ #include <sys/types.h>
#ifdef L_gcov
#include "gcov-io.c"
More information about the Gcc-patches
mailing list