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] Fix require alias in g++.dg/abi/mangle40.C


 Although r157245 added dg-require-alias to mangle40.C,
it is currently non-functional on darwin due to the
missing "" (as is commonly used elsewhere in the
testsuite). With this change, the dg-require-alias
properly ignores the fact that darwin supports
weak aliases and focuses on the absence of standard
alias support instead. Tested on x86_64-apple-darwin10.
Okay for gcc trunk?
          Jack

2010-05-24  Jack Howarth <howarth@bromo.med.uc.edu>

	* testsuite/g++.dg/abi/mangle40.C: Fix require alias.

Index: testsuite/g++.dg/abi/mangle40.C
===================================================================
--- testsuite/g++.dg/abi/mangle40.C	(revision 159800)
+++ testsuite/g++.dg/abi/mangle40.C	(working copy)
@@ -1,7 +1,7 @@
 // PR c++/12909
 // { dg-do compile { target i?86-*-* x86_64-*-* } }
 // { dg-require-weak }
-// { dg-require-alias }
+// { dg-require-alias "" }
 // { dg-options "-mavx -Wabi -fabi-version=2" }
 // { dg-final { scan-assembler "weak\[^\n\]*_Z1fIDv4_fEvT_" } }
 // { dg-final { scan-assembler "weak\[^\n\]*_Z1fIU8__vectorfEvT_" } }


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