This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed]: Move coverage_finish to ipa_passes()
On Sun, Apr 19, 2009 at 14:49, Jan Hubicka <hubicka@ucw.cz> wrote:
>> +
>> + Â/* Generate coverage variables and constructors. Â*/
>> + Âcoverage_finish ();
>
> Why not add coverage_finish pass to the end of IPA pass queue?
You mean *make* it a proper pass? It's not a pass ATM. The problem I
see is that for LTO we have to guarantee that this is done before
gimple is streamed out. Though I guess we could add pass manager
properties to enforce that dependency.
I'll prepare a patch shortly.
Diego.