Fix CSE (again) on literal strings
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 3 Mar 2017 11:00:04 +0000 (11:00 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Mon, 6 Mar 2017 13:27:50 +0000 (13:27 +0000)
commit9304df5230a7a29d3e992916d133e462b854e55f
tree0bbda2819aee1e0f682672e0e9a0573b12bd302b
parent669333d8afaf388a3ce4a56e383b24ea2bdea145
Fix CSE (again) on literal strings

Fixes Trac #13367.  See Note [Take care with literal strings]
compiler/simplCore/CSE.hs
testsuite/tests/simplCore/should_compile/Makefile
testsuite/tests/simplCore/should_compile/T13367.hs [new file with mode: 0644]
testsuite/tests/simplCore/should_compile/T13367.stdout [new file with mode: 0644]
testsuite/tests/simplCore/should_compile/all.T