Fix Debug Mode test failures
* testsuite/23_containers/array/tuple_interface/ tuple_element_debug_neg.cc: Adjust dg-error. * testsuite/23_containers/list/operations/78389.cc: Fix less-than to define a valid strict weak ordering. * testsuite/23_containers/priority_queue/67085.cc: Disable test for Debug Mode, due to debug checks making extra copies of predicate. * testsuite/ext/pb_ds/regression/priority_queue_binary_heap-62045.cc: Likewise. From-SVN: r246426
This commit is contained in:
parent
393ed575c4
commit
01e3c2296a
|
@ -1,5 +1,14 @@
|
|||
2017-03-23 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* testsuite/23_containers/array/tuple_interface/
|
||||
tuple_element_debug_neg.cc: Adjust dg-error.
|
||||
* testsuite/23_containers/list/operations/78389.cc: Fix less-than to
|
||||
define a valid strict weak ordering.
|
||||
* testsuite/23_containers/priority_queue/67085.cc: Disable test for
|
||||
Debug Mode, due to debug checks making extra copies of predicate.
|
||||
* testsuite/ext/pb_ds/regression/priority_queue_binary_heap-62045.cc:
|
||||
Likewise.
|
||||
|
||||
* doc/xml/faq.xml: Add link.
|
||||
* doc/xml/manual/backwards_compatibility.xml: Remove outdated
|
||||
information on pre-ISO headers. Replace broken link to C++ FAQ Lite.
|
||||
|
|
|
@ -22,4 +22,4 @@
|
|||
|
||||
typedef std::tuple_element<1, std::array<int, 1>>::type type;
|
||||
|
||||
// { dg-error "static assertion failed" "" { target *-*-* } 316 }
|
||||
// { dg-error "static assertion failed" "" { target *-*-* } 323 }
|
||||
|
|
|
@ -48,7 +48,7 @@ bool operator<(const X&, const X&) {
|
|||
if (++count_X >= throw_after_X) {
|
||||
throw 666;
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do run { target c++11 } }
|
||||
// { dg-require-normal-mode "" }
|
||||
|
||||
#include <queue>
|
||||
#include <testsuite_hooks.h>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
// with this library; see the file COPYING3. If not see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do run }
|
||||
// { dg-require-normal-mode "" }
|
||||
|
||||
#include <ext/pb_ds/priority_queue.hpp>
|
||||
#include <testsuite_hooks.h>
|
||||
|
|
Loading…
Reference in New Issue