Set gcc_force_conventional_output even without LTO linker plugin
authorMatthew Fortune <matthew.fortune@imgtec.com>
Tue, 18 Oct 2016 14:12:58 +0000 (14:12 +0000)
committerMatthew Fortune <mpf@gcc.gnu.org>
Tue, 18 Oct 2016 14:12:58 +0000 (14:12 +0000)
gcc/testsuite/

* lib/gcc-dg.exp: Set gcc_force_conventional_output whenever
LTO is used.

Set gcc_force_conventional_output even without LTO linker plugin

From-SVN: r241306

gcc/testsuite/ChangeLog
gcc/testsuite/lib/gcc-dg.exp

index 1d3809f4549444055ef6ccbeea67cee924032e24..b1d6cb7c6347ab8be8edde6448b75e6af81ce7b3 100644 (file)
@@ -1,3 +1,8 @@
+2016-10-18  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * lib/gcc-dg.exp: Set gcc_force_conventional_output whenever
+       LTO is used.
+
 2016-10-18  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
 
        * gcc.dg/sso/sso.exp: Return early if not 
index 9c2e041ba35995f4182e3ab2963a569a02bfd005..6217272ac4cac4b5b522d7da44e9997f2554bf99 100644 (file)
@@ -87,13 +87,13 @@ if [info exists TORTURE_OPTIONS] {
              { -O2 -flto -fno-use-linker-plugin -flto-partition=none } \
              { -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects }
            ]
-           set gcc_force_conventional_output "-ffat-lto-objects"
         } else {
            set LTO_TORTURE_OPTIONS [list \
              { -O2 -flto -flto-partition=none } \
              { -O2 -flto }
            ]
         }
+        set gcc_force_conventional_output "-ffat-lto-objects"
     }
 }