diff mbox series

Comment too strict checking assert.

Message ID 3ab0f332-7e5a-797b-159f-f73df7dd0b1c@suse.cz
State New
Headers show
Series Comment too strict checking assert. | expand

Commit Message

Martin Liška Nov. 25, 2019, 1:55 p.m. UTC
Hi.

Based on the discussion with Honza, I'm going to install the following patch.
It comments out a checking assert that is too strict. Honza promised that he
will take a look later.

Martin

gcc/ChangeLog:

2019-11-25  Martin Liska  <mliska@suse.cz>

	PR bootstrap/92653
	* ipa-fnsummary.c (ipa_fn_summary::account_size_time): Comment out
	too strict checking assert.
---
  gcc/ipa-fnsummary.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gcc/ipa-fnsummary.c b/gcc/ipa-fnsummary.c
index 122a369abb4..66d2be6677c 100644
--- a/gcc/ipa-fnsummary.c
+++ b/gcc/ipa-fnsummary.c
@@ -227,7 +227,7 @@  ipa_fn_summary::account_size_time (int size, sreal time,
     {
       e->size += size;
       e->time += time;
-      gcc_checking_assert (e->time >= -1);
+      /* FIXME: PR bootstrap/92653 gcc_checking_assert (e->time >= -1); */
       /* Tolerate small roundoff issues.  */
       if (e->time < 0)
 	e->time = 0;