PR c/79428
commit127144a0783dcce11e07609f2e10a4e131717fc8
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Feb 2017 17:07:26 +0000 (9 17:07 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Feb 2017 17:07:26 +0000 (9 17:07 +0000)
tree23d525315e67d786e296515f2dfec0bfc9d32732
parent57b237f67de6cf2c8a48063c43bd2c7b0c0bca66
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245309 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/cilk-plus/CK/pr79428-4.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/cilk-plus/CK/pr79428-7.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/goacc/pr79428-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/gomp/pr79428-2.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/gomp/pr79428-5.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/gomp/pr79428-6.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/pr79428-3.c [new file with mode: 0644]