* ipa-fnsummary.c (estimate_node_size_and_time): Be more tolerant for
roundoff errors.
From-SVN: r254886
+2017-11-17 Jan Hubicka <hubicka@ucw.cz>
+
+ * ipa-fnsummary.c (estimate_node_size_and_time): Be more tolerant for
+ roundoff errors.
+
2017-11-17 Jan Hubicka <hubicka@ucw.cz>
* ipa-cp.c (update_profiling_info): Handle conversion to local
gcc_checking_assert (time >= 0);
/* nonspecialized_time should be always bigger than specialized time.
Roundoff issues however may get into the way. */
- gcc_checking_assert ((nonspecialized_time - time) >= -1);
+ gcc_checking_assert ((nonspecialized_time - time * 0.99) >= -1);
/* Roundoff issues may make specialized time bigger than nonspecialized
time. We do not really want that to happen because some heurstics