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 c69adcd32d7a09beca3ca9391b1d5683692e107f..a62339ae337b83235bc3fc40ea193a34a5294bee 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 451d161167c6ddf86d2372263ae4bff68c4cd744..eafc806ff517439197f8f63b78935ed2135c273f 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