From: Jakub Jelinek Date: Fri, 16 Sep 2016 20:23:15 +0000 (+0200) Subject: re PR c++/77379 (incorrect mangling for non-virtual adjustor thunk (missing abi tag)) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e80cb545aa1c6c7a71b07cbe0f3527afadd3630f;p=gcc.git re PR c++/77379 (incorrect mangling for non-virtual adjustor thunk (missing abi tag)) PR c++/77379 * g++.dg/abi/abi-tag23.C: Adjust scan-assembler regex for differing thunk offsets. * g++.dg/abi/abi-tag23a.C: Likewise. From-SVN: r240197 --- 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" } }