[Bug c/91401] schedule + dist_schedule clauses rejected on distribute parallel for
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 9 07:23:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91401
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 9 07:23:03 2019
New Revision: 274226
URL: https://gcc.gnu.org/viewcvs?rev=274226&root=gcc&view=rev
Log:
PR c/91401
c/
* c-parser.c (c_parser_omp_clause_dist_schedule): Fix up typos in the
check_no_duplicate_clause call. Comment it out, instead emit a
warning for duplicate dist_schedule clauses.
cp/
* parser.c (cp_parser_omp_clause_dist_schedule): Comment out the
check_no_duplicate_clause call, instead emit a warning for duplicate
dist_schedule clauses.
testsuite/
* c-c++-common/gomp/pr91401-1.c: New test.
* c-c++-common/gomp/pr91401-2.c: New test.
Added:
trunk/gcc/testsuite/c-c++-common/gomp/pr91401-1.c
trunk/gcc/testsuite/c-c++-common/gomp/pr91401-2.c
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-parser.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list