aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fortune <matthew.fortune@imgtec.com>2016-10-18 14:12:58 +0000
committerMatthew Fortune <mpf@gcc.gnu.org>2016-10-18 14:12:58 +0000
commitf5de494c59532fdad30097af4185b2ce74700984 (patch)
treeeda64aa4254ce6eafbe4b1042c38d0a06d1248d8
parentc5026021514a0a92f1f03a26ebeb10fefc5b33f9 (diff)
downloadgcc-f5de494c59532fdad30097af4185b2ce74700984.zip
gcc-f5de494c59532fdad30097af4185b2ce74700984.tar.gz
gcc-f5de494c59532fdad30097af4185b2ce74700984.tar.bz2
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
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/gcc-dg.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1d3809f..b1d6cb7 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp
index 9c2e041..6217272 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"
}
}