Thread overview
[Issue 11980] New: startaddress pragma broken (DMD 2.061 regression)
Jan 23, 2014
Vladimir Panteleev
Jan 23, 2014
Vladimir Panteleev
Jan 24, 2014
Kenji Hara
Jan 24, 2014
Kenji Hara
January 23, 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@puremagic.com
        ReportedBy: thecybershadow@gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow@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: -------
January 23, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11980



--- Comment #1 from Vladimir Panteleev <thecybershadow@gmail.com> 2014-01-23 23:08:33 EET ---
Disregard " (Asm block is there to "

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 24, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11980


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2014-01-24 02:08:29 PST ---
https://github.com/D-Programming-Language/dmd/pull/3142

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 24, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11980



--- Comment #3 from github-bugzilla@puremagic.com 2014-01-24 03:02:23 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/54863226bfd25b0a18b64267378745776cf2336d fix Issue 11980 - startaddress pragma broken

https://github.com/D-Programming-Language/dmd/commit/633977e5eb6c43f0541f15526e4ee746ba88a1ae Merge pull request #3142 from 9rnsr/fix11980

[REG2.061] Issue 11980 - startaddress pragma broken

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 24, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11980


Kenji Hara <k.hara.pg@gmail.com> changed:

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


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 24, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11980



--- Comment #4 from github-bugzilla@puremagic.com 2014-01-24 05:54:09 PST ---
Commit pushed to release at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/c01bc1780c1f98b90b766adaab904294c1c29c91 Merge pull request #3142 from 9rnsr/fix11980

[REG2.061] Issue 11980 - startaddress pragma broken

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