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