https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91401
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Mon Oct 21 11:35:09 2019 New Revision: 277243 URL: https://gcc.gnu.org/viewcvs?rev=277243&root=gcc&view=rev Log: Backported from mainline 2019-08-09 Jakub Jelinek <ja...@redhat.com> PR c/91401 * 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. * 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. * c-c++-common/gomp/pr91401-1.c: New test. * c-c++-common/gomp/pr91401-2.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/c-c++-common/gomp/pr91401-1.c branches/gcc-9-branch/gcc/testsuite/c-c++-common/gomp/pr91401-2.c Modified: branches/gcc-9-branch/gcc/c/ChangeLog branches/gcc-9-branch/gcc/c/c-parser.c branches/gcc-9-branch/gcc/cp/ChangeLog branches/gcc-9-branch/gcc/cp/parser.c branches/gcc-9-branch/gcc/testsuite/ChangeLog