This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix require alias in g++.dg/abi/mangle40.C
- From: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: jason at redhat dot com
- Date: Mon, 24 May 2010 20:48:23 -0400
- Subject: [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_" } }