[Issue 11980] New: startaddress pragma broken (DMD 2.061 regression)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 23 13:08:12 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11980

           Summary: startaddress pragma broken (DMD 2.061 regression)
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: thecybershadow at gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-01-23 23:08:07 EET ---
/////////////////////////////////////////
void start()
{
}

pragma(startaddress, start);
/////////////////////////////////////////

Compiler attempts to evaluate start() instead of setting the address. (Asm
block is there to 

Regression introduced in
https://github.com/D-Programming-Language/dmd/pull/599

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


More information about the Digitalmars-d-bugs mailing list