r262065 - in /branches/gcc-6-branch/gcc: cp/Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Mon Jun 25 17:23:00 GMT 2018
Author: jakub
Date: Mon Jun 25 17:23:21 2018
New Revision: 262065
URL: https://gcc.gnu.org/viewcvs?rev=262065&root=gcc&view=rev
Log:
Backported from mainline
2018-02-19 Jakub Jelinek <jakub@redhat.com>
PR c++/84448
* parser.c (cp_parser_binary_expression): For no_toplevel_fold_p, if
either operand is error_mark_node, set current.lhs to that instead of
creating a binary op with error_mark_node operands.
* g++.dg/gomp/pr84448.C: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/gomp/pr84448.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/parser.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list