1. 02 Mar, 2020 11 commits
  2. 01 Mar, 2020 10 commits
  3. 29 Feb, 2020 17 commits
  4. 28 Feb, 2020 2 commits
    • libstdc++: Fix bogus use of memcmp in ranges::lexicographical_compare (PR 93972) · ce33801f
      We were enabling the memcmp optimization in ranges::lexicographical_compare for
      signed integral types and for integral types wider than a byte.  But memcmp
      gives the wrong answer for arrays of such types.  This patch fixes this issue by
      refining the condition that enables the memcmp optimization.  It's now
      consistent with the corresponding condition used in
      std::lexicographical_compare.
      
      libstdc++-v3/ChangeLog:
      
      	PR libstdc++/93972
      	* include/bits/ranges_algo.h (__lexicographical_compare_fn::operator()):
      	Fix condition for when to use memcmp, making it consistent with the
      	corresponding condition used in std::lexicographical_compare.
      	* testsuite/25_algorithms/lexicographical_compare/93972.cc: New test.
      Patrick Palka committed
    • coroutines: Update func-params-08.C to suspend three times. · e8219202
      The awaitable initially committed was returning "always ready"
      which meant that the suspension code was not used.  Update
      the test to suspend at each co_await, since this exercises more
      of the infrastructure.
      
      gcc/testsuite/ChangeLog:
      
      2020-02-28  Iain Sandoe  <iain@sandoe.co.uk>
      
      	* g++.dg/coroutines/torture/func-params-08.C: Update
      	to suspend for each co_await operation.
      Iain Sandoe committed