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
This commit is contained in:
Paolo Bonzini 2006-07-05 06:47:21 +00:00 committed by Paolo Bonzini
parent 5a1218970f
commit d898f3ce60
2 changed files with 11 additions and 2 deletions

View File

@ -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.

View File

@ -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;
}