summaryrefslogtreecommitdiffstats
path: root/debian/patches/alpha-ieee-doc.diff
blob: 526bde9154d881c07d930f6e8bbd31823534b6e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# DP: #212912
# DP: on alpha-linux, make -mieee default and add -mieee-disable switch
# DP: to turn default off (doc patch)

---
 gcc/doc/invoke.texi |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

Index: b/src/gcc/doc/invoke.texi
===================================================================
--- a/src/gcc/doc/invoke.texi
+++ b/src/gcc/doc/invoke.texi
@@ -24169,6 +24169,13 @@ able to correctly support denormalized n
 values such as not-a-number and plus/minus infinity.  Other Alpha
 compilers call this option @option{-ieee_with_no_inexact}.
 
+DEBIAN SPECIFIC: This option is on by default for alpha-linux-gnu, unless
+@option{-ffinite-math-only} (which is part of the @option{-ffast-math}
+set) is specified, because the software functions in the GNU libc math
+libraries generate denormalized numbers, NaNs, and infs (all of which
+will cause a programs to SIGFPE when it attempts to use the results without
+@option{-mieee}).
+
 @opindex mieee-with-inexact
 @item -mieee-with-inexact
 This is like @option{-mieee} except the generated code also maintains