public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] libstdc++: Fix list.cc xmethods test.
@ 2015-04-27 22:33 Doug Evans
  2015-04-27 22:41 ` Jonathan Wakely
  0 siblings, 1 reply; 6+ messages in thread
From: Doug Evans @ 2015-04-27 22:33 UTC (permalink / raw)
  To: gcc-patches, libstdc++

Hi.

While we should eventually get the xmethods to handle cxx11,
this patch fixes the current failure.
The xmethod matcher doesn't currently handle __cxx11 in the type name.

Adding cxx11 support can be a follow up patch.

Ok to commit?

2015-04-27  Doug Evans  <dje@google.com>

	* testsuite/libstdc++-xmethods/list.cc (_GLIBCXX_USE_CXX11_ABI):
	Define to zero.

Index: testsuite/libstdc++-xmethods/list.cc
===================================================================
--- testsuite/libstdc++-xmethods/list.cc	(revision 222477)
+++ testsuite/libstdc++-xmethods/list.cc	(working copy)
@@ -18,6 +18,9 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// List xmethods only recognize the non cxx11 std::list for now.
+#define _GLIBCXX_USE_CXX11_ABI 0
+
 #include <list>
 
 int

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-01 17:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-27 22:33 [PATCH] libstdc++: Fix list.cc xmethods test Doug Evans
2015-04-27 22:41 ` Jonathan Wakely
2015-04-29 16:09   ` Doug Evans
2015-04-29 16:18     ` Jonathan Wakely
2015-04-29 16:33       ` Jonathan Wakely
2015-05-01 17:02       ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).