Re: [GHC] #3772: Methods not inlined

2010-01-14 Thread GHC
#3772: Methods not inlined
-+--
  Reporter:  rl  |  Owner:  
  Type:  bug | Status:  closed  
  Priority:  normal  |  Milestone:  6.12 branch 
 Component:  Compiler|Version:  6.12.1  
Resolution:  fixed   |   Keywords:  
Difficulty:  | Os:  Unknown/Multiple
  Testcase:  simplCore/should_compile/T3772  |   Architecture:  Unknown/Multiple
   Failure:  Runtime performance bug |  
-+--
Changes (by simonpj):

  * status:  new => closed
  * testcase:  => simplCore/should_compile/T3772
  * resolution:  => fixed


Comment:

 Actually I fixed this one but forgot to update Trac:
 {{{
 Tue Jan  5 10:16:00 GMT 2010  simo...@microsoft.com
   * Undo the fix for Trac #3772 and do it a new way

   The main idea is that I'm now treating a single-method dictionary very
   much like a multi-method dictionary.  In particular, it respond to
   exprIsConApp_maybe, even though newtypes aren't *really* proper
   constructors.

   See long comments with Note [Single-method classes] for why
   this slight hack is justified.

 M ./compiler/basicTypes/MkId.lhs -8 +4
 M ./compiler/typecheck/TcInstDcls.lhs -25 +67

 Mon Dec 21 16:04:31 GMT 2009  simo...@microsoft.com
   * Fix Trac #3772: dict funs for single-field classes

   This patch fixes a bug that meant that INLINE pragamas on
   a method of a single-field class didn't work properly.

   See Note [Single-method classes] in TcInstDcls, and Trac #3772

 M ./compiler/typecheck/TcInstDcls.lhs -34 +61
 }}}
 There's a test in the regression suite.  Do not attempt to merge to 6.12;
 the code base is very different in this respect.

 Simon

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #3772: Methods not inlined

2010-01-13 Thread GHC
#3772: Methods not inlined
-+--
Reporter:  rl|Owner: 
Type:  bug   |   Status:  new
Priority:  normal|Milestone:  6.12 branch
   Component:  Compiler  |  Version:  6.12.1 
Keywords:|   Difficulty: 
  Os:  Unknown/Multiple  | Testcase: 
Architecture:  Unknown/Multiple  |  Failure:  Runtime performance bug
-+--
Changes (by igloo):

  * milestone:  => 6.12 branch


-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #3772: Methods not inlined

2009-12-17 Thread GHC
#3772: Methods not inlined
-+--
Reporter:  rl|   Owner: 
Type:  bug   |  Status:  new
Priority:  normal|   Milestone: 
   Component:  Compiler  | Version:  6.12.1 
  Resolution:|Keywords: 
  Os:  Unknown/Multiple  |Testcase: 
Architecture:  Unknown/Multiple  | Failure:  Runtime performance bug
-+--
Comment (by rl):

 Argh, please ignore `Tst.hs`, uploading files is too hard for me...

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs