diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-10 20:06:48 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-10 20:06:48 +0000 |
commit | 8c1fce46fc02e43e82b05f49894690133a1bcdcf (patch) | |
tree | b4c63c4e36083749fdc5d207881d81ca1a95d246 /gcc/ipa-reference.c | |
parent | aa5b1dc0e03b554f3258cecc6d30cc7a9f6bb128 (diff) | |
download | gcc-8c1fce46fc02e43e82b05f49894690133a1bcdcf.tar.gz |
* cgraph.c (cgraph_set_nothrow_flag_1): Update cgraph after
setting the nothrow flag.
* ipa-reference.c (propagate): Skip aliases.
* ipa-pure-const.c (propagate_pure_const): Skip aliases.
(propagate_nothrow): Skip aliases; do not update cgraph.
(local_pure_const): Do not update cgraph.
* tree-profile.c (tree_profiling): Do fixup_cfg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174929 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-reference.c')
-rw-r--r-- | gcc/ipa-reference.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c index 7ee52dacda1..05024b4989e 100644 --- a/gcc/ipa-reference.c +++ b/gcc/ipa-reference.c @@ -645,6 +645,8 @@ propagate (void) struct ipa_dfs_info * w_info; node = order[i]; + if (node->alias) + continue; node_info = get_reference_vars_info (node); gcc_assert (node_info); @@ -802,6 +804,8 @@ propagate (void) struct ipa_dfs_info * w_info; node = order[i]; + if (node->alias) + continue; node_info = get_reference_vars_info (node); node_g = &node_info->global; node_l = &node_info->local; @@ -885,7 +889,7 @@ propagate (void) ipa_reference_global_vars_info_t node_g; ipa_reference_optimization_summary_t opt; - if (!node->analyzed) + if (!node->analyzed || node->alias) continue; node_info = get_reference_vars_info (node); |