GHC should recompile if flags change
Example:
ezyang@sabre:~$ rm B.hi
ezyang@sabre:~$ Dev/ghc-7.10.2/usr/bin/ghc -c B.hs
ezyang@sabre:~$ Dev/ghc-7.10.2/usr/bin/ghc -c B.hs -O
compilation IS NOT required
Pretty minor, but would be nice to have fixed.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.10.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | low |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |