https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79428
--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Thu Feb 9 17:07:26 2017 New Revision: 245309 URL: https://gcc.gnu.org/viewcvs?rev=245309&root=gcc&view=rev Log: 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: trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/pr79428-4.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/pr79428-7.c trunk/gcc/testsuite/c-c++-common/goacc/pr79428-1.c trunk/gcc/testsuite/c-c++-common/gomp/pr79428-2.c trunk/gcc/testsuite/c-c++-common/gomp/pr79428-5.c trunk/gcc/testsuite/c-c++-common/gomp/pr79428-6.c trunk/gcc/testsuite/c-c++-common/pr79428-3.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-parser.c trunk/gcc/testsuite/ChangeLog