This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/81687] Compiler drops label in OpenMP region
- From: "protze at itc dot rwth-aachen.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 03 Aug 2017 13:17:42 +0000
- Subject: [Bug c/81687] Compiler drops label in OpenMP region
- Auto-submitted: auto-generated
- References: <bug-81687-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687
--- Comment #2 from Joachim Protze <protze at itc dot rwth-aachen.de> ---
Why do you classify the testcase to be invalid code? Neither OpenMP nor C
forbid the use of a label there. Is this an undocumented restriction of the
&&-extension?
Also, clang and icc accept the code despite the use of the && GNU extension.
For both compilers the resulting binaries produce reasonable output.