diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-02-19 20:16:26 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-02-19 20:16:26 +0100 |
commit | 4382537df8cc3d0d8622af606e4ce580d1bb4c80 (patch) | |
tree | 8f32119d01786d8c7b29196ed2df898f09877a74 /gcc/cp/lambda.c | |
parent | 897064e27690d55c82ac1d6f23f78fa7651e0e1b (diff) | |
download | gcc-4382537df8cc3d0d8622af606e4ce580d1bb4c80.zip gcc-4382537df8cc3d0d8622af606e4ce580d1bb4c80.tar.gz gcc-4382537df8cc3d0d8622af606e4ce580d1bb4c80.tar.bz2 |
re PR c++/84448 (ICE with broken condition in parallel for loop)
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.
From-SVN: r257821
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions