middle-end/5100: Wrong register class selected by find_valid_class

Richard Henderson rth@redhat.com
Mon Apr 15 10:08:00 GMT 2002


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-bugs mailing list