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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.5

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I am not 100% sure this is valid code ...
In C++ requires you to have forward progress and this inifite loop is not
foward progress at all:

void f(int * p){ 
l:
    assert (p == &a);
    if (b)
        goto l;
}

Which makes it undefined ...

Reply via email to