[GHC] #12963: Give -fexpose-all-unfoldings the same semantics as INLINABLE on each function

GHC ghc-devs at haskell.org
Mon Dec 12 13:23:19 UTC 2016


#12963: Give -fexpose-all-unfoldings the same semantics as INLINABLE on each
function
-------------------------------------+-------------------------------------
           Reporter:                 |             Owner:
  MikolajKonarski                    |
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:  #12962
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Feature request: give `-fexpose-all-unfoldings` the same semantics as
 `INLINABLE` on each function.

 For simplicity, for the principle of least surprise and for usability of
 `-fexpose-all-unfoldings`, so that it can actually replace tons of
 `INLINABLE` that are needed, e.g., for code with lots of abstract class
 constraints to force it to specialize to the single class that is actually
 used.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12963>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list