https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687
Jakub Jelinek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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
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
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
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81687
Richard Biener changed:
What|Removed |Added
Keywords||accepts-invalid, openmp
11 matches
Mail list logo