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

GHC ghc-devs at haskell.org
Tue Aug 28 16:47:53 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:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by alpmestan):

 Here are the instructions:

 {{{#!sh
 # will likely also work with HEAD, as this commit isn't old
 $ git checkout c523525b0e434d848f6e47ea3f9a37485965fa79
 $ curl -O https://phabricator-
 files.haskell.org/file/data/mgom5atdizvefddx4ax2/PHID-FILE-
 tbprgcge7cciumnotpbj/D5106.diff
 $ git apply D5106.diff
 # build ghc
 $ hadrian/build.sh -c -j4 --flavour=quick
 # compile test program, assuming it's in ./bug.hs
 $ _build/stage1/bin/ghc -O -fPIC -dynamic -ddump-simpl bug.hs -o bug.o
 }}}

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


More information about the ghc-tickets mailing list