[GHC] #14264: unregisterised GHC fails buid as: ghc-stage1: panic! (the 'impossible' happened): pprCLbl AsmTempLabel
GHC
ghc-devs at haskell.org
Sat Sep 23 17:08:29 UTC 2017
#14264: unregisterised GHC fails buid as: ghc-stage1: panic! (the 'impossible'
happened): pprCLbl AsmTempLabel
-------------------------------------+-------------------------------------
Reporter: slyfox | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by slyfox):
Unfortunately it was not enough for UNREG build.
Still fails but now generated code is invalid:
{{{
/tmp/ghc31859_0/ghc_4.hc:352:5: error:
error: 'c2l_entry' used but never defined [-Werror]
IF_(c2l_entry);
^
|
}}}
Generated code:
{{{
FN_(stg_catch_entry) {
W_ _c2g;
_c2h:
_c2g = R1.w;
R1.w = *((P_)(_c2g+8));
Sp[-1] = *((P_)(_c2g+16));
Sp=Sp-1;
JMP_((W_)&stg_catchzh);
}
const StgWord stg_catch_info[]__attribute__((aligned(8)))= {
(W_)&stg_catch_entry, 0x2UL, 0x8UL
};
IF_(c2l_entry);
FN_(stg_catchzh) {
_c2p:
Sp[-1] = R1.w;
Sp=Sp-2;
JMP_((W_)&c2l_entry);
}
}}}
It should have been '''stg_catch_entry''' instead of '''c2l_entry'''.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14264#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list