Fix test failure at -O0 by pruning output
authorJonathan Wakely <jwakely@redhat.com>
Mon, 6 Feb 2017 16:39:56 +0000 (16:39 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 6 Feb 2017 16:39:56 +0000 (16:39 +0000)
PR libstdc++/79323
* testsuite/20_util/duration/literals/range.cc: Prune extra output
at -O0.

From-SVN: r245211

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/duration/literals/range.cc

index c69adcd..a62339a 100644 (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
index 451d161..eafc806 100644 (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