[Bug middle-end/85488] segmentation fault when compiling code using the ordered(n) clause in OpenMP 4.5

2019-08-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85488

--- Comment #4 from Jakub Jelinek  ---
Author: jakub
Date: Fri Aug 30 11:07:22 2019
New Revision: 275065

URL: https://gcc.gnu.org/viewcvs?rev=275065=gcc=rev
Log:
Backported from mainline
2018-10-19  Jakub Jelinek  

PR middle-end/85488
PR middle-end/87649
* omp-low.c (check_omp_nesting_restrictions): Diagnose ordered without
depend closely nested inside of loop with ordered clause with
a parameter.

* c-c++-common/gomp/doacross-2.c: New test.
* c-c++-common/gomp/sink-3.c: Expect another error during error
recovery.

Added:
branches/gcc-7-branch/gcc/testsuite/c-c++-common/gomp/doacross-2.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/omp-low.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/testsuite/c-c++-common/gomp/sink-3.c

[Bug middle-end/85488] segmentation fault when compiling code using the ordered(n) clause in OpenMP 4.5

2018-11-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85488

--- Comment #3 from Jakub Jelinek  ---
Author: jakub
Date: Mon Nov  5 14:07:47 2018
New Revision: 265801

URL: https://gcc.gnu.org/viewcvs?rev=265801=gcc=rev
Log:
Backported from mainline
2018-10-19  Jakub Jelinek  

PR middle-end/85488
PR middle-end/87649
* omp-low.c (check_omp_nesting_restrictions): Diagnose ordered without
depend closely nested inside of loop with ordered clause with
a parameter.

* c-c++-common/gomp/doacross-2.c: New test.
* c-c++-common/gomp/sink-3.c: Expect another error during error
recovery.

Added:
branches/gcc-8-branch/gcc/testsuite/c-c++-common/gomp/doacross-2.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/omp-low.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/c-c++-common/gomp/sink-3.c

[Bug middle-end/85488] segmentation fault when compiling code using the ordered(n) clause in OpenMP 4.5

2018-10-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85488

--- Comment #2 from Jakub Jelinek  ---
Author: jakub
Date: Fri Oct 19 22:52:06 2018
New Revision: 265335

URL: https://gcc.gnu.org/viewcvs?rev=265335=gcc=rev
Log:
PR middle-end/85488
PR middle-end/87649
* omp-low.c (check_omp_nesting_restrictions): Diagnose ordered without
depend closely nested inside of loop with ordered clause with
a parameter.

* c-c++-common/gomp/doacross-2.c: New test.
* c-c++-common/gomp/sink-3.c: Expect another error during error
recovery.

Added:
trunk/gcc/testsuite/c-c++-common/gomp/doacross-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/omp-low.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/c-c++-common/gomp/sink-3.c

[Bug middle-end/85488] segmentation fault when compiling code using the ordered(n) clause in OpenMP 4.5

2018-10-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85488

Jakub Jelinek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||jakub at gcc dot gnu.org
  Component|c   |middle-end
 Resolution|--- |DUPLICATE

--- Comment #1 from Jakub Jelinek  ---
Dup of PR87649.

*** This bug has been marked as a duplicate of bug 87649 ***