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
This commit is contained in:
Jonathan Wakely 2017-02-06 16:39:56 +00:00 committed by Jonathan Wakely
parent daf57541f3
commit 3e4fd831e9
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2017-02-06 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/79323
* testsuite/20_util/duration/literals/range.cc: Prune extra output
at -O0.
2017-02-06 Gerald Pfeifer <gerald@pfeifer.com>
* doc/xml/manual/documentation_hacking.xml: Update URL of the

View file

@ -28,3 +28,4 @@ test01()
auto h = 9223372036854775808h;
// { dg-error "cannot be represented" "" { target *-*-* } 890 }
}
// { dg-prune-output "in constexpr expansion" } // needed for -O0