blob: f80ffa3ef0eba2c32793bde67b6d475049b0f869 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# DP: #212912
# DP: on alpha-linux, make -mieee default and add -mieee-disable switch
# DP: to turn default off
--- a/src/gcc/config/alpha/alpha.cc
+++ b/src/gcc/config/alpha/alpha.cc
@@ -384,6 +384,10 @@ alpha_option_override (void)
int line_size = 0, l1_size = 0, l2_size = 0;
int i;
+ /* If not -ffinite-math-only, enable -mieee*/
+ if (!flag_finite_math_only)
+ target_flags |= MASK_IEEE|MASK_IEEE_CONFORMANT;
+
#ifdef SUBTARGET_OVERRIDE_OPTIONS
SUBTARGET_OVERRIDE_OPTIONS;
#endif
|