re PR c++/84430 (ICE with #pragma omp simd in lambda)
authorJakub Jelinek <jakub@redhat.com>
Mon, 19 Feb 2018 19:12:14 +0000 (20:12 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 19 Feb 2018 19:12:14 +0000 (20:12 +0100)
commit897064e27690d55c82ac1d6f23f78fa7651e0e1b
treef8596fe17cb063559eb89b3ef1b99952e0154ceb
parent73829f90459f40d7362fc3ac2d883ac98f1670a9
re PR c++/84430 (ICE with #pragma omp simd in lambda)

PR c++/84430
* constexpr.c (potential_constant_expression_1): Handle OMP_SIMD.

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

From-SVN: r257820
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr84430.C [new file with mode: 0644]