This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/79428] [6 Regression] ICE in c_parser_consume_token, at c/c-parser.c:770


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]