[PATCH] Fix require alias in g++.dg/abi/mangle40.C
Jack Howarth
howarth@bromo.med.uc.edu
Tue May 25 01:47:00 GMT 2010
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_" } }
More information about the Gcc-patches
mailing list