re PR c++/92084 (ICE: tree check: expected tree that contains 'decl minimal' structur...
commitf1cb5c0aadc245d902e040f4b35a06e1fc8d2d50
authorJakub Jelinek <jakub@redhat.com>
Mon, 14 Oct 2019 08:28:05 +0000 (14 10:28 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 14 Oct 2019 08:28:05 +0000 (14 10:28 +0200)
treec6672e89bbcaf3522cf1430c7804ae0eed937ba8
parent3c917358901af9a778d4ba851fa724f4923480bf
re PR c++/92084 (ICE: tree check: expected tree that contains 'decl minimal' structure, have 'compound_expr' in gimplify_scan_omp_clauses, at gimplify.c:9039)

PR c++/92084
* semantics.c (handle_omp_array_sections_1): Temporarily disable
-fstrong-eval-order also for in_reduction and task_reduction clauses.

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

From-SVN: r276954
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr92084.C [new file with mode: 0644]