patch applied (ghc): Cast switch scrutinees to W_ in AutoApply.cmm

Wolfgang Thaller <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.all
Message-ID <20061126151856.GA22864__48605.5344030776$1164554345$gmane$org@cvs.haskell.org>
Sun Oct 22 09:05:07 PDT 2006  [email protected]
  * Cast switch scrutinees to W_ in AutoApply.cmm
  
  ... and make CmmLint check for this problem.
  This doesn't matter for -fvia-C, but passing a halfword to a switch
  will make the NCG generate crashing code.

    M ./compiler/cmm/CmmLint.hs -1 +5
    M ./utils/genapply/GenApply.hs -2 +2
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.