This is the mail archive of the
mailing list for the GCC project.
Re: Uninitialized memory access in final.c
- To: Bernd Schmidt <bernds at redhat dot co dot uk>
- Subject: Re: Uninitialized memory access in final.c
- From: Richard Henderson <rth at cygnus dot com>
- Date: Tue, 19 Sep 2000 09:10:25 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <Pine.LNX.firstname.lastname@example.org>
On Tue, Sep 19, 2000 at 03:45:03PM +0100, Bernd Schmidt wrote:
> Is it ever valid for an insn's length to be increased during
> shorten_branches? It seems to me that this would cause the
> algorithm to be no longer guaranteed to terminate.
I thought we started with smallest lengths and always expanded.
Otherwise you wouldn't find the minimal solution.
> * final.c (insn_current_reference_address): Use INSN_SHUID of seq
> rather than that of branch.
> (shorten_branches): Don't increment insn_current_address twice.