www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5012] New: Internal error: handling a nested function in inline asm.

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5012

           Summary: Internal error: handling a nested function in inline
                    asm.
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: ibuclaw ubuntu.com



eg:

int foo()
{
    int bar() {}
    asm {
        mov EAX, bar;
    }
}

Throws an 'Internal error: backend/cod3.c 4519'

Whereas if bar() were global, it would compile just fine.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 07 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5012




22:06:14 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2625

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 03 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5012




Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/b925774d8c8265e7186c57e0c6f00a298d4554bd
fix
Issue 5012 - ICE(cod3.c): handling a nested function in inline asm.

https://github.com/D-Programming-Language/dmd/commit/0d24563183fccc87de3b334d150a40e5a200c85f


fix Issue 5012 - ICE(cod3.c): handling a nested function in inline asm.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 08 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5012




Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0165a630fdfda055b2053c89dd5796e98b88ed85


fix Issue 5012 - ICE(cod3.c): handling a nested function in inline asm.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 08 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5012


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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