This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix unsupported prettyprinter test


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.
 //

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]