diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2006-07-05 06:47:21 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2006-07-05 06:47:21 +0000 |
commit | d898f3ce60f2ae73fe484386ffc1916160d6fd61 (patch) | |
tree | cc4e917a7233027014fea5462e7ef3fe1e78055a /gcc | |
parent | 5a1218970f65f132de4d0ddc77a5d68768d19424 (diff) | |
download | gcc-d898f3ce60f2ae73fe484386ffc1916160d6fd61.zip gcc-d898f3ce60f2ae73fe484386ffc1916160d6fd61.tar.gz gcc-d898f3ce60f2ae73fe484386ffc1916160d6fd61.tar.bz2 |
re PR tree-optimization/28218 (ICE when building Inkscape with gcc-4.1 with -O2 -ffast-math)
2006-07-04 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/28218
* tree-ssa-math-opts.c (execute_cse_reciprocals): Fix calls
to calculate and free the dominator information.
From-SVN: r115198
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/tree-ssa-math-opts.c | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c36dcc1..ba7b529 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2006-07-04 Paolo Bonzini <bonzini@gnu.org> + + PR tree-optimization/28218 + + * tree-ssa-math-opts.c (execute_cse_reciprocals): Fix calls + to calculate and free the dominator information. + 2006-07-04 Peter O'Gorman <peter@pogma.com> * mklibgcc.in: chmod 644 before ranlib during install. diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c index ee5ff8f..950b9aa 100644 --- a/gcc/tree-ssa-math-opts.c +++ b/gcc/tree-ssa-math-opts.c @@ -489,7 +489,8 @@ execute_cse_reciprocals (void) sizeof (struct occurrence), n_basic_blocks / 3 + 1); - calculate_dominance_info (CDI_DOMINATORS | CDI_POST_DOMINATORS); + calculate_dominance_info (CDI_DOMINATORS); + calculate_dominance_info (CDI_POST_DOMINATORS); #ifdef ENABLE_CHECKING FOR_EACH_BB (bb) @@ -526,7 +527,8 @@ execute_cse_reciprocals (void) } } - free_dominance_info (CDI_DOMINATORS | CDI_POST_DOMINATORS); + free_dominance_info (CDI_DOMINATORS); + free_dominance_info (CDI_POST_DOMINATORS); free_alloc_pool (occ_pool); return 0; } |