[Bug c++/84430] [7/8 Regression] ICE with #pragma omp simd in lambda

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 19 19:17:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84430

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb 19 19:12:14 2018
New Revision: 257820

URL: https://gcc.gnu.org/viewcvs?rev=257820&root=gcc&view=rev
Log:
        PR c++/84430
        * constexpr.c (potential_constant_expression_1): Handle OMP_SIMD.

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

Added:
    trunk/gcc/testsuite/g++.dg/gomp/pr84430.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list