This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Hot/cold partitioning fixes
Richard Henderson <rth@redhat.com> writes:
> On Tue, Mar 15, 2005 at 10:27:17AM -0800, Zack Weinberg wrote:
>> This is an area I don't know enough about. I'm cc:ing Richard
>> Henderson in hopes that he can assess what is and is not safe here.
>
> if (flag_var_tracking)
> rest_of_handle_variable_tracking ();
>
> /* CFG is no longer maintained up-to-date. */
> free_bb_for_insn ();
>
> if (targetm.machine_dependent_reorg != 0)
> rest_of_handle_machine_reorg ();
That would dispose of the possibility of using nothing but CFG flags,
then. And it would suggest that creating marker notes at the point
Caroline's patch does it, is not reliable (since the CFG may have been
mangled before we get there). However, I don't trust reorg not to
move marker notes around. Ideas?
zw