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:
Jonathan Wakely 2018-10-18 21:04:55 +01:00 committed by Jonathan Wakely
parent c0ace69ec6
commit 955fe731e3
3 changed files with 8 additions and 0 deletions

View File

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

View File

@ -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.
//

View File

@ -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" }