]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* ipa-inline-analysis.c (MAX_TIME): Reduce to avoid overflows.
authorJan Hubicka <jh@suse.cz>
Tue, 27 Sep 2011 15:27:41 +0000 (17:27 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 27 Sep 2011 15:27:41 +0000 (15:27 +0000)
From-SVN: r179274

gcc/ChangeLog
gcc/ipa-inline-analysis.c

index cb793d8965ac28ac95fe14540bf1767a2bbf3601..d7d03a94fd5c2a5578e3824102fdf720316a234a 100644 (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
index 76290d0a01cc40f98ee975e8f96524491c06ca5d..7f26af58f7e46efd3a8fa1bc2a483dd09cc54170 100644 (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.  */