[GHC] #11487: stg_ap_pp_fast doesn't pass the argument in the arity=1 case

GHC ghc-devs at haskell.org
Wed Jan 27 10:30:51 UTC 2016


#11487: stg_ap_pp_fast doesn't pass the argument in the arity=1 case
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                Owner:  gmainland
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Runtime System    |              Version:  8.0.1-rc1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1858
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"d50609e8f7a9c3a19d9d75c6133e742c9b584732/ghc" d50609e/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d50609e8f7a9c3a19d9d75c6133e742c9b584732"
 Test for undef bugs in the LLVM backend when validating

 In an attempt to catch bugs involving using undef values, replace
 undef literals by values likely to cause crashes or test failures.
 We do this only when validating since it is a deoptimization.

 This depends on D1857 to catch such bugs in the RTS (such as #11487).

 Test Plan:
 Did a build with
 ```
 BuildFlavour = quick-llvm
 SRC_HC_OPTS_STAGE1 = -fllvm-fill-undef-with-garbage
 ```
 The build crashed when running ghc-stage2, as expected.

 Reviewers: austin, bgamari

 Reviewed By: bgamari

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D1858
 }}}

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


More information about the ghc-tickets mailing list