ieee.exp: Only use -ffloat-store only on i[34567]86-*-*.

2001-07-22  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* gcc.c-torture/execute/ieee/ieee.exp: Only use -ffloat-store only on
	i[34567]86-*-*.
	Delete handling of ieee_multilib_flags.
	Pass -mieee for alpha*-*-* and sh-*-*.
	* gcc.c-torture/execute/20010114-2.c: Move into ieee subdir.

From-SVN: r44238
This commit is contained in:
Franz Sirl 2001-07-22 10:10:09 +00:00 committed by Franz Sirl
parent 65ecca65ce
commit e5d4fff465
3 changed files with 18 additions and 7 deletions

View File

@ -1,3 +1,11 @@
2001-07-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/ieee/ieee.exp: Only use -ffloat-store only on
i[34567]86-*-*.
Delete handling of ieee_multilib_flags.
Pass -mieee for alpha*-*-* and sh-*-*.
* gcc.c-torture/execute/20010114-2.c: Move into ieee subdir.
2001-07-21 Nathan Sidwell <nathan@codesourcery.com>
Remove old-abi tests.

View File

@ -31,15 +31,18 @@ if $tracelevel then {
strace $tracelevel
}
if [target_info exists ieee_multilib_flags] {
set additional_flags [target_info ieee_multilib_flags];
} else {
set additional_flags "";
set additional_flags "";
# We must use -ffloat-store/-mieee to ensure that excess precision on some
# machines does not cause problems
if [istarget "i\[34567\]86-*-*"] then {
lappend additional_flags "-ffloat-store"
}
# We must use -ffloat-store to ensure that excess precision on some machines
# does not cause problems
lappend additional_flags "-ffloat-store"
if { [istarget "alpha*-*-*"]
|| [istarget "sh-*-*"] } then {
lappend additional_flags "-mieee"
}
# load support procs
load_lib c-torture.exp