Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: gcc/gcc/testsuite/lib/c-torture.exp

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gnat.dg/warn5.adb ('k') | gcc/gcc/testsuite/lib/compat.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/lib/c-torture.exp
diff --git a/gcc/gcc/testsuite/lib/c-torture.exp b/gcc/gcc/testsuite/lib/c-torture.exp
index 769ec97d3eccfd8cdd82f6cd19036901f1c41bea..8b15b577005bd501757b60719ac1ad86dadb64cd 100644
--- a/gcc/gcc/testsuite/lib/c-torture.exp
+++ b/gcc/gcc/testsuite/lib/c-torture.exp
@@ -17,6 +17,7 @@
# This file was written by Rob Savoye. (rob@cygnus.com)
+load_lib target-supports.exp
load_lib file-format.exp
load_lib target-libpath.exp
@@ -49,6 +50,14 @@ if [info exists ADDITIONAL_TORTURE_OPTIONS] {
[concat $C_TORTURE_OPTIONS $ADDITIONAL_TORTURE_OPTIONS]
}
+set LTO_TORTURE_OPTIONS ""
+if [check_effective_target_lto] {
+ set LTO_TORTURE_OPTIONS [list \
+ { -O2 -flto } \
+ { -O2 -fwhopr }
+ ]
+}
+
global GCC_UNDER_TEST
if ![info exists GCC_UNDER_TEST] {
set GCC_UNDER_TEST "[find_gcc]"
« no previous file with comments | « gcc/gcc/testsuite/gnat.dg/warn5.adb ('k') | gcc/gcc/testsuite/lib/compat.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698