diff options
author | Jan Hubicka <jh@suse.cz> | 2006-07-13 22:49:34 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2006-07-13 20:49:34 +0000 |
commit | 88d03811f89e6e0b1f63bdc7f61d9380645b1adf (patch) | |
tree | df24029698d70c331756451ec077b8551bb844f7 /gcc/value-prof.c | |
parent | 56dbe89df5a64529d4dffff48e2ed38d4c90aba7 (diff) | |
download | gcc-88d03811f89e6e0b1f63bdc7f61d9380645b1adf.zip gcc-88d03811f89e6e0b1f63bdc7f61d9380645b1adf.tar.gz gcc-88d03811f89e6e0b1f63bdc7f61d9380645b1adf.tar.bz2 |
cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call align_variable.
* cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call align_variable.
* output.h (align_variable): Declare.
* varasm.c (align_variable): Export.
* value-prof.c (tree_value_profile_transformations): Recompute iterator
when basic block changed.
From-SVN: r115421
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r-- | gcc/value-prof.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c index 59b0f35..e273a40 100644 --- a/gcc/value-prof.c +++ b/gcc/value-prof.c @@ -147,7 +147,11 @@ tree_value_profile_transformations (void) { changed = true; /* Original statement may no longer be in the same block. */ - bb = bb_for_stmt (stmt); + if (bb != bb_for_stmt (stmt)) + { + bb = bb_for_stmt (stmt); + bsi = bsi_for_stmt (stmt); + } } /* Free extra storage from compute_value_histograms. */ |