|
From: Cary R. <cy...@ya...> - 2008-07-31 19:53:52
|
--- On Thu, 7/31/08, Nick Gasson <ni...@ni...> wrote: > Yes, I'd built it with the default -O2. I think > you're right about this > confusing gcov, and the manual suggests the same. I've > re-built it with > -O0 and the results are here: > http://www.nickg.me.uk/~nick/vvp_cov_O0/ > Interestingly, the total coverage decreased slightly by > 0.5%, but > LineInfo.cc is now 100% covered. I think this is to be expected. We now have a true count of the lines being checked. Because of optimizations you can get lines that are not really checked being marked as checked since they become intertwined with other lines. > Also, I encountered the "missing vvp_net_t delete > operator" problem when > I tried this with GCC 4.1. However, there were no problems > with -O0 on > either GCC 3.3 or 4.3. I sent Steve the delete stub I wrote, so he can decide what he thinks is best. I don't see how the stub would cause any problems and if it helps under 4.1 we should probably include something like it. Cary |