From: Jonathan Wakely Date: Mon, 6 Feb 2017 16:39:56 +0000 (+0000) Subject: Fix test failure at -O0 by pruning output X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e4fd831e938cd5144faa748605ebd1076e901da;p=gcc.git Fix test failure at -O0 by pruning output PR libstdc++/79323 * testsuite/20_util/duration/literals/range.cc: Prune extra output at -O0. From-SVN: r245211 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c69adcd32d7..a62339ae337 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2017-02-06 Jonathan Wakely + + PR libstdc++/79323 + * testsuite/20_util/duration/literals/range.cc: Prune extra output + at -O0. + 2017-02-06 Gerald Pfeifer * doc/xml/manual/documentation_hacking.xml: Update URL of the diff --git a/libstdc++-v3/testsuite/20_util/duration/literals/range.cc b/libstdc++-v3/testsuite/20_util/duration/literals/range.cc index 451d161167c..eafc806ff51 100644 --- a/libstdc++-v3/testsuite/20_util/duration/literals/range.cc +++ b/libstdc++-v3/testsuite/20_util/duration/literals/range.cc @@ -28,3 +28,4 @@ test01() auto h = 9223372036854775808h; // { dg-error "cannot be represented" "" { target *-*-* } 890 } } +// { dg-prune-output "in constexpr expansion" } // needed for -O0