-msse flag could be handled better by the driver
I bumped into two small issues with -msse and -msse4.2 flags:
- GHC accepts any flag of the form
-msseX.Y, eg.-msse3.14. I think we should validate numbers passed by the user or - even better - pre-define a set of allowed-msseflags. Currently we have this definition:
Flag "msse" (versionSuffix (\maj min d -> d{ sseVersion = Just (maj, min) }))
- A direct consequence of above definition is that bash command-line auto-completion does not suggest
-msse4.2flag.
This is somewhat related to Austin's D165
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.9 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Driver |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |