This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Can we have egcs 1.0.3 please?
- To: Jim Wilson <wilson at cygnus dot com>
- Subject: Re: Can we have egcs 1.0.3 please?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 18 Apr 1998 23:14:30 -0600
- cc: hjl at lucon dot org (H.J. Lu), gafton at redhat dot com (Cristian Gafton), egcs at cygnus dot com
- Reply-To: law at cygnus dot com
[ Note The change in cc-line, this is suitable for the egcs
discussion list :-) ]
In message <199804182235.PAA27290@rtl.cygnus.com>you write:
> There is no requirement that REG_N_REFS be exactly correct, and many
> optimizations passes after flow don't bother to try to maintain it.
> Thus the fact that REG_N_REFS is wrong is itself not necessarily a bug.
Jim is correct, except for one minor nit.
REG_N_REFS must never be zero if references to the register still
remain in the insn chain. Other than that, REG_N_REFS can have
any value without effecting the correctness of the generated code.
Of course accurate REG_N_REFS is likely to lead to better register
allocation.
jeff