
#11126: Entered absent arg in a Repa program -------------------------------------+------------------------------------- Reporter: tuplanolla | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by thomie): I can not reproduce this bug with HEAD. To reproduce with ghc-7.10.2, `cabal install repa`, and compile the above example with `-O -funfolding-use-threshold=90` (`-funfolding-use- threshold=80` makes the bug go away). Maybe it is fixed. But I can't be certain: change the example ever so slightly, and the bug is not reproducible with ghc-7.10.2 either. Adding this as a test is difficult, because it depends on `repa`, and we don't want to add that to the testsuite. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11126#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler