* ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline.
authorAlan Modra <amodra@gmail.com>
Wed, 16 Jan 2013 08:14:35 +0000 (08:14 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 16 Jan 2013 08:14:35 +0000 (08:14 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-plugin/lto.exp

index fd14adcd946cb2f3fe94230866f24680b40d46c4..017758a19c0d143f20089143aa1527aaf0f4eade 100644 (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.
index b5cb1b402e98644544f37d1907190c47f2af3704..a3898c9e2ec5cb11d96f2917a1ad690abfd73f56 100644 (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"