This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]