patches/gcc/4.4.2/100-alpha-mieee-default.patch
changeset 1761 88020b2c3246
parent 1544 2228ea3f6b79
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/4.4.2/100-alpha-mieee-default.patch	Tue Jan 12 19:24:03 2010 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +diff -durN gcc-4.4.0.orig/gcc/config/alpha/alpha.h gcc-4.4.0/gcc/config/alpha/alpha.h
     1.5 +--- gcc-4.4.0.orig/gcc/config/alpha/alpha.h	2009-02-20 16:20:38.000000000 +0100
     1.6 ++++ gcc-4.4.0/gcc/config/alpha/alpha.h	2009-05-27 21:37:58.000000000 +0200
     1.7 +@@ -95,6 +95,8 @@
     1.8 +   while (0)
     1.9 + #endif
    1.10 + 
    1.11 ++#define CPP_SPEC "%{!no-ieee:-mieee}"
    1.12 ++
    1.13 + #define WORD_SWITCH_TAKES_ARG(STR)		\
    1.14 +  (!strcmp (STR, "rpath") || DEFAULT_WORD_SWITCH_TAKES_ARG(STR))
    1.15 + 
    1.16 +diff -durN gcc-4.4.0.orig/gcc/config/alpha/alpha.opt gcc-4.4.0/gcc/config/alpha/alpha.opt
    1.17 +--- gcc-4.4.0.orig/gcc/config/alpha/alpha.opt	2007-08-02 12:49:31.000000000 +0200
    1.18 ++++ gcc-4.4.0/gcc/config/alpha/alpha.opt	2009-05-27 21:37:58.000000000 +0200
    1.19 +@@ -39,7 +39,7 @@
    1.20 + Request IEEE-conformant math library routines (OSF/1)
    1.21 + 
    1.22 + mieee
    1.23 +-Target Report RejectNegative Mask(IEEE)
    1.24 ++Target Report Mask(IEEE)
    1.25 + Emit IEEE-conformant code, without inexact exceptions
    1.26 + 
    1.27 + mieee-with-inexact