summaryrefslogtreecommitdiffstats
path: root/debian/patches/alpha-ieee-doc.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/alpha-ieee-doc.diff')
-rw-r--r--debian/patches/alpha-ieee-doc.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/alpha-ieee-doc.diff b/debian/patches/alpha-ieee-doc.diff
new file mode 100644
index 0000000..526bde9
--- /dev/null
+++ b/debian/patches/alpha-ieee-doc.diff
@@ -0,0 +1,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