https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79428
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Feb 16 08:57:30 2017 New Revision: 245502 URL: https://gcc.gnu.org/viewcvs?rev=245502&root=gcc&view=rev Log: Backported from mainline 2017-02-09 Marek Polacek <pola...@redhat.com> PR c/79428 * c-parser.c (c_parser_omp_ordered): Call c_parser_skip_to_pragma_eol instead of c_parser_skip_until_found. * c-c++-common/cilk-plus/CK/pr79428-4.c: New test. * c-c++-common/cilk-plus/CK/pr79428-7.c: New test. * c-c++-common/goacc/pr79428-1.c: New test. * c-c++-common/gomp/pr79428-2.c: New test. * c-c++-common/gomp/pr79428-5.c: New test. * c-c++-common/gomp/pr79428-6.c: New test. * c-c++-common/pr79428-3.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/c-c++-common/cilk-plus/CK/pr79428-4.c branches/gcc-6-branch/gcc/testsuite/c-c++-common/cilk-plus/CK/pr79428-7.c branches/gcc-6-branch/gcc/testsuite/c-c++-common/gomp/pr79428-2.c branches/gcc-6-branch/gcc/testsuite/c-c++-common/gomp/pr79428-5.c branches/gcc-6-branch/gcc/testsuite/c-c++-common/gomp/pr79428-6.c branches/gcc-6-branch/gcc/testsuite/c-c++-common/pr79428-3.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/c/c-parser.c branches/gcc-6-branch/gcc/testsuite/ChangeLog