ABORT: Component #0 of inferred return type ntype damaged
|
|
Bugzilla Link |
445 |
Created on |
Jul 04, 2008 17:05 |
Resolution |
FIXED |
Resolved on |
Jul 10, 2008 09:53 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Attachments |
bug445.sac, bugcodegen.sac
|
Extended Description
This test case:
sac2c -ecc /home/sac/sac/testsuite/optimizations/constantfolding/SCSprf_tob.sac
dies with the Summary error message.
If you omit -ecc, it compiles OK.
If you add -d sancheck, it very early in the optimizer:
** 11: Running SAC optimizations ...
**** Removing dead functions ...
**** Applying function inlining ...
**** Removing dead functions ...
**** Removing dead code ...
**** Applying loop invariant removal ...
ERROR: Internal sac2c failure
ERROR: Pre Traversal Sanity Check:
ERROR: Broken SSAASSIGN link for variable _lirmov_807_x__SSA0_1!
ERROR: Compiler phase: lir
ERROR: Applying loop invariant removal
ERROR: Traversal: lirmov