-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10468 from geekosaur/ghc-9.12.flags
add new options for ghc 9.12
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
synopsis: Add new options from ghc 9.12 | ||
packages: Cabal | ||
prs: #10468 | ||
significance: | ||
|
||
description: { | ||
|
||
- ghc 9.12 adds several new command line options, divided between | ||
`LANGUAGE`s (already added), warnings, new preprocessor control options, | ||
and compilation control options. Two options needed to be added to the | ||
list of options requiring `Int` parameters. | ||
|
||
The new options, excluding warning and language options, are: | ||
|
||
* `-fexpose-overloaded-unfoldings` | ||
* `-fmax-forced-spec-args=N` | ||
* `-fno-expose-overloaded-unfoldings` | ||
* `-fno-object-determinism` | ||
* `-fobject-determinism` | ||
* `-fwrite-if-compression=N` | ||
* `-optCmmP…` | ||
* `-optJSP…` | ||
* `-pgmCmmP` | ||
* `-pgmJSP` | ||
|
||
As they all affect compilation and store hashes, the only necessary | ||
change was to list the two numeric options so they will be parsed | ||
correctly. To the best of our understanding, `-pgm*` and `-opt*` | ||
options are already handled as a group. | ||
|
||
} |