diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-02-06 16:39:56 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-02-06 16:39:56 +0000 |
commit | 3e4fd831e938cd5144faa748605ebd1076e901da (patch) | |
tree | 4af9535fa0ae8ebbbf059838daed06618356b0f8 | |
parent | daf57541f3eb327944ea8581d53b2a4fc89c3e24 (diff) | |
download | gcc-3e4fd831e938cd5144faa748605ebd1076e901da.zip gcc-3e4fd831e938cd5144faa748605ebd1076e901da.tar.gz gcc-3e4fd831e938cd5144faa748605ebd1076e901da.tar.bz2 |
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
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/20_util/duration/literals/range.cc | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c69adcd..a62339a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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 diff --git a/libstdc++-v3/testsuite/20_util/duration/literals/range.cc b/libstdc++-v3/testsuite/20_util/duration/literals/range.cc index 451d161..eafc806 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 |