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++/56217] ICE: OpenMP: when combining shared() and a move constructor


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56217

--- Comment #4 from Jim Radford <radford at blackbean dot org> 2013-02-06 20:46:42 UTC ---
(In reply to comment #3)
> Should be fixed on the trunk

Thanks!

> Note your testcase is invalid, without
> the taskwait I've added, it relies on NRV and even with NRV, by the time the
> task can run the temporary result of f() can be destructed already.

I had the taskwait in my original.  Still, thanks for the explanation; it adds
to my nascent mental model of openmp.  Maybe one day I'll get something to
compile so I can try it out, but first I'm off to compile gcc!


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