diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-29 17:03:38 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-29 17:03:38 +0000 |
commit | 451e322ada88cc9214cb7a94138c94178ad814d1 (patch) | |
tree | 7d46c9a01e0d7c7159201f4fa9fe8cb7c179370f /gcc/ipa-pure-const.c | |
parent | a8e8a7e967f12741681f2fcbe96ea69d2a1a280b (diff) | |
download | gcc-451e322ada88cc9214cb7a94138c94178ad814d1.tar.gz |
2011-05-29 Richard Guenther <rguenther@suse.de>
PR tree-optimization/49217
* ipa-pure-const.c (propagate_pure_const): Fix typos.
* gcc.dg/torture/pr49217.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174400 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-pure-const.c')
-rw-r--r-- | gcc/ipa-pure-const.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-pure-const.c b/gcc/ipa-pure-const.c index 4034d57621d..74cf52a896e 100644 --- a/gcc/ipa-pure-const.c +++ b/gcc/ipa-pure-const.c @@ -1225,7 +1225,7 @@ propagate_pure_const (void) break; /* Now process the indirect call. */ - for (ie = node->indirect_calls; ie; ie = ie->next_callee) + for (ie = w->indirect_calls; ie; ie = ie->next_callee) { enum pure_const_state_e edge_state = IPA_CONST; bool edge_looping = false; @@ -1248,7 +1248,7 @@ propagate_pure_const (void) break; /* And finally all loads and stores. */ - for (i = 0; ipa_ref_list_reference_iterate (&node->ref_list, i, ref); i++) + for (i = 0; ipa_ref_list_reference_iterate (&w->ref_list, i, ref); i++) { enum pure_const_state_e ref_state = IPA_CONST; bool ref_looping = false; |