~ubuntu-branches/debian/sid/gcc-4.8/sid

« back to all changes in this revision

Viewing changes to .svn/pristine/af/affcf45422ec3b169df709d6436446d213b4c1a6.svn-base

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-12-19 19:48:34 UTC
  • Revision ID: package-import@ubuntu.com-20141219194834-4dz1q7rrn5pad823
Tags: 4.8.4-1
* GCC 4.8.4 release.
  - Fix PR target/61407 (darwin), PR middle-end/58624 (ice),
    PR sanitizer/64265 (wrong code).
* Require recent binutils to pass go test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# DP: #212912
 
2
# DP: on alpha-linux, make -mieee default and add -mieee-disable switch
 
3
# DP: to turn default off
 
4
 
 
5
---
 
6
 gcc/config/alpha/alpha.c |    4 ++++
 
7
 1 files changed, 4 insertions(+), 0 deletions(-)
 
8
 
 
9
--- a/src/gcc/config/alpha/alpha.c
 
10
+++ b/src/gcc/config/alpha/alpha.c
 
11
@@ -246,6 +246,10 @@
 
12
   int const ct_size = ARRAY_SIZE (cpu_table);
 
13
   int i;
 
14
 
 
15
+  /* If not -ffinite-math-only, enable -mieee*/
 
16
+  if (!flag_finite_math_only)
 
17
+    target_flags |= MASK_IEEE|MASK_IEEE_CONFORMANT;
 
18
+
 
19
 #ifdef SUBTARGET_OVERRIDE_OPTIONS
 
20
   SUBTARGET_OVERRIDE_OPTIONS;
 
21
 #endif