This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/38897] Parallel mode example code does not compile
- From: "j dot s dot sebastian at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2009 15:13:32 -0000
- Subject: [Bug libstdc++/38897] Parallel mode example code does not compile
- References: <bug-38897-17201@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from j dot s dot sebastian at gmail dot com 2009-01-20 15:13 -------
It seems with libstdc++ from svn trunk the bug disappears.
Both
__gnu_parallel::sort(v.begin(), v.end());
and
__gnu_parallel::sort(v.begin(), v.end(),std::less<int>());
now compile and run.
At the moment I only succeeded in making it compile with -march=native (in 64
bit mode), but I think that looks like a totally unrelated issue with the way
i've setup the code from SVN.
So I guess we can close this bug.
--
j dot s dot sebastian at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38897