[Git][ghc/ghc][master] 2 commits: Add since annotation for -fkeep-auto-rules.

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Wed Aug 7 15:50:34 UTC 2024



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
62650d9f by Andreas Klebinger at 2024-08-07T11:49:54-04:00
Add since annotation for -fkeep-auto-rules.

This partially addresses #25082.

- - - - -
5f0e23fd by Andreas Klebinger at 2024-08-07T11:49:54-04:00
Mention `-fkeep-auto-rules` in release notes.

It was added earlier but hadn't appeared in any release notes yet.
Partially addresses #25082.

- - - - -


2 changed files:

- docs/users_guide/9.12.1-notes.rst
- docs/users_guide/using-optimisation.rst


Changes:

=====================================
docs/users_guide/9.12.1-notes.rst
=====================================
@@ -109,6 +109,10 @@ Compiler
   This enables people to write their own custom assertion functions.
   See :ref:`assertions`.
 
+- The flag :ghc-flag:`-fkeep-auto-rules` that forces GHC to keep auto generated
+  specialization rules was added. It was actually added ghc-9.10.1 already but
+  mistakenly not mentioned in the 9.10.1 changelog.
+
 - Fixed a bug that caused GHC to panic when using the aarch64 ncg and -fregs-graph
   on certain programs. (#24941)
 


=====================================
docs/users_guide/using-optimisation.rst
=====================================
@@ -664,10 +664,11 @@ as such you shouldn't need to set any of them explicitly. A flag
     :category:
 
     :default: off
+    :since: 9.10.1
 
     The type-class specialiser and call-pattern specialisation both
     generate so-called "auto" RULES.  These rules are usually exposed
-    to importing modules in the interface file. But an auto rule is the
+    to importing modules in the interface file. But when an auto rule is the
     sole reason for keeping a function alive, both the rule and the function
     are discarded, by default. That reduces code bloat, but risks the same
     function being specialised again in an importing module.



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/bfe600f5bb3ecd2c8fa71c536c63d3c46984e3f8...5f0e23fd9084b6aa861ec639c7cea8336f37fd72

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/bfe600f5bb3ecd2c8fa71c536c63d3c46984e3f8...5f0e23fd9084b6aa861ec639c7cea8336f37fd72
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/20240807/07e0b069/attachment-0001.html>


More information about the ghc-commits mailing list