* ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline.

This commit is contained in:
Alan Modra 2013-01-16 08:14:35 +00:00
parent ad1e62badb
commit 1178606e2b
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2013-01-16 Alan Modra <amodra@gmail.com>
* ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline.
2013-01-15 Alan Modra <amodra@gmail.com>
* ld-powerpc/tlsso.d: Adjust for plt-thread-safe stubs.

View File

@ -69,7 +69,7 @@ set lto_link_tests {
"-O2 -flto -fuse-linker-plugin" ""
{lto-6.c} {} "lto-6.exe" "c"}
{"Build libdummy.a 9"
"" "-O2 -flto"
"" "-O2 -finline -flto"
{lto-9.cc} {} "libdummy.a"}
{"Build libdummy.a 11a"
"" "-O -flto"
@ -175,7 +175,7 @@ set lto_link_elf_tests {
"-shared -O2 -fPIC -flto -fuse-linker-plugin -nostdlib -Wl,-version-script,pr12975.t" "-O2 -flto"
{pr12975.c} {{"readelf" {-s --wide} "pr12975.d"}} "pr12975.so" "c"}
{"PR ld/13229"
"-shared -O2 -fPIC -flto -fuse-linker-plugin -nostdlib" "-O2 -fno-early-inlining -flto"
"-shared -O2 -fPIC -flto -fuse-linker-plugin -nostdlib" "-O2 -finline -fno-early-inlining -flto"
{pr13229.cc} {{"readelf" {-s --wide} "pr13229.d"}} "pr13229.so" "c++"}
{"PR ld/13244"
"-shared -O2 -fPIC -flto -fuse-linker-plugin -nostdlib" "-O2 -fno-early-inlining -flto"