[GHC] #15570: Core transformations generate bad indexCharOffAddr# call

GHC ghc-devs at haskell.org
Mon Sep 3 23:23:48 UTC 2018


#15570: Core transformations generate bad indexCharOffAddr# call
-------------------------------------+-------------------------------------
        Reporter:  alpmestan         |                Owner:  alpmestan
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.5
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #15286            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by alpmestan):

 * cc: snowleopard (added)
 * related:   => #15286


Comment:

 We explicitly ask for `Num.hs` to be built with `-O0`,
 [https://github.com/snowleopard/hadrian/blob/a820566c16e1945b02632e68bd54cc351f562ebc/src/Settings/Packages.hs#L35
 here]. This is due to #15286. We quite likely want to solve the root of
 the issue there instead of just building some modules here and there
 without optimisations. Even more so now that we're seeing that building
 some important modules with `-O0` can make all sorts of things go wrong.

 Thanks a lot for the investigation! I'm glad you got hadrian to work
 properly. #15286 is now standing in the way of really addressing the
 present ticket.

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


More information about the ghc-tickets mailing list