Vectorisation error with negative Double const
Negative Double constants cause an error in parallel comprehensions. This function
negs xs = [: -1.0 | x <- xs :]
doesn't make it through the compiler; this
negs xs = [: (0.0 - 1.0) | x <- xs :]
does.
The error text is
- ** Vectorisation error ***
Tycon not vectorised: GHC.Num.T:Num
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.10.4 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Data Parallel Haskell |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown/Multiple |
| Architecture | Unknown/Multiple |