Fix profiling of fork()

Andrew Pinski pinskia@physics.uc.edu
Thu Apr 17 03:35:00 GMT 2003


Since I deleted the original message: 
<http://gcc.gnu.org/ml/gcc-patches/2003-04/msg00978.html>.

I found this patch very useful in fact, I thought it would just work
before I tried it out a couple of days before with a program i was
creating which used fork and continued to run so I got an error from 
gcc:
fire.c:314: error: corrupted profile info: prob for 18--2 thought to be 
-10000
fire.c:314: error: corrupted profile info: prob for 18-19 thought to be 
20000

Then I saw this patch, I was saved.  I would like this patch to go in 
also.


Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list