This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: moving 20010114-2.c to ieee directory
- To: Richard Henderson <rth at redhat dot com>,Geoff Keating <geoffk at redhat dot com>
- Subject: Re: moving 20010114-2.c to ieee directory
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Sun, 22 Jul 2001 12:24:05 +0200
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20010720161725.J6516@atrey.karlin.mff.cuni.cz> <200107220723.AAA01503@geoffk.org> <20010722001938.A9232@redhat.com>
On Sunday 22 July 2001 09:19, Richard Henderson wrote:
> On Sun, Jul 22, 2001 at 12:23:34AM -0700, Geoff Keating wrote:
> > This seems OK to me, any objections Richard?
>
> None, so long as you add -mieee for Alpha. ;-)
OK, this is the patch I committed. What about the branch after a few days of
testing?
Franz.
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.
Index: gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp 2001/05/11 16:56:29 1.5
+++ gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp 2001/07/22 10:10:09 1.6
@@ -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