www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12037] New: Link-failure with std.numeric.CustomFloat

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

           Summary: Link-failure with std.numeric.CustomFloat
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: link-failure
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: k.hara.pg gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg gmail.com> 2014-01-29 21:49:51 PST ---
This is a compiler regression in git-head and from 2.065-b3 (not yet released).

Test case:

import std.numeric;
alias CustomFloat!16 Float16;
void main()
{
    Float16 f = 0;
}

Caused by:
https://github.com/D-Programming-Language/dmd/pull/3103

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 29 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12037


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

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


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2014-01-29 21:59:05 PST ---
https://github.com/D-Programming-Language/dmd/pull/3177

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 29 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12037



--- Comment #2 from github-bugzilla puremagic.com 2014-01-29 22:51:16 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/43be2eda49618259a543936d9e69c7b0f18f6591
fix Issue 12037 - Link-failure with std.numeric.CustomFloat

https://github.com/D-Programming-Language/dmd/commit/f19ea41b3d04953a20c7106945473913f88424d6
Merge pull request #3177 from 9rnsr/fix12037

[REG2.065a] Issue 12037 - Link-failure with std.numeric.CustomFloat

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 29 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12037


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: -------
Jan 29 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12037



--- Comment #3 from github-bugzilla puremagic.com 2014-02-01 04:50:51 PST ---
Commit pushed to 2.065 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/076f3b5a23acdcfaaffdda9f65087bf6f67404eb
Merge pull request #3177 from 9rnsr/fix12037

[REG2.065a] Issue 12037 - Link-failure with std.numeric.CustomFloat

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