[vector] #47: Fusion broken with ghc7-rc2

vector vector at projects.haskell.org
Mon Nov 1 19:59:18 EDT 2010


#47: Fusion broken with ghc7-rc2
---------------------+------------------------------------------------------
Reporter:  choener   |        Owner:     
    Type:  defect    |       Status:  new
Priority:  blocker   |    Milestone:     
 Version:  0.7       |   Resolution:     
Keywords:  ghc7-rc2  |  
---------------------+------------------------------------------------------
Changes (by rl):

  * priority:  critical => blocker

Comment:

 It's your fault and you should better learn how to use ghc ;-) There are
 two things at work here. Firstly, rc2 doesn't inline certain functions
 from base. This is fixed in the head, though, and will hopefully be fixed
 in the final release. Secondly, Core notes sometimes interfere with
 optimisations. In this particular case, these two issues conspire to break
 fusion. With the head, fusion works even in the presence of Core notes.
 With rc2, it works if you remove the notes on `mk` and `join2`. The notes
 are, of course, entirely your fault!

 I'll leave this open in case I've missed something and it breaks for you
 even without the notes. Please let me know!

-- 
Ticket URL: <http://trac.haskell.org/vector/ticket/47#comment:1>
vector <http://trac.haskell.org/vector>
Package vector


More information about the vector mailing list