Commit 955fe731 by Jonathan Wakely Committed by Jonathan Wakely

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
parent c0ace69e
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
......
// { 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" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment