[PATCH] Hot/cold partitioning fixes

Zack Weinberg zack@codesourcery.com
Thu Mar 17 19:11:00 GMT 2005


Jeffrey A Law <law@redhat.com> writes:

> machine_dependent_reorg is (unfortunately) basically allowed to do
> anything.  It can muck up notes, the CFG and just about anything
> else.  I regret the day I argued for adding it.
>
> If you're referring to just "reorg" which handles delay slots, then
> it will muck up the CFG beyond all recognition, but it won't generally
> muck around with notes, other than REG_DEAD notes.  Of course because
> it mucks up the CFG, the BB notes aren't particularly useful.

To be clear, I was referring generally to everything that can happen
in between the quoted call to free_bb_for_insn() and the beginning of
final.

zw



More information about the Gcc-patches mailing list