From: Steve Ellcey Date: Fri, 3 Mar 2006 16:43:43 +0000 (+0000) Subject: re PR rtl-optimization/26345 (-fmove-loop-invariants loses POINTER attribute) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6d65153a64dfc4d0b65b8a5a1a7673964a4b0fb;p=gcc.git re PR rtl-optimization/26345 (-fmove-loop-invariants loses POINTER attribute) PR rtl-optimization/26345 PR target/19061 * config/ia64/predicates.md (basereg_operand): Don't look in subregs. From-SVN: r111678 --- 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); })