#1435: "Naughty" register error in Cmm
---------------------------------+------------------------------------------
    Reporter:  Michael D. Adams  |        Owner:         
        Type:  bug               |       Status:  closed 
    Priority:  normal            |    Milestone:         
   Component:  Compiler          |      Version:  6.7    
    Severity:  normal            |   Resolution:  invalid
    Keywords:                    |   Difficulty:  Unknown
          Os:  Linux             |     Testcase:         
Architecture:  x86               |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * resolution:  => invalid
  * status:  new => closed

Comment:

 Not a bug - the `.cmm` code has type errors, which are revealed when you
 add `-dcmm-lint`.  A corrected version is:

 {{{
 foo {
      bits8 x;
      x = 5::bits8;
      bits8[12] = x;
      R1 = %sx32(x);
      jump bar;
  }
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1435>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to