[Bug gcov-profile/45890] Coverage may be weakened by r164986

hubicka at ucw dot cz gcc-bugzilla@gcc.gnu.org
Tue Oct 4 10:05:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45890

--- Comment #6 from Jan Hubicka <hubicka at ucw dot cz> 2011-10-04 10:04:37 UTC ---
> Where do we do it right now?  At profile instrumentation stage, right?
> I'd say if we don't need SSA form we should do coverage instrumentation
> right after CFG construction, no?  Before into-SSA we already have
> stuff like OMP lowering.  But yes, just after into-SSA would be
> an improvement.

We could also re-instantiate the former profiling pass before SSA for coverage,
but it seems to me that there is no real reason to destroy line info before
we get into-SSA and things will be a bit smoother if we do instrumentation
at SSA form only.  But I don't really have any strong opinions here.



More information about the Gcc-bugs mailing list