[Bug middle-end/123110] [16 Regression] ICE: verify_flow_info failed: EH landing pad label '({anonymous})' is not first in a sequence of labels in bb 10 with -Os -fexceptions -finstrument-functions-once since r16-5250
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 13 23:09:11 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123110
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Hmm, there are 2 ways of fixing this.
One is add back the check for dest's label.
The other is fixup the order where labels are done. Instead of moving the
labels to begining of the bb. move the label to right after all of the other
labels.
The problem is when we jump thread, we don't move the label with the jump
threading and we get some odd label placement; the fail label is now on the eh
landing pad.
I am still deciding which one to do. Both work, just placement of the label
makes the odd choice here.
More information about the Gcc-bugs
mailing list