Commit 0743efe1 by Ben Elliston Committed by Ben Elliston

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
parent a2915f9b
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> 2006-01-22 Gabriel Dos Reis <gdr@integrable-solutions.net>
PR c++/10891 PR c++/10891
...@@ -21,18 +21,12 @@ ...@@ -21,18 +21,12 @@
# #
# Contributed by Ben Elliston <bje@au.ibm.com>. # 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, # On x86 and x86-64 systems, -Os makes the stack alignment too small,
# leading to segmentation faults when executing SSE instructions. # leading to segmentation faults when executing SSE instructions.
# Force the alignment of the stack to 2^4 (16) bytes. # 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 {} { proc target-specific-flags {} {
set result "-frounding-math " set result "-frounding-math "
return $result return $result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment