This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/25212] [4.1 Regression] unrecognizable insn for facerec with odd optimization set
- From: "amodra at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Dec 2005 10:02:58 -0000
- Subject: [Bug target/25212] [4.1 Regression] unrecognizable insn for facerec with odd optimization set
- References: <bug-25212-4503@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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