This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Fix unsupported prettyprinter test
- From: François Dumont <frs dot dumont at gmail dot com>
- To: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 7 Nov 2017 21:48:01 +0100
- Subject: Re: Fix unsupported prettyprinter test
- Authentication-results: sourceware.org; auth=none
- References: <aa836a60-246b-fa11-da60-bdd2bc2ac27a@gmail.com>
Sorry, it was the wrong patch. Here is the right one.
François
On 06/11/2017 22:17, François Dumont wrote:
Hi
I just committed this as trivial to avoid test to be considered as
unsupported.
Looks like gcc made improvements in optimizations to have this test
now unsuported.
Tested under Linux x86_64.
François
diff --git a/libstdc++-v3/testsuite/libstdc++-prettyprinters/tr1.cc b/libstdc++-v3/testsuite/libstdc++-prettyprinters/tr1.cc
index f4ef32e..1c8f8af 100644
--- a/libstdc++-v3/testsuite/libstdc++-prettyprinters/tr1.cc
+++ b/libstdc++-v3/testsuite/libstdc++-prettyprinters/tr1.cc
@@ -1,5 +1,5 @@
// { dg-do run }
-// { dg-options "-g" }
+// { dg-options "-g -O0" }
// Copyright (C) 2013-2017 Free Software Foundation, Inc.
//