[GHC] #10005: Operations on string literals won't be inlined

GHC ghc-devs at haskell.org
Mon Jan 19 19:24:58 UTC 2015


#10005: Operations on string literals won't be inlined
-------------------------------------+-------------------------------------
              Reporter:  fread2281   |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:
             Component:  Compiler    |           Version:  7.8.4
              Keywords:              |  Operating System:  Unknown/Multiple
          Architecture:              |   Type of failure:  Compile-time
  Unknown/Multiple                   |  performance bug
             Test Case:              |        Blocked By:
              Blocking:              |   Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------
 An example is attached, GHC won't optimize
 {{{
 head "stringliteral"
 }}}

 into

 {{{
 's'
 }}}

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


More information about the ghc-tickets mailing list