]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
thunk3.C, thunk4.C: Gate on dg-require-weak.
authorHans-Peter Nilsson <hp@bitrange.com>
Tue, 3 Jan 2006 20:24:53 +0000 (20:24 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Tue, 3 Jan 2006 20:24:53 +0000 (20:24 +0000)
* 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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/thunk3.C
gcc/testsuite/g++.dg/abi/thunk4.C

index ec5497d1d77761a78630a169cf054add470759f6..e88ba6bfd26b2dc514707cf264d379c19a6dd9af 100644 (file)
@@ -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
index c0788273b0dbb83f6d7aef253fc05c2ca04f08ad..d2c7e8e8bab2badd73996c0b99c3105f9a68642b 100644 (file)
@@ -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 
 {
index 3ff2139812ca4b2a4082af2eab8ec3c6a27819b1..e4891d32bc3727ce4365c435a493309458d54988 100644 (file)
@@ -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 
 {