This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Flow auto-inc calculations after reload
- To: Richard Earnshaw <rearnsha at arm dot com>
- Subject: Re: Flow auto-inc calculations after reload
- From: Richard Henderson <rth at cygnus dot com>
- Date: Sun, 11 Jun 2000 10:24:17 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200006111410.PAA13196@cam-mail2.cambridge.arm.com>
On Sun, Jun 11, 2000 at 03:10:32PM +0100, Richard Earnshaw wrote:
> * flow.c (mark_used_regs): Don't call find_auto_inc after reload
> has run.
This isn't correct. The PROP_AUTOINC bit should have been
removed here:
/* The post-reload life analysis have (on a global basis) the same
registers live as was computed by reload itself. elimination
Otherwise offsets and such may be incorrect.
Reload will make some registers as live even though they do not
appear in the rtl. */
if (reload_completed)
flags &= ~PROP_REG_INFO;
r~