[Issue 6736] ICE (cgcod.c 1672) with alias this and certain structs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 3 09:27:43 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6736


Trass3r <mrmocool at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |accepts-invalid,
                   |                            |diagnostic, wrong-code
           Priority|P3                          |P2
                 CC|                            |mrmocool at gmx.de
           Platform|x86                         |All
         OS/Version|Windows                     |All
           Severity|minor                       |normal


--- Comment #1 from Trass3r <mrmocool at gmx.de> 2011-11-03 09:27:13 PDT ---
Doesn't ICE with 2.056 anymore, but it compiles and produces senseless code:

_Dmain:
        push    RBP
        mov    RBP,RSP
        sub    RSP,8
        lea    RAX,-8[RBP]
        xor    RCX,RCX
        mov    [RAX],RCX
        lea    RDX,-8[RBP]
        add    RDX,-8[RBP]
        mov    -8[RBP],RDX
        xor    EAX,EAX
        leave
        ret

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list