* profile-count.c (profile_count::combine_with_ipa_count): Handle
zeros correctly.
From-SVN: r257182
+2018-01-30 Jan Hubicka <hubicka@ucw.cz>
+
+ * profile-count.c (profile_count::combine_with_ipa_count): Handle
+ zeros correctly.
+
2018-01-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/83008
ipa = ipa.ipa ();
if (ipa.nonzero_p ())
return ipa;
- if (!ipa.initialized_p ())
+ if (!ipa.initialized_p () || *this == profile_count::zero ())
return *this;
if (ipa == profile_count::zero ())
return this->global0 ();