r16-4540-g80af807e52e4f4 exposed a bug in two testcases where the declaration of
local labels was wrongly commented out. That caused "duplicate label" errors.
Uncommenting declarations fixes it.
PR middle-end/122378
gcc/testsuite/ChangeLog:
* c-c++-common/gomp/attrs-metadirective-2.c: Uncomment local label
declaration.
* c-c++-common/gomp/metadirective-2.c: Likewise.
when (device={arch("gcn")}: teams num_teams(256)),
default (teams num_teams(4)))]]
{
- //__label__ l1, l2;
+ __label__ l1, l2;
if (x)
goto l1;
when (device={arch("gcn")}: teams num_teams(256)) \
default (teams num_teams(4))
{
- //__label__ l1, l2;
+ __label__ l1, l2;
if (x)
goto l1;