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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-12-12
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
hmm, clang also rejects it for the C case.

Though it would be interesting because we now allow:
int foo1(void);
void foo()
{
 a:  int x = foo1();
}

But still reject:
int foo1(void);
void foo()
{
    #pragma omp task
 a:  int x = foo1();
}

While clang accepts the case with labels.

Reply via email to