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

From-SVN: r179274
This commit is contained in:
Jan Hubicka 2011-09-27 17:27:41 +02:00 committed by Jan Hubicka
parent 2ceb2339b1
commit 99e299a8c7
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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
nested loops. Be sure we can compute time * INLINE_SIZE_SCALE in integer.
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
hosts. */