middle-end/5100: Wrong register class selected by find_valid_class
Richard Henderson
rth@redhat.com
Mon Apr 15 10:06:00 GMT 2002
The following reply was made to PR middle-end/5100; it has been noted by GNATS.
From: Richard Henderson <rth@redhat.com>
To: Marco Altieri <maltieri@nergal.it>
Cc: rth@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
lonardo@nergal.it, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: middle-end/5100: Wrong register class selected by find_valid_class
Date: Mon, 15 Apr 2002 10:03:47 -0700
On Mon, Apr 15, 2002 at 03:32:51PM +0200, Marco Altieri wrote:
> So, the algorithm in find_valid_class selects EVEN_REGS for a
> mode == Pmode and n==1.
Sounds like you should actually get an abort, since no class is
valid for Pmode. Seems to me your bug is that Pmode should be
able to be *held* in any pair of registers, odd or even, but can
only be *used* in even registers.
r~
More information about the Gcc-prs
mailing list