projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e3971de
)
fix validation failure on non-i386
author
Simon Marlow
<simonmar@microsoft.com>
Wed, 2 Jan 2008 15:17:40 +0000
(15:17 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Wed, 2 Jan 2008 15:17:40 +0000
(15:17 +0000)
compiler/main/DriverPipeline.hs
patch
|
blob
|
history
diff --git
a/compiler/main/DriverPipeline.hs
b/compiler/main/DriverPipeline.hs
index
5cc4925
..
6c86cbf
100644
(file)
--- a/
compiler/main/DriverPipeline.hs
+++ b/
compiler/main/DriverPipeline.hs
@@
-828,8
+828,6
@@
runPhase cc_phase _stop dflags _basename _suff input_fn get_output_fn maybe_loc
split_opt | hcc && split_objs = [ "-DUSE_SPLIT_MARKERS" ]
| otherwise = [ ]
split_opt | hcc && split_objs = [ "-DUSE_SPLIT_MARKERS" ]
| otherwise = [ ]
- let excessPrecision = dopt Opt_ExcessPrecision dflags
-
let cc_opt | optLevel dflags >= 2 = "-O2"
| otherwise = "-O"
let cc_opt | optLevel dflags >= 2 = "-O2"
| otherwise = "-O"
@@
-848,7
+846,9
@@
runPhase cc_phase _stop dflags _basename _suff input_fn get_output_fn maybe_loc
-- than a double, which leads to unpredictable results.
-- By default, we turn this off with -ffloat-store unless
-- the user specified -fexcess-precision.
-- than a double, which leads to unpredictable results.
-- By default, we turn this off with -ffloat-store unless
-- the user specified -fexcess-precision.
- (if excessPrecision then [] else [ "-ffloat-store" ]) ++
+ (if dopt Opt_ExcessPrecision dflags
+ then []
+ else [ "-ffloat-store" ]) ++
#endif
-- gcc's -fstrict-aliasing allows two accesses to memory
-- to be considered non-aliasing if they have different types.
#endif
-- gcc's -fstrict-aliasing allows two accesses to memory
-- to be considered non-aliasing if they have different types.