Commit 99e299a8 by Jan Hubicka Committed by Jan Hubicka

* ipa-inline-analysis.c (MAX_TIME): Reduce to avoid overflows.

From-SVN: r179274
parent 2ceb2339
2011-09-27 Jan Hubicka <jh@suse.cz> 2011-09-27 Jan Hubicka <jh@suse.cz>
* ipa-inline-analysis.c (MAX_TIME): Reduce to avoid overflows.
2011-09-27 Jan Hubicka <jh@suse.cz>
* ipa-inline-analysis.c (eliminated_by_inlining_prob): Handle parameters * ipa-inline-analysis.c (eliminated_by_inlining_prob): Handle parameters
passed by reference; handle loads from non-SSA scalars and update comments. passed by reference; handle loads from non-SSA scalars and update comments.
...@@ -92,7 +92,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -92,7 +92,7 @@ along with GCC; see the file COPYING3. If not see
/* Estimate runtime of function can easilly run into huge numbers with many /* Estimate runtime of function can easilly run into huge numbers with many
nested loops. Be sure we can compute time * INLINE_SIZE_SCALE in integer. nested loops. Be sure we can compute time * INLINE_SIZE_SCALE in integer.
For anything larger we use gcov_type. */ For anything larger we use gcov_type. */
#define MAX_TIME 1000000 #define MAX_TIME 500000
/* Number of bits in integer, but we really want to be stable across different /* Number of bits in integer, but we really want to be stable across different
hosts. */ hosts. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment