power-pc code generation error
The following code (in Test.hs, attached):
module Test where
data T = C1
| C2
...
| C200
results in an assembler error when compiling natively (for the
PPC):
$ ghc -c Test.hs
/tmp/ghc8899.s:6652:Fixup of 45900 too large for field width of
16 bits
/tmp/ghc8899.s:6650:Fixup of 45908 too large for field width of
16 bits
I don't have a problem when I compile via C:
$ ghc -fvia-C -c Test.hs
$
Environment:
ghc 6.2.1
Mac OS X
PPC
Trac metadata
Trac field |
Value |
Version |
6.2.1 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedWon'tFix |
Component |
Compiler (NCG) |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|