OSDN Git Service

* g++.dg/abi/thunk3.C, g++.dg/abi/thunk4.C: Gate on
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jan 2006 20:24:53 +0000 (20:24 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jan 2006 20:24:53 +0000 (20:24 +0000)
dg-require-weak.  Adjust regexp to handle leading-underscore
targets, NO_DOT_IN_LABEL targets and space as well as TAB after
.weak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109286 138bc75d-0d04-0410-961f-82ee72b054a4

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

index ec5497d..e88ba6b 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 c078827..d2c7e8e 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 3ff2139..e4891d3 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 
 {