]> git.ipfire.org Git - thirdparty/gcc.git/commit
[objective-c/c++, testsuite] Fix stubify tests for -fnext-runtime.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 4 Nov 2019 23:06:21 +0000 (23:06 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Mon, 4 Nov 2019 23:06:21 +0000 (23:06 +0000)
commit8f97367f1bd59bbd8c18cb837a2e686755074a45
treeff888ce86df212e8ae602bb6ef75ff477d66b5b5
parentf52b17ba5d04136268b61685b45cd68eb0cf709c
[objective-c/c++, testsuite] Fix stubify tests for -fnext-runtime.

Fixed to work for x86 as well as powerpc (use the final assembler output
instead of the jump rtl which varies between X86 and PPC).  Amended the
options to reflect this change.

gcc/testsuite/

Backport from mainline.
2019-06-20  Iain Sandoe  <iain@sandoe.co.uk>

* obj-c++.dg/stubify-1.mm: Adjust options and scan-asm checks.
* obj-c++.dg/stubify-2.mm: Likewise.
* objc.dg/stubify-1.m: Likewise.
* objc.dg/stubify-2.m: Likewise.

From-SVN: r277800
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/stubify-1.mm
gcc/testsuite/obj-c++.dg/stubify-2.mm
gcc/testsuite/objc.dg/stubify-1.m
gcc/testsuite/objc.dg/stubify-2.m