[COMMITTED] Fix PR 20636, RTL checking failure in rs6000.md
Andrew Pinski
pinskia@physics.uc.edu
Sat Mar 26 18:04:00 GMT 2005
I applied this obvious fix to fix PR 20636. The problem was we were
not checking
to make sure that we have a REG before taking the REGNO of the operand.
The behavior is only found on the mainline after the following change.
2005-03-13 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.md (extendsfdf2): Change operand1 predicate
to reg_or_none500mem_operand.
(extendsfdf2_fpr): Add MEM alternative.
(extenddftf2_internal): Change operand2 predicate to
zero_reg_mem_operand.
Thanks,
Andrew Pinski
ChangeLog:
* config/rs6000/rs6000.md (extendsfdf2_fpr): Check to make
sure that we have a REG before getting its REGNO.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixPR20636.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050326/46d387b1/attachment.txt>
More information about the Gcc-patches
mailing list