From ed38349a6154d283c7f4d8666c2accc69d917436 Mon Sep 17 00:00:00 2001 From: Michael Erdely Date: Mon, 9 Jun 2008 23:08:36 +0000 Subject: Make gcc on alpha use -mieee by default. This fixes many FPE problems with several ports on alpha and does not produce a significant slowdown. Suggestion to patch gcc directly from millert@ Diff and ok from miod@ ok pvalchev@, martin@, deraadt@ --- gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h b/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h index 8d2a8bca068..4077a71c359 100644 --- a/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h +++ b/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h @@ -21,7 +21,8 @@ Boston, MA 02111-1307, USA. */ /* Controlling the compilation driver. */ #undef TARGET_DEFAULT -#define TARGET_DEFAULT (MASK_FP | MASK_FPREGS | MASK_GAS) +#define TARGET_DEFAULT \ + (MASK_FP | MASK_FPREGS | MASK_IEEE | MASK_IEEE_CONFORMANT | MASK_GAS) /* alpha needs __start. */ #undef LINK_SPEC -- cgit v1.2.3