Fix cost-centre-stack bug when creating new PAP (#5654)
authorSimon Marlow <marlowsd@gmail.com>
Thu, 21 Jan 2016 09:45:52 +0000 (09:45 +0000)
committerBen Gamari <ben@smart-cactus.org>
Sat, 27 Feb 2016 14:49:39 +0000 (15:49 +0100)
commit5eb31d270b72982afe008dc32adcf1a44984b6a5
tree2f38ff3a9092c04c8c5edb53ef27af991821e4c1
parent70287bceb5a339456179f08bfbe64c4fe2ff718a
Fix cost-centre-stack bug when creating new PAP (#5654)

See comment in `AutoApply.h`.  This partly fixes #5654.  New test
added, and renamed the old test to match the ticket number.

(cherry picked from commit 85daac593c498f581d46f44982ee5dcf1001f611)
rts/AutoApply.h
testsuite/tests/profiling/should_run/T5654.hs [new file with mode: 0644]
testsuite/tests/profiling/should_run/T5654.prof.sample [moved from testsuite/tests/profiling/should_run/scc004.prof.sample with 100% similarity]
testsuite/tests/profiling/should_run/T5654b-O0.prof.sample [new file with mode: 0644]
testsuite/tests/profiling/should_run/T5654b-O1.prof.sample [new file with mode: 0644]
testsuite/tests/profiling/should_run/T5654b.hs [new file with mode: 0644]
testsuite/tests/profiling/should_run/all.T
testsuite/tests/profiling/should_run/scc004.hs [deleted file]