[PATCH][libstdc++-v3 parallel mode] Patch for PR 39546

Johannes Singler singler@ira.uka.de
Tue May 5 16:51:00 GMT 2009


Paolo Carlini wrote:
> Johannes Singler wrote:
>> Sorry, got you wrong, test case now included.  Have rerun regression tests.
>>
>> 2009-05-04  Johannes Singler  <singler@ira.uka.de>
>>
>>         PR libstdc++/39546
>>         * include/parallel/algo.h (find_switch):
>>         Parametrize binder2nd with const T& instead of T.
>>         * testsuite/25_algorithms/find/39546.cc: new test case
>>   
> Generally ok, but please follow our practice for the testcase: thus have
> a separate test01 function, use in it VERIFY (test variable, include
> <testsuite_hooks.h>), always indent only 2 spaces at a time, copyright
> year only 2009, of course, etc.

Better now?

Tested x86_64-unknown-linux-gnu: No regressions

Please approve for mainline.

2009-05-05  Johannes Singler  <singler@ira.uka.de>

        PR libstdc++/39546
        * include/parallel/algo.h (find_switch):
        Parametrize binder2nd with const T& instead of T.
        * testsuite/25_algorithms/find/39546.cc: new test case


-- Johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: find_cstring_constify_equal_to_PR39546.patch
Type: text/x-patch
Size: 2162 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090505/ef8ca4c0/attachment.bin>


More information about the Gcc-patches mailing list