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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugd...@yahoo.com.au
            Summary|asm in a anonymous delegate |Segfault(iasm.c) asm in a
                   |crash the compiler          |anonymous delegate
           Severity|blocker                     |major




--- Comment #1 from Don <clugd...@yahoo.com.au>  2009-07-20 00:26:41 PDT ---
Reduced test case:

void delegate () foo = (){ asm{ int 3; }};

This is segfaulting in iasm.c (line 4269 in DMD2).
if( sc->func->type->nextOf()->isScalar()) // segfaults here: nextOf() is null.

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

Reply via email to