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


--- Comment #0 from Iain Buclaw <ibuclaw ubuntu.com> 2010-10-07 12:23:22 PDT ---
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



--- Comment #1 from Walter Bright <bugzilla digitalmars.com> 2013-10-03
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



--- Comment #2 from github-bugzilla puremagic.com 2013-10-08 21:30:26 PDT ---
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
Merge pull request #2625 from WalterBright/fix5012

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



--- Comment #3 from github-bugzilla puremagic.com 2013-10-08 21:58:13 PDT ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0165a630fdfda055b2053c89dd5796e98b88ed85
Merge pull request #2625 from WalterBright/fix5012

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