This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60228] ICE using lambda in #pragma omp declare reduction
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Aug 2014 10:16:19 +0000
- Subject: [Bug c++/60228] ICE using lambda in #pragma omp declare reduction
- Auto-submitted: auto-generated
- References: <bug-60228-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60228
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I would not call this valid, because OpenMP 4.0 doesn't support C++11, thus
using C++11 constructs inside of OpenMP constructs is invalid.