
#10491: Regression, simplifier explosion with Accelerate, cannot compile, increasing tick factor is not a workaround -------------------------------------+------------------------------------- Reporter: robertce | Owner: Type: bug | Status: new Priority: highest | Milestone: 7.10.2 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by bgamari): Having recently seen how the `-O` option is implemented, it's actually not terribly surprising that it's order dependent. Essentially `-O2` is equivalent to a passing a bunch of individual `-f` options explicitly. `-f` options are themselves just flipping flags in the parser state and are therefore order dependent. I'll admit that this behavior is a bit surprising, but then again I'm not entirely sure how to improve the situation without sacrificing expressive power. I wonder how other compilers manage this. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10491#comment:30 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler