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 09:55:12 +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
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-25 09:54:13 UTC ---
The first comment has been resolved by PR49043, at least I can't reproduce this
anymore with current trunk or 4.6.
The second is a user bug, OpenMP standard says that you shouldn't reference in
a parallel region the original copy of the variable and you do exactly that
through the nested function.
*** This bug has been marked as a duplicate of bug 49043 ***