#5327: INLINABLE pragma and newtypes prevents inlining
---------------------------------+------------------------------------------
    Reporter:  reinerp           |        Owner:  igloo                  
        Type:  bug               |       Status:  new                    
    Priority:  normal            |    Milestone:  7.4.1                  
   Component:  Compiler          |      Version:  7.1                    
    Keywords:                    |     Testcase:                         
   Blockedby:                    |   Difficulty:                         
          Os:  Unknown/Multiple  |     Blocking:                         
Architecture:  Unknown/Multiple  |      Failure:  Runtime performance bug
---------------------------------+------------------------------------------
Changes (by simonpj):

  * owner:  => igloo


Comment:

 Thanks for identifying this bug so accurately.  I really appreciate that.
 The fix is nice too.

 Ian: could you add a test?  I think if you change `(Size 0)` to `(Size
 17)` in the program and then grep for `34#` (twice 17) in the `-ddump-
 simpl` output, that'd be a good way to check that the constant-fold had
 happened.

 Could merge, but not a show stopper.

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5327#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to