https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680

--- Comment #17 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 63026
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63026&action=edit
fnsplit/inlining causes invalid count

Compile this at `-O2 -fno-exceptions` and you get in inline:
```
;;   Invalid sum of incoming counts 233216728 (estimated locally, freq 0.2172),
should be 153923040 (estimated locally, freq 0.1434)
```

if we turn off partial inlining (-fno-partial-inlining), it does not show up.

Reply via email to