This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: patch solving PR/15921
- From: Richard Henderson <rth at redhat dot com>
- To: Vladimir Makarov <vmakarov at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 15 Jun 2004 14:54:40 -0700
- Subject: Re: RFA: patch solving PR/15921
- References: <40CF1AD0.5080803@redhat.com>
On Tue, Jun 15, 2004 at 11:50:40AM -0400, Vladimir Makarov wrote:
> The reload pass can assign the same hard register to uninitialized
> pseudo-register and early clobbered pseudo-register in an insn if the
> pseudo-register is used first time in given BB and not lived at the BB
> start. It results in compiler crash.
I have trouble correlating this description of the problem with dje's
description in http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00939.html.
In particular, (clobber (match_scratch:SI 2 "=&r")) is not an
uninitialized pseudo-register. It's a scratch register whose lifetime
is the duration of the instruction, including overlap with its inputs.
Could you explain the problem a bit more? As it is, the patch seems
to be papering over something elsewhere.
r~