Message ID | 20191128170605.uvkuipsxgusyhj3x@kam.mff.cuni.cz |
---|---|
State | New |
Headers | show |
Series | Minor fix for profile_count::combine_with_ipa_count | expand |
Index: profile-count.c =================================================================== --- profile-count.c (revision 278814) +++ profile-count.c (working copy) @@ -373,6 +376,8 @@ profile_count::adjust_for_ipa_scaling (p profile_count profile_count::combine_with_ipa_count (profile_count ipa) { + if (!initialized_p ()) + return *this; ipa = ipa.ipa (); if (ipa.nonzero_p ()) return ipa;