
#14128: Possible bug in Renamer when dealing with orphans -------------------------------------+------------------------------------- Reporter: Shayan-Najd | Owner: bgamari Type: bug | Status: new Priority: normal | Milestone: 8.2.2 Component: Compiler (Type | Version: 8.2.1 checker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Replying to [comment:8 Shayan-Najd]:
Thank you for looking into this. I am still puzzled on why it builds with `make` (with `devel2`) but fails with `validate`. Is it because `ASSERT`s are all ignored using `make`?
The `devel2` build flavour builds only the stage 2 compile with assertions enable (specifically by defining the `DEBUG` macro). `validate`, on the other hand, enables assertions when building stage 1. Here, however, we are seeing the assertions fail in a run of the stage1 compiler. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14128#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler