From: Matthew Fortune Date: Tue, 18 Oct 2016 14:12:58 +0000 (+0000) Subject: Set gcc_force_conventional_output even without LTO linker plugin X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5de494c59532fdad30097af4185b2ce74700984;p=gcc.git Set gcc_force_conventional_output even without LTO linker plugin 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1d3809f4549..b1d6cb7c634 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-10-18 Matthew Fortune + + * lib/gcc-dg.exp: Set gcc_force_conventional_output whenever + LTO is used. + 2016-10-18 Senthil Kumar Selvaraj * gcc.dg/sso/sso.exp: Return early if not diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp index 9c2e041ba35..6217272ac4c 100644 --- a/gcc/testsuite/lib/gcc-dg.exp +++ b/gcc/testsuite/lib/gcc-dg.exp @@ -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" } }