Hi,
this patch fixes the profile misupdate. Isolate-path was actually
dropping to 0 the BB on the likely path rather than the duplicate.
Will commit it after bootstrap/regtestest on x86-64 finishes.
Honza
PR middle-end/83189
* gimple-ssa-isolate-paths.c (isolate_path): Fix profi
Hi,
in this testcase predictive commoning decides to duplicate loop
with profile count of entry being 0. This leads to division by
zero. This patch fixes the profile ICE, but I will look into why
such update happens at first place.
Bootstrapped/regtested x86_64-linux, comitted.
Honza
P