diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 30d7615ef68..88d32962d9f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2016-09-16 Jakub Jelinek + PR c++/77379 + * g++.dg/abi/abi-tag23.C: Adjust scan-assembler regex for differing + thunk offsets. + * g++.dg/abi/abi-tag23a.C: Likewise. + PR c++/77338 * g++.dg/cpp0x/decltype-77338.C: New test. diff --git a/gcc/testsuite/g++.dg/abi/abi-tag23.C b/gcc/testsuite/g++.dg/abi/abi-tag23.C index 5e310a4a42a..4a1c38bc580 100644 --- a/gcc/testsuite/g++.dg/abi/abi-tag23.C +++ b/gcc/testsuite/g++.dg/abi/abi-tag23.C @@ -32,4 +32,4 @@ int main() Final().get_foo(); } -// { dg-final { scan-assembler "_ZThn16_N7Derived7get_fooB3barEv" } } +// { dg-final { scan-assembler "_ZThn\[0-9]+_N7Derived7get_fooB3barEv" } } diff --git a/gcc/testsuite/g++.dg/abi/abi-tag23a.C b/gcc/testsuite/g++.dg/abi/abi-tag23a.C index 72aa037f0b8..10645bf74cf 100644 --- a/gcc/testsuite/g++.dg/abi/abi-tag23a.C +++ b/gcc/testsuite/g++.dg/abi/abi-tag23a.C @@ -32,4 +32,4 @@ int main() Final().get_foo(); } -// { dg-final { scan-assembler "_ZThn16_N7Derived7get_fooEv" } } +// { dg-final { scan-assembler "_ZThn\[0-9]+_N7Derived7get_fooEv" } }