[Bug c++/122758] [16 Regression] ice during finish_goto_stmt

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 19 09:23:34 GMT 2025


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Further reduced:
template <int>
void
foo ()
{
  goto done;
  int a;
done:;
}

void
bar ()
{
  foo <1> ();
}

I'm pretty sure this is my r16-4212 change.


More information about the Gcc-bugs mailing list