Skip to content

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 669333d8afaf388a3ce4a56e383b24ea2bdea145 (GHC 8.1.20170304) only -O is duplicated.

Trac metadata
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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information