#4132: Generate .o, .dyn_o, .p_o etc. simultaneously
------------------------------+---------------------------------------------
  Reporter:  ksf              |          Owner:                  
      Type:  feature request  |         Status:  closed          
  Priority:  normal           |      Milestone:                  
 Component:  Compiler         |        Version:  6.12.3          
Resolution:  wontfix          |       Keywords:                  
Difficulty:                   |             Os:  Unknown/Multiple
  Testcase:                   |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown     |  
------------------------------+---------------------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 Not as much work can be shared as you might expect. For example, when
 compiling for profiling, there are profiling annotations sprinkled
 throughout the code before the optimiser is run. Also, the .hi files for
 modules imported for different ways may have different unfoldings which
 get inlined. I don't think that enough could be shared that it would be
 worth the extra complexity.

 There was discussion elsewhere about generating the same code for the
 "normal" and "dynamic" ways, to help with making ghci use dynamic
 libraries, but that's a relatively simple special case.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4132#comment:1>
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