aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2006-01-03 20:24:53 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2006-01-03 20:24:53 +0000
commit103ac22259f697a8a3f2d00f5a4f4263d4f07d3e (patch)
treeb9c502474f5bbda38aa201dcf2fef22505eeb6a7
parenta13e882c791e640f1c53bc8f5a9b142705af650b (diff)
downloadgcc-103ac22259f697a8a3f2d00f5a4f4263d4f07d3e.zip
gcc-103ac22259f697a8a3f2d00f5a4f4263d4f07d3e.tar.gz
gcc-103ac22259f697a8a3f2d00f5a4f4263d4f07d3e.tar.bz2
thunk3.C, thunk4.C: Gate on dg-require-weak.
* g++.dg/abi/thunk3.C, g++.dg/abi/thunk4.C: Gate on dg-require-weak. Adjust regexp to handle leading-underscore targets, NO_DOT_IN_LABEL targets and space as well as TAB after .weak. From-SVN: r109286
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/g++.dg/abi/thunk3.C3
-rw-r--r--gcc/testsuite/g++.dg/abi/thunk4.C3
3 files changed, 11 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ec5497d..e88ba6b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2006-01-03 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * g++.dg/abi/thunk3.C, g++.dg/abi/thunk4.C: Gate on
+ dg-require-weak. Adjust regexp to handle leading-underscore
+ targets, NO_DOT_IN_LABEL targets and space as well as TAB after
+ .weak.
+
2006-01-03 Paolo Bonzini <bonzini@gnu.org>
PR rtl-optimization/25578
diff --git a/gcc/testsuite/g++.dg/abi/thunk3.C b/gcc/testsuite/g++.dg/abi/thunk3.C
index c078827..d2c7e8e 100644
--- a/gcc/testsuite/g++.dg/abi/thunk3.C
+++ b/gcc/testsuite/g++.dg/abi/thunk3.C
@@ -1,4 +1,5 @@
-// { dg-final { scan-assembler-not ".weak\t_ZThn._N7Derived3FooEv" } }
+// { dg-require-weak "" }
+// { dg-final { scan-assembler-not ".weak\[\t \]_?_ZThn\[8.\]_N7Derived3FooEv" } }
struct Base
{
diff --git a/gcc/testsuite/g++.dg/abi/thunk4.C b/gcc/testsuite/g++.dg/abi/thunk4.C
index 3ff2139..e4891d3 100644
--- a/gcc/testsuite/g++.dg/abi/thunk4.C
+++ b/gcc/testsuite/g++.dg/abi/thunk4.C
@@ -1,4 +1,5 @@
-// { dg-final { scan-assembler ".weak\t_ZThn._N7Derived3FooEv" } }
+// { dg-require-weak "" }
+// { dg-final { scan-assembler ".weak\[ \t\]_?_ZThn\[8.\]_N7Derived3FooEv" } }
struct Base
{