This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, testsuite]: Committed: Fix g++.dg/inherit/override-attribs.C failure on x86 with -m64
- From: "Uros Bizjak" <ubizjak at gmail dot com>
- To: "gcc patches" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 11 Mar 2008 16:01:42 +0100
- Subject: [PATCH, testsuite]: Committed: Fix g++.dg/inherit/override-attribs.C failure on x86 with -m64
Hello!
i686-*-* without ilp32 is not enough to test the testcase on x86_32
only. This patch fixes override-attribs.C failure noticed at [1].
2008-03-11 Uros Bizjak <ubizjak@gmail.com>
* g++.dg/inherit/override-attribs.C: Require ilp32 x86 target.
Patch is committed to SVN.
[1] http://gcc.gnu.org/ml/gcc-testresults/2008-03/msg00816.html
Uros.
Index: g++.dg/inherit/override-attribs.C
===================================================================
--- g++.dg/inherit/override-attribs.C (revision 133104)
+++ g++.dg/inherit/override-attribs.C (working copy)
@@ -1,5 +1,7 @@
// PR c++/14688
-// { dg-do compile { target i?86-*-* } }
+// { dg-do compile { target i?86-*-* x86_64-*-* } }
+// { dg-require-effective-target ilp32 }
+
class one
{
public: