[Git][ghc/ghc][wip/ghc-fat-interface] Revert -fno-code forcing -O0

Matthew Pickering (@mpickering) gitlab at gitlab.haskell.org
Fri Aug 12 08:40:56 UTC 2022



Matthew Pickering pushed to branch wip/ghc-fat-interface at Glasgow Haskell Compiler / GHC


Commits:
943b6f7e by Matthew Pickering at 2022-08-12T09:40:42+01:00
Revert -fno-code forcing -O0

- - - - -


2 changed files:

- compiler/GHC/Driver/Backend.hs
- − testsuite/tests/driver/fat-iface/fat006a.stderr


Changes:

=====================================
compiler/GHC/Driver/Backend.hs
=====================================
@@ -663,7 +663,7 @@ backendForcesOptimization0 (Named NCG) = False
 backendForcesOptimization0 (Named LLVM) = False
 backendForcesOptimization0 (Named ViaC) = False
 backendForcesOptimization0 (Named Interpreter) = True
-backendForcesOptimization0 (Named NoBackend) = True
+backendForcesOptimization0 (Named NoBackend) = False
 
 -- | I don't understand exactly how this works.  But if
 -- this flag is set *and* another condition is met, then


=====================================
testsuite/tests/driver/fat-iface/fat006a.stderr deleted
=====================================
@@ -1,3 +0,0 @@
-
-when making flags consistent: warning:
-    Optimization flags are incompatible with the no code generated; optimization flags ignored.



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/943b6f7e90df8d99bb8430fb56bd6ee84cca972d

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/943b6f7e90df8d99bb8430fb56bd6ee84cca972d
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20220812/d6106176/attachment-0001.html>


More information about the ghc-commits mailing list