diff options
| author | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-21 13:49:30 +0000 |
|---|---|---|
| committer | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-21 13:49:30 +0000 |
| commit | f965232ff1c1b9c12f2c60952f99ac379ecf0d52 (patch) | |
| tree | 6a36ffe0ffe1572ba495313888983f4678303753 | |
| parent | 86642a491f659c71f491dcadf669e0e441158a64 (diff) | |
| download | ppe42-gcc-f965232ff1c1b9c12f2c60952f99ac379ecf0d52.tar.gz ppe42-gcc-f965232ff1c1b9c12f2c60952f99ac379ecf0d52.zip | |
2013-05-21 Martin Jambor <mjambor@suse.cz>
PR lto/57289
* ipa-prop.c (ipa_read_node_info): Process param_used and
controlled_uses in the same order as when writing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199145 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/ipa-prop.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6542269805d..ffd389e9479 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2013-05-21 Martin Jambor <mjambor@suse.cz> + + PR lto/57289 + * ipa-prop.c (ipa_read_node_info): Process param_used and + controlled_uses in the same order as when writing. + 2013-05-21 Magnus Granberg <baldrick@free.fr> PR plugins/56754 diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index abf21c98215..ae2a823a4e5 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -3849,9 +3849,9 @@ ipa_read_node_info (struct lto_input_block *ib, struct cgraph_node *node, info->uses_analysis_done = true; info->node_enqueued = false; for (k = 0; k < ipa_get_param_count (info); k++) - ipa_set_controlled_uses (info, k, streamer_read_hwi (ib)); - for (k = 0; k < ipa_get_param_count (info); k++) ipa_set_param_used (info, k, bp_unpack_value (&bp, 1)); + for (k = 0; k < ipa_get_param_count (info); k++) + ipa_set_controlled_uses (info, k, streamer_read_hwi (ib)); for (e = node->callees; e; e = e->next_callee) { struct ipa_edge_args *args = IPA_EDGE_REF (e); |

