This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49100] [OpenMP]: Compiler error when inline method defined within OpenMP loop
- 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, 25 Jul 2011 10:10:10 +0000
- Subject: [Bug c++/49100] [OpenMP]: Compiler error when inline method defined within OpenMP loop
- Auto-submitted: auto-generated
- References: <bug-49100-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49100
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-25 10:10:04 UTC ---
You are outside of the scope of OpenMP standard and C99 language. GNU nested
functions and OpenMP simply don't play nicely together if the containing
function has #pragma omp parallel or #pragma omp task.