Jakub Jelinek
|
5c93439607
|
re PR c++/58706 (ICE with lambda in OpenMP for-loop)
PR c++/58706
* parser.c: Include tree-iterator.h.
(cp_parser_omp_for_loop_init): Move lambda DECL_EXPRs from init
to FOR_BLOCK.
(cp_parser_omp_for_loop): Handle non-STATEMENT_LIST FOR_BLOCK
entries.
* testsuite/libgomp.c++/pr58706.C: New test.
From-SVN: r239251
|
2016-08-08 21:50:29 +02:00 |