[Bug c++/49100] [OpenMP]: Compiler error when inline method defined within OpenMP loop

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 25 09:55:00 GMT 2011


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 ***



More information about the Gcc-bugs mailing list