[GHC] #12207: CgStaticPointers fails with -O

GHC ghc-devs at haskell.org
Sun Jun 19 15:22:59 UTC 2016


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

 * priority:  normal => high


Comment:

 `GcStaticPointers` and `ListStaticPointers` also also failing for
 `opt_ways`, but with a different error:
 {{{
 Stderr:
 GcStaticPointers: user error (Pattern match failure in do expression at
 GcStaticPointers.hs:29:3-8)
 }}}

 `TcStaticPointers01` and `TcStaticPointers02` are failing for `WAY=hpc`
 with core lint errors:

 {{{
 TcStaticPointers01.hs:14:1: warning:
     [RHS of f2 :: StaticPtr (Bool -> Bool -> Bool)]
     Found StaticPtr nested in an expression:  StaticPtr
                                                 @ (Bool -> Bool -> Bool)
                                                 12401500612696308948##
                                                 14493004878027643444##
                                                 f2_s1BX
                                                 f2_s1C3
 }}}

 All four tests pass with ghc-7.10.3 and ghc-8.0.1. Raising priority.

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


More information about the ghc-tickets mailing list