[Bug c/81687] Compiler drops label in OpenMP region

2017-09-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/81687] Compiler drops label in OpenMP region

2017-09-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Sat Sep 16 18:38:53 2017 New Revision: 252885 URL: https://gcc.gnu.org/viewcvs?rev=252885=gcc=rev Log: Backported from mainline 2017-08-09 Jakub Jelinek

[Bug c/81687] Compiler drops label in OpenMP region

2017-09-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Sep 15 21:37:16 2017 New Revision: 252858 URL: https://gcc.gnu.org/viewcvs?rev=252858=gcc=rev Log: Backported from mainline 2017-08-09 Jakub Jelinek

[Bug c/81687] Compiler drops label in OpenMP region

2017-09-13 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687 --- Comment #8 from Aldy Hernandez --- Author: aldyh Date: Wed Sep 13 16:47:28 2017 New Revision: 252378 URL: https://gcc.gnu.org/viewcvs?rev=252378=gcc=rev Log: PR c/81687 * omp-low.c (omp_copy_decl): Don't remap FORCED_LABEL

[Bug c/81687] Compiler drops label in OpenMP region

2017-09-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu Sep 7 20:26:34 2017 New Revision: 251853 URL: https://gcc.gnu.org/viewcvs?rev=251853=gcc=rev Log: 2017-09-07 Jakub Jelinek Backported from mainline

[Bug c/81687] Compiler drops label in OpenMP region

2017-08-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Thu Aug 10 00:33:20 2017 New Revision: 251019 URL: https://gcc.gnu.org/viewcvs?rev=251019=gcc=rev Log: PR c/81687 * omp-low.c (omp_copy_decl): Don't remap FORCED_LABEL or

[Bug c/81687] Compiler drops label in OpenMP region

2017-08-04 Thread protze at itc dot rwth-aachen.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687 --- Comment #5 from Joachim Protze --- Jakub, thank you for the quick solution! I successfully applied your patch to the sources from 7.1 release tarball. The two test cases you added are built and linked successfully. I can also successfully

[Bug c/81687] Compiler drops label in OpenMP region

2017-08-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/81687] Compiler drops label in OpenMP region

2017-08-03 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687 --- Comment #3 from Alexander Monakov --- In this particular case we are not exactly copying the region, we are only moving (outlining) it to a separate function. We could properly remap the label. But in general GCC is indeed confused about

[Bug c/81687] Compiler drops label in OpenMP region

2017-08-03 Thread protze at itc dot rwth-aachen.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687 --- Comment #2 from Joachim Protze --- 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

[Bug c/81687] Compiler drops label in OpenMP region

2017-08-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687 Richard Biener changed: What|Removed |Added Keywords||accepts-invalid, openmp