diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-07-13 20:49:34 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-07-13 20:49:34 +0000 |
commit | e3a1de9d9729f3bcef93c1483bffa9b2e6c5b6cd (patch) | |
tree | df24029698d70c331756451ec077b8551bb844f7 /gcc/value-prof.c | |
parent | 538a21978e1d2487ecbc588e1339ee77de2ba1c5 (diff) | |
download | gcc-e3a1de9d9729f3bcef93c1483bffa9b2e6c5b6cd.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115421 138bc75d-0d04-0410-961f-82ee72b054a4
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 59b0f351530..e273a40f9c9 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. */ |