https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91627
--- Comment #2 from John David Anglin ---
As can be seen foo() is not inlined.
(gdb) disass 0x40002d34
Dump of assembler code for function foo:
0x40002d30 <+0>: copy rp,ret0
0x40002d34 <+4>: std rp,-10(sp)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91627
--- Comment #1 from John David Anglin ---
-bash-4.4$ cat /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/lto/20081201-2_0.c
/* { dg-lto-options {{-O3 -flto -flto-partition=1to1}} } */
/* Test that cross-TU inlining works. */
extern void abort ();