diff options
author | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-18 10:20:55 +0000 |
---|---|---|
committer | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-18 10:20:55 +0000 |
commit | 4fb583ad0dcd55b1873e5095fc0227915df8fe72 (patch) | |
tree | ce7dbf4f72eabfc5bcf87987013aa73290493d18 | |
parent | fd2b4bf0e1777a8695422b0cb3d314c4eb3a9006 (diff) | |
download | gcc-4fb583ad0dcd55b1873e5095fc0227915df8fe72.tar.gz |
2011-05-18 Tom de Vries <tom@codesourcery.com>
PR target/45098
* tree-ssa-loop-ivopts.c (seq_cost): Fix call to rtx_cost.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173853 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-loop-ivopts.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f3e55e8592e..c004870d595 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-05-18 Tom de Vries <tom@codesourcery.com> + + PR target/45098 + * tree-ssa-loop-ivopts.c (seq_cost): Fix call to rtx_cost. + 2011-05-18 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/49000 diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index b00b8d44ac3..13c2b407cc2 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -2745,7 +2745,7 @@ seq_cost (rtx seq, bool speed) { set = single_set (seq); if (set) - cost += rtx_cost (set, SET,speed); + cost += rtx_cost (SET_SRC (set), SET, speed); else cost++; } |