Hello, * I have the below failed tests. I haven't looked into these. Can someone tell me if the tests are broken, or is my allocator broken. I know they don't fail for the current cvs code (as of yesterday).
Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/library/dumper.t 13 3328 13 13 100.00% 1-13 t/op/gc.t 1 256 18 1 5.56% 13 t/pmc/sub.t 1 256 78 1 1.28% 78
These errors look remarkable the same, when I turn on OPT_SUB that is, when allocate_wanted_regs() is used. And this code did miss registers sets like 'K' (compound keys).
Changing imcc/reg_alloc.c:890 to:
if (r->color >= 0 || r->want_regno == -1 || strchr("ISPN", r->set == 0))
did fix this flaw.
leo