]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/91401 (schedule + dist_schedule clauses rejected on distribute parallel for)
authorJakub Jelinek <jakub@redhat.com>
Fri, 9 Aug 2019 07:23:03 +0000 (09:23 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 9 Aug 2019 07:23:03 +0000 (09:23 +0200)
commit2c3b8badaac235ce78ce22ac7582346d16118987
tree46f3346aa8d08711f83cb6e66e4fa9b511045998
parent5dd6b2daae47fc9b6d8802391cde4c4819c82564
re PR c/91401 (schedule + dist_schedule clauses rejected on distribute parallel for)

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.

From-SVN: r274226
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/gomp/pr91401-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/gomp/pr91401-2.c [new file with mode: 0644]