Opened 6 years ago

#8211 new bug

ghc -c recompiles TH every time while --make doesn't

Reported by: nh2 Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.6.3
Keywords: Cc: mail@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Compile-time performance bug Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.