Hi,
this is patch I comitted.
Thanks for looking into it,
Honza
PR middle-end/81030
* gcc.dg/pr81030.c: New test.
* cfgbuild.c (find_many_sub_basic_blocks): Update REG_BR_PROB note
when gimple level profile disagrees with what RTL expander did.
Index: tests
Hi,
thanks for looking into this issue. It is quite weird indeed.
> Commenting out this bit makes the compilation succeed.
so my understanding is that RTL expansions confuses itself and redistributes
probabilities to two jumps while immediately optimizing out the second...
I think in such case i