[Bug middle-end/85488] segmentation fault when compiling code using the ordered(n) clause in OpenMP 4.5
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 30 11:07:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85488
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 11:07:22 2019
New Revision: 275065
URL: https://gcc.gnu.org/viewcvs?rev=275065&root=gcc&view=rev
Log:
Backported from mainline
2018-10-19 Jakub Jelinek <jakub@redhat.com>
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
More information about the Gcc-bugs
mailing list