[GHC] #12207: CgStaticPointers fails with -O

GHC ghc-devs at haskell.org
Sun Jun 19 10:40:52 UTC 2016


#12207: CgStaticPointers fails with -O
-------------------------------------+-------------------------------------
           Reporter:  thomie         |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.1
  (CodeGen)                          |
           Keywords:                 |  Operating System:  Unknown/Multiple
  StaticPointers                     |
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
  codeGen/should_run/CgStaticPointers|
           Blocking:                 |   Related Tickets:  #11656
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{
 $ make TEST=CgStaticPointers slow
 }}}

 {{{
 Wrong exit code (expected 0 , actual 1 )
 Stdout:

 Stderr:
 CgStaticPointers: couldn't find StaticPtrInfo {spInfoUnitId = "main",
 spInfoModuleName = "Main", spInfoSrcLoc = (13,21)}
 CallStack (from HasCallStack):
   error, called at CgStaticPointers.hs:25:14 in main:Main

 *** unexpected failure for CgStaticPointers(optasm)
 }}}

 This seems to be caused by the patch for #11656
 (36d29f7ce332a2b1fbc36de831b0eef7a6405555).

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


More information about the ghc-tickets mailing list