testsuite: Make sure the *san/inline* tests aren't UNRESOLVED with LTO
authorJakub Jelinek <jakub@redhat.com>
Tue, 16 Jun 2020 16:19:44 +0000 (18:19 +0200)
committerJakub Jelinek <jakub@redhat.com>
Tue, 16 Jun 2020 16:19:44 +0000 (18:19 +0200)
commit43a9b25c17d264b81832e3bc09135f736c9e42ec
treef571d2652b4d6ac69c5388345cc170f80f5eaff0
parent929fd91ba975eebf9e57f7f092041271dcaf0c34
testsuite: Make sure the *san/inline* tests aren't UNRESOLVED with LTO

These tests are UNRESOLVED because -fdump-tree-optimized can't be scanned
with slim LTO.  Other *san/ tests deal with this by adding -ffat-lto-objects.

2020-06-16  Jakub Jelinek  <jakub@redhat.com>

* c-c++-common/asan/inline.c: Add -ffat-lto-objects to dg-options.
* c-c++-common/asan/inline-kernel.c: Likewise.
* c-c++-common/ubsan/inline.c: Likewise.
gcc/testsuite/c-c++-common/asan/inline-kernel.c
gcc/testsuite/c-c++-common/asan/inline.c
gcc/testsuite/c-c++-common/ubsan/inline.c