This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/79428] [6 Regression] ICE in c_parser_consume_token, at c/c-parser.c:770
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Feb 2017 08:58:01 +0000
- Subject: [Bug c/79428] [6 Regression] ICE in c_parser_consume_token, at c/c-parser.c:770
- Auto-submitted: auto-generated
- References: <bug-79428-4@http.gcc.gnu.org/bugzilla/>
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 <polacek@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