lto test fails with -fno-inline in CFLAGS
authorAlan Modra <amodra@gmail.com>
Fri, 23 Jun 2023 02:06:13 +0000 (11:36 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 23 Jun 2023 11:32:48 +0000 (21:02 +0930)
commit0ec2cde4f48fbe19c72d0963101888743015041e
tree4cd5b1e590104bb03643c8c8707fdffcb75645c7
parent8a269c262e3d0611c01edd915f230bbd2ad78015
lto test fails with -fno-inline in CFLAGS

Putting -fno-inline in CFLAGS results in these failures.
FAIL: Build liblto-17b.so 1
FAIL: PR ld/12365
FAIL: PR ld/13183

* ld-plugin/lto.exp: Add -finline to compiler flags in some tests.
ld/testsuite/ld-plugin/lto.exp