This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] Make std::align tests depend on stdint.h
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 15 Oct 2014 10:48:34 +0100
- Subject: Re: [patch] Make std::align tests depend on stdint.h
- Authentication-results: sourceware.org; auth=none
- References: <20141014171430 dot GB4197 at redhat dot com>
On 14/10/14 18:14 +0100, Jonathan Wakely wrote:
Tested x86_64-linux, committed to trunk.
I forgot the patch (thanks, Marc!)
It's not very exciting, but here it is ...
commit c473ca3bad6ad7ea8e21e50794c0445f54952d61
Author: redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue Oct 14 17:14:07 2014 +0000
* testsuite/20_util/align/1.cc: Add dg-require-stdint.
* testsuite/20_util/align/2.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216214 138bc75d-0d04-0410-961f-82ee72b054a4
diff --git a/libstdc++-v3/testsuite/20_util/align/1.cc b/libstdc++-v3/testsuite/20_util/align/1.cc
index d1f94e9..483ec1b 100644
--- a/libstdc++-v3/testsuite/20_util/align/1.cc
+++ b/libstdc++-v3/testsuite/20_util/align/1.cc
@@ -21,6 +21,8 @@
// C++11 [ptr.align] (20.6.5): std::align
+// { dg-require-cstdint "" }
+
#include <memory>
#include <cstdint>
#include <testsuite_hooks.h>
diff --git a/libstdc++-v3/testsuite/20_util/align/2.cc b/libstdc++-v3/testsuite/20_util/align/2.cc
index efad56a..aebe117 100644
--- a/libstdc++-v3/testsuite/20_util/align/2.cc
+++ b/libstdc++-v3/testsuite/20_util/align/2.cc
@@ -19,6 +19,8 @@
// C++11 [ptr.align] (20.6.5): std::align
+// { dg-require-cstdint "" }
+
#include <memory>
#include <testsuite_hooks.h>