re PR c++/86291 (OpenMP incorrect for-loop collapsing with iterators and at least...
authorJakub Jelinek <jakub@redhat.com>
Tue, 26 Jun 2018 10:40:50 +0000 (12:40 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 26 Jun 2018 10:40:50 +0000 (12:40 +0200)
commitf03915116bd2e15713cd20872f224b5ecd0a9b28
treeedb67767915f25520d780192116df84ee866174e
parent2a73b8e713c99e714c2619b2a536ce878f2f6e7e
re PR c++/86291 (OpenMP incorrect for-loop collapsing with iterators and at least 5 nested loops)

PR c++/86291
* parser.c (cp_parser_omp_for_loop_init): Change for_block argument
type from vec<tree, va_gc> * to vec<tree, va_gc> *&.

* testsuite/libgomp.c++/pr86291.C: New test.

From-SVN: r262137
gcc/cp/ChangeLog
gcc/cp/parser.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/pr86291.C [new file with mode: 0644]