From 1178606e2bb9fc3a936318765bf195c93efdd73f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 16 Jan 2013 08:14:35 +0000 Subject: [PATCH] * ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-plugin/lto.exp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index fd14adc..017758a 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-01-16 Alan Modra + + * ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline. + 2013-01-15 Alan Modra * ld-powerpc/tlsso.d: Adjust for plt-thread-safe stubs. diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp index b5cb1b4..a3898c9 100644 --- a/ld/testsuite/ld-plugin/lto.exp +++ b/ld/testsuite/ld-plugin/lto.exp @@ -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" -- 2.7.4