This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[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:


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