GHC issues
https://gitlab.haskell.org/ghc/ghc/-/issues
2019-07-07T18:22:06Z
https://gitlab.haskell.org/ghc/ghc/-/issues/13392
ghc --show-options lists flags twice
2019-07-07T18:22:06Z
ThreeFx
ghc --show-options lists flags twice
Running `ghc --show-options` with GHC version 8.0.1 returns the flags `-O` and `-W` twice.
To check this, execute the following command in your shell:
```
ghc --show-options | sort | uniq -d
```
At commit `669333d8afaf388a3ce4a56e383b...
Running `ghc --show-options` with GHC version 8.0.1 returns the flags `-O` and `-W` twice.
To check this, execute the following command in your shell:
```
ghc --show-options | sort | uniq -d
```
At commit `669333d8afaf388a3ce4a56e383b24ea2bdea145` (GHC 8.1.20170304) only `-O` is duplicated.
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 8.0.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | low |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"ghc --show-options lists flags twice","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"⊥","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.0.1","keywords":["newcomer"],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"Running `ghc --show-options` with GHC version 8.0.1 returns the flags `-O` and `-W` twice.\r\n\r\nTo check this, execute the following command in your shell:\r\n\r\n{{{\r\nghc --show-options | sort | uniq -d\r\n}}}\r\n\r\nAt commit `669333d8afaf388a3ce4a56e383b24ea2bdea145` (GHC 8.1.20170304) only `-O` is duplicated.","type_of_failure":"OtherFailure","blocking":[]} -->
⊥
SantiM
SantiM