[Issue 17523] Sporadic ICEs with inline asm

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 20 19:02:11 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17523

--- Comment #10 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Vladimir Panteleev from comment #8)
> At the time I couldn't due to issue 17522.

17522 has been fixed.

> Here are the line numbers with HEAD:
> 
> FLunde  Internal error: ddmd\backend\cod3.c 5500
> FLunde  Internal error: ddmd\backend\cod3.c 6730
> Internal error: ddmd\backend\cod3.c 6842

These suggest a bad opcode in code.Iop.

At the end of asmSemantic(), I suggest inserting:

    printf("asmcode: %02x\n", s.asmcode.Iop);

and at the beginning of pinholeopt() before L1:

    c->print();

--


More information about the Digitalmars-d-bugs mailing list