https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84550
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- My limited understanding is this is a GDB bug and that it basically never worked properly with -freorder-blocks-and-partition. So not really sure how we could work around it in GCC. Pedro, do you agree?