This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]