https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84557

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar  3 13:40:39 2018
New Revision: 258204

URL: https://gcc.gnu.org/viewcvs?rev=258204&root=gcc&view=rev
Log:
        Backported from mainline
        2018-02-26  Jakub Jelinek  <ja...@redhat.com>

        PR c++/84557
        * parser.c (cp_parser_omp_var_list_no_open): Only call
        cp_parser_lookup_name_simple on names satisfying identifier_p.
        (cp_parser_oacc_routine): Likewise.

        * g++.dg/gomp/pr84557.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/gomp/pr84557.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/parser.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to