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 libstdc++/38897] Parallel mode example code does not compile



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


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