]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Fix local labels [PR122378]
authorPaul-Antoine Arras <parras@baylibre.com>
Wed, 22 Oct 2025 14:14:02 +0000 (16:14 +0200)
committerPaul-Antoine Arras <parras@baylibre.com>
Wed, 22 Oct 2025 14:19:58 +0000 (16:19 +0200)
commitf88c3d76fc8820a9f548af460a2b84f879255ed7
treee5b73030aa04bd6ad183ec521703eaf946bf6d66
parent02797a4eeb9453a1c640171d00e52837c5b3de42
testsuite: Fix local labels [PR122378]

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.
gcc/testsuite/c-c++-common/gomp/attrs-metadirective-2.c
gcc/testsuite/c-c++-common/gomp/metadirective-2.c