diff options
author | Steve Ellcey <sje@cup.hp.com> | 2006-03-03 16:43:43 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2006-03-03 16:43:43 +0000 |
commit | f6d65153a64dfc4d0b65b8a5a1a7673964a4b0fb (patch) | |
tree | 79f8df4255067bce4046e357677fa61ba8c12597 /gcc | |
parent | 5b725b8d04fff8583103bbea88f3d42f5443367d (diff) | |
download | gcc-f6d65153a64dfc4d0b65b8a5a1a7673964a4b0fb.zip gcc-f6d65153a64dfc4d0b65b8a5a1a7673964a4b0fb.tar.gz gcc-f6d65153a64dfc4d0b65b8a5a1a7673964a4b0fb.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/ia64/predicates.md | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 464b36d..4312f1f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-03-03 Steve Ellcey <sje@cup.hp.com> + + PR rtl-optimization/26345 + PR target/19061 + * config/ia64/predicates.md (basereg_operand): Don't look in subregs. + 2006-03-03 Roger Sayle <roger@eyesopen.com> PR tree-optimization/26524 diff --git a/gcc/config/ia64/predicates.md b/gcc/config/ia64/predicates.md index ec0f8c3..657c150 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); }) |