This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Simple recompute_reg_usage cleanup
- To: law at cygnus dot com
- Subject: Re: Simple recompute_reg_usage cleanup
- From: Michael Hayes <m dot hayes at elec dot canterbury dot ac dot nz>
- Date: Thu, 09 Dec 1999 23:28:47 +1300 (NZDT)
- Cc: Michael Hayes <m dot hayes at elec dot canterbury dot ac dot nz>,Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>, egcs-patches at egcs dot cygnus dot com,rth at cygnus dot com
- References: <"14407.14547.794346.311149"@ongaonga.elec.canterbury.ac.nz><11810.944723387@upchuck>
[oops wrong keystrokes..., here's the rest of my post...]
Jeffrey A Law writes:
> Are these real insns or notes that are not included in a basic
> block?
Barriers and notes.
> Presumably this is happening because loop relies on just creating new insns
> wherever it wants -- ie it doesn't try to readjust the cfg related
> info.
No. The problem arises with the manner that loop treats a function as
a list of insns but find_basic_blocks does not include barriers
etc. within a basic block. Thus not every insn that loop finds can be
mapped back to a basic block.
Michael.