From 6e7b5d10ba0b590cbc90c05ae56ecc071361a0f9 Mon Sep 17 00:00:00 2001 From: sje Date: Fri, 3 Mar 2006 16:43:43 +0000 Subject: [PATCH] PR rtl-optimization/26345 PR target/19061 * config/ia64/predicates.md (basereg_operand): Don't look in subregs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111678 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/config/ia64/predicates.md | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 464b36dcfb5..4312f1f5c0b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-03-03 Steve Ellcey + + PR rtl-optimization/26345 + PR target/19061 + * config/ia64/predicates.md (basereg_operand): Don't look in subregs. + 2006-03-03 Roger Sayle PR tree-optimization/26524 diff --git a/gcc/config/ia64/predicates.md b/gcc/config/ia64/predicates.md index ec0f8c31831..657c1501ddb 100644 --- a/gcc/config/ia64/predicates.md +++ b/gcc/config/ia64/predicates.md @@ -586,8 +586,6 @@ (define_predicate "basereg_operand" (match_operand 0 "register_operand") { - if (GET_CODE (op) == SUBREG) - op = SUBREG_REG (op); - return REG_POINTER (op); + return REG_P (op) && REG_POINTER (op); }) -- 2.11.4.GIT