#3555: Vectorisation error with negative Double const
-----------------------------+----------------------------------------------
Reporter:  ams               |          Owner:                       
    Type:  bug               |         Status:  new                  
Priority:  normal            |      Component:  Data Parallel Haskell
 Version:  6.10.4            |       Severity:  normal               
Keywords:                    |       Testcase:                       
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple     
-----------------------------+----------------------------------------------
 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

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3555>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to