[commit: ghc] master: Fix CSE (again) on literal strings (9304df5)

git at git.haskell.org git at git.haskell.org
Mon Mar 6 15:20:49 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9304df5230a7a29d3e992916d133e462b854e55f/ghc

>---------------------------------------------------------------

commit 9304df5230a7a29d3e992916d133e462b854e55f
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Mar 3 11:00:04 2017 +0000

    Fix CSE (again) on literal strings
    
    Fixes Trac #13367.  See Note [Take care with literal strings]


>---------------------------------------------------------------

9304df5230a7a29d3e992916d133e462b854e55f
 compiler/simplCore/CSE.hs                          | 79 ++++++++++++----------
 testsuite/tests/simplCore/should_compile/Makefile  |  5 ++
 testsuite/tests/simplCore/should_compile/T13367.hs | 10 +++
 .../tests/simplCore/should_compile/T13367.stdout   |  1 +
 testsuite/tests/simplCore/should_compile/all.T     |  1 +
 5 files changed, 61 insertions(+), 35 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 9304df5230a7a29d3e992916d133e462b854e55f


More information about the ghc-commits mailing list