[commit: testsuite] master: Need to use high-level cmm here (fixes test on x86) (f9c214a)

Simon Marlow <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/f9c214a34abc6c16fb34cd35b3c1b23f85b2a2c9

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

commit f9c214a34abc6c16fb34cd35b3c1b23f85b2a2c9
Author: Simon Marlow <[email protected]>
Date:   Mon Oct 8 10:46:54 2012 +0100

    Need to use high-level cmm here (fixes test on x86)

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

 tests/codeGen/should_run/5149_cmm.cmm |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/tests/codeGen/should_run/5149_cmm.cmm b/tests/codeGen/should_run/5149_cmm.cmm
index cd748ea..567699c 100644
--- a/tests/codeGen/should_run/5149_cmm.cmm
+++ b/tests/codeGen/should_run/5149_cmm.cmm
@@ -6,16 +6,8 @@ g5149
 }
 
 /* This code is carefully arranged to tickle the bug reported in #5149 */
-f5149
+f5149 (W_ x, W_ y, D_ z)
 {
-    D_ z;
-
-    z = D1;
-
-    W_ x,y;
-    x = R1;
-    y = R2;
-
     if (x > y) {
        goto a; /* this jump is shortcutted to g5149 */
     }  else {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.