
#11292: Generics unboxed types: TEST=GEq1 WAY=optasm is failing -------------------------------------+------------------------------------- Reporter: thomie | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.11 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #11312 | Differential Rev(s): Phab:D1714 Wiki Page: | -------------------------------------+------------------------------------- Comment (by rwbarton): This test just needs a way to generate two different `Addr#`s so that it can test whether a derived Eq instance compares them correctly. Using string literals guarded by NOINLINE is one easy way to do that, and has the advantage (for the way the test is structured) of being pure. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11292#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler