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)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 27 Jan 2016 15:21:05 +0000 (15:21 +0000)
commit85daac593c498f581d46f44982ee5dcf1001f611
tree5508ddae1df18835787882896148c5d2364140c8
parent5dcae88bd0df440abe78c3d793d21aca6236fc25
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.
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]