[GHC] #8211: ghc -c recompiles TH every time while --make doesn't

GHC ghc-devs at haskell.org
Mon Sep 2 03:32:14 CEST 2013


#8211: ghc -c recompiles TH every time while --make doesn't
-------------------------+-------------------------------------------------
       Reporter:  nh2    |             Owner:
           Type:  bug    |            Status:  new
       Priority:         |         Milestone:
  normal                 |           Version:  7.6.3
      Component:         |  Operating System:  Unknown/Multiple
  Compiler               |   Type of failure:  Compile-time performance bug
       Keywords:         |         Test Case:
   Architecture:         |          Blocking:
  Unknown/Multiple       |
     Difficulty:         |
  Unknown                |
     Blocked By:         |
Related Tickets:         |
-------------------------+-------------------------------------------------
 https://github.com/nh2/ghc-bug-recompiles-th-on-c

 {{{
 ghc -c Test.hs  # compiles
 ghc -c Test.hs  # compiles (and loads TH) again
 }}}

 I would expect ghc to print

 {{{
 compilation IS NOT requried
 }}}

 since ghc --make does not recompile either, and the created .hi and .o
 files are identical.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8211>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler




More information about the ghc-tickets mailing list