aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-01-23 03:19:30 +0000
committerBen Elliston <bje@gcc.gnu.org>2006-01-23 14:19:30 +1100
commit0743efe14908ff3e39f14de636d1526e4813b4ca (patch)
tree460cdbb2024cfebce97743cbe0ba07e5fa2d4da8
parenta2915f9beb8abfe9c29362b861ecc63af0efd29a (diff)
downloadgcc-0743efe14908ff3e39f14de636d1526e4813b4ca.zip
gcc-0743efe14908ff3e39f14de636d1526e4813b4ca.tar.gz
gcc-0743efe14908ff3e39f14de636d1526e4813b4ca.tar.bz2
dectest.exp (TORTURE_OPTIONS): Include -Os.
* gcc.misc-tests/dectest.exp (TORTURE_OPTIONS): Include -Os. Remove target conditional torture options for i?86 and x86_64 GNU/Linux. From-SVN: r110105
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.misc-tests/dectest.exp8
2 files changed, 7 insertions, 7 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 57945e8..271642d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2006-01-23 Ben Elliston <bje@au.ibm.com>
+
+ * gcc.misc-tests/dectest.exp (TORTURE_OPTIONS): Include -Os.
+ Remove target conditional torture options for i?86 and x86_64
+ GNU/Linux.
+
2006-01-22 Gabriel Dos Reis <gdr@integrable-solutions.net>
PR c++/10891
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