Fix tests that fail when built with different options
* testsuite/20_util/duration/cons/2.cc: Add -ffloat-store to fix failure when compiled without optimisation. * testsuite/ext/profile/mutex_extensions_neg.cc: Prune additional errors caused by C++17 std::pmr alias templates. From-SVN: r265287
This commit is contained in:
parent
c0ace69ec6
commit
955fe731e3
|
@ -1,5 +1,10 @@
|
|||
2018-10-18 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* testsuite/20_util/duration/cons/2.cc: Add -ffloat-store to fix
|
||||
failure when compiled without optimisation.
|
||||
* testsuite/ext/profile/mutex_extensions_neg.cc: Prune additional
|
||||
errors caused by C++17 std::pmr alias templates.
|
||||
|
||||
PR libstdc++/87642
|
||||
* config/locale/gnu/monetary_members.cc
|
||||
(moneypunct<char, true>::_M_initialize_moneypunct): Use
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// { dg-do run { target c++11 } }
|
||||
// { dg-additional-options "-ffloat-store" { target { m68*-*-* || ia32 } } }
|
||||
|
||||
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
|
||||
//
|
||||
|
|
|
@ -29,3 +29,5 @@
|
|||
|
||||
// "template argument 1 is invalid"
|
||||
// { dg-prune-output "tuple:993" }
|
||||
// PMR alias templates cause ambiguities between debug and profile containers:
|
||||
// { dg-prune-output "is ambiguous" }
|
||||
|
|
Loading…
Reference in New Issue