[Bug target/25212] [4.1 Regression] unrecognizable insn for facerec with odd optimization set
amodra at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Dec 12 10:03:00 GMT 2005
------- Comment #8 from amodra at gcc dot gnu dot org 2005-12-12 10:02 -------
Subject: Bug 25212
Author: amodra
Date: Mon Dec 12 10:02:51 2005
New Revision: 108400
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108400
Log:
PR target/25212
* config/rs6000/rs6000.c (legitimate_indexed_address_p): Allow pattern
generated by reload.
(print_operand): Check that both operands of indexed address are regs.
(print_operand_address): Likewise.
* config/rs6000/rs6000.h (INT_REG_OK_FOR_INDEX_P): Simplify.
(INT_REG_OK_FOR_BASE_P): Correct.
* config/rs6000/predicates.md (indexed_or_indirect_operand): Use
indexed_or_indirect_address.
(indexed_or_indirect_address): Don't test for base reg. Call
address_operand last. Make it a special predicate.
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/config/rs6000/predicates.md
branches/gcc-4_1-branch/gcc/config/rs6000/rs6000.c
branches/gcc-4_1-branch/gcc/config/rs6000/rs6000.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25212
More information about the Gcc-bugs
mailing list