aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.misc-tests/dectest.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests/dectest.exp')
-rw-r--r--gcc/testsuite/gcc.misc-tests/dectest.exp8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/dectest.exp b/gcc/testsuite/gcc.misc-tests/dectest.exp
index 15b6c24..9b1a726 100644
--- a/gcc/testsuite/gcc.misc-tests/dectest.exp
+++ b/gcc/testsuite/gcc.misc-tests/dectest.exp
@@ -21,18 +21,12 @@
#
# Contributed by Ben Elliston <bje@au.ibm.com>.
-set TORTURE_OPTIONS [list {} -O1 -O2 -O3 -msoft-float]
+set TORTURE_OPTIONS [list {} -O1 -O2 -O3 -Os -msoft-float]
# On x86 and x86-64 systems, -Os makes the stack alignment too small,
# leading to segmentation faults when executing SSE instructions.
# Force the alignment of the stack to 2^4 (16) bytes.
-if {[istarget i?86-*-linux-gnu] || [istarget x86_64-*-linux-gnu]} {
- lappend TORTURE_OPTIONS {-Os -mpreferred-stack-boundary=4}
-} else {
- lappend TORTURE_OPTIONS {-Os}
-}
-
proc target-specific-flags {} {
set result "-frounding-math "
return $result