diff options
author | Ben Gamari <ben@smart-cactus.org> | 2015-08-03 15:31:03 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-08-03 17:21:52 +0200 |
commit | 64b6733e217f32feb8c4872096749c6f417d0c39 (patch) | |
tree | 1cab4eb2dbeaa5cf40789a19a65453a1395eeed5 /testsuite | |
parent | 7ec6ffc4e8ccf5c24149d9ab34c3619516dc3081 (diff) | |
download | haskell-64b6733e217f32feb8c4872096749c6f417d0c39.tar.gz |
CmmParse: Don't force alignment in memcpy-ish operations
This was initially made in 681973c31c614185229bdae4f6b7ab4f6e64753d.
Here I wanted to enforce that the alignment passed to %memcpy was a
constant expression, as this is required by LLVM. However, this breaks
the knot-tying done in `loopDecls`, causing T8131 to hang.
Here I remove the `seq` and mark T8131 as `expect_broken` in the case
of the NCG, which doesn't force the alignment in this case.
Fixes #10664.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/codeGen/should_fail/all.T | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/codeGen/should_fail/all.T b/testsuite/tests/codeGen/should_fail/all.T index 39faebb619..7e25b5f693 100644 --- a/testsuite/tests/codeGen/should_fail/all.T +++ b/testsuite/tests/codeGen/should_fail/all.T @@ -1,3 +1,5 @@ # Tests for code generator and CMM parser -test('T8131', cmm_src, compile_fail, ['']) +# Only the LLVM code generator consistently forces the alignment of +# memcpy operations +test('T8131', [cmm_src, only_ways(llvm_ways)], compile_fail, ['']) |