diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5d880a01b039ddeb516d0fa5636be7ccd9ea0ce1..540e4b7ae5c324c5f08f5f4343707beb91433c22 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-01  Nathan Sidwell  <nathan@codesourcery.com>
+
+	* g++.dg/abi/thunk3.C: Adjust regexp to be 64bit safe.
+	* g++.dg/abi/thunk4.C: Likewise.
+
 2006-01-01  Andreas Jaeger  <aj@suse.de>
 
 	* gcc.dg/tree-ssa/loadpre6.c: Fix prototype of malloc to be
diff --git a/gcc/testsuite/g++.dg/abi/thunk3.C b/gcc/testsuite/g++.dg/abi/thunk3.C
index 8b5f3ce59d926dad961cd142d369d77a3b0c9551..c0788273b0dbb83f6d7aef253fc05c2ca04f08ad 100644
--- a/gcc/testsuite/g++.dg/abi/thunk3.C
+++ b/gcc/testsuite/g++.dg/abi/thunk3.C
@@ -1,4 +1,4 @@
-// { dg-final { scan-assembler-not ".weak\t_ZThn4_N7Derived3FooEv" } }
+// { dg-final { scan-assembler-not ".weak\t_ZThn._N7Derived3FooEv" } }
 
 struct Base 
 {
diff --git a/gcc/testsuite/g++.dg/abi/thunk4.C b/gcc/testsuite/g++.dg/abi/thunk4.C
index 1c47740eed6821e31b0d091f7ffc84b74bc9ca9c..3ff2139812ca4b2a4082af2eab8ec3c6a27819b1 100644
--- a/gcc/testsuite/g++.dg/abi/thunk4.C
+++ b/gcc/testsuite/g++.dg/abi/thunk4.C
@@ -1,4 +1,4 @@
-// { dg-final { scan-assembler ".weak\t_ZThn4_N7Derived3FooEv" } }
+// { dg-final { scan-assembler ".weak\t_ZThn._N7Derived3FooEv" } }
 
 struct Base 
 {