https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91401

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Nov 21 17:08:49 2019
New Revision: 278573

URL: https://gcc.gnu.org/viewcvs?rev=278573&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-8-branch/gcc/testsuite/c-c++-common/gomp/pr91401-1.c
    branches/gcc-8-branch/gcc/testsuite/c-c++-common/gomp/pr91401-2.c
Modified:
    branches/gcc-8-branch/gcc/c/ChangeLog
    branches/gcc-8-branch/gcc/c/c-parser.c
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/parser.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

Reply via email to