summaryrefslogtreecommitdiff
path: root/gcc/ipa-inline-analysis.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-27 15:27:41 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-27 15:27:41 +0000
commit39273ba1f7f44cfb42588be89278f3f0a8261190 (patch)
tree80042c0d4141db5eae06712323293c328fee6801 /gcc/ipa-inline-analysis.c
parentd4db9dfdb1e464bf389a95d401f4376633c3baf4 (diff)
downloadgcc-39273ba1f7f44cfb42588be89278f3f0a8261190.tar.gz
* ipa-inline-analysis.c (MAX_TIME): Reduce to avoid overflows.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179274 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline-analysis.c')
-rw-r--r--gcc/ipa-inline-analysis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c
index 76290d0a01c..7f26af58f7e 100644
--- a/gcc/ipa-inline-analysis.c
+++ b/gcc/ipa-inline-analysis.c
@@ -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. */