Thread overview
[Issue 14754] [REG2.068b1] 64bit wrong code with -inline
Jul 01, 2015
Kenji Hara
Jul 01, 2015
Kenji Hara
Jul 01, 2015
Kenji Hara
July 01, 2015
https://issues.dlang.org/show_bug.cgi?id=14754

--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> ---
Introduced in: https://github.com/D-Programming-Language/dmd/pull/4505

--
July 01, 2015
https://issues.dlang.org/show_bug.cgi?id=14754

--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> ---
Reduced test case:

auto aafunc(string k)
{
    enum aa = [ "K": "V" ];
    auto p = k in aa;
    return null;
}

struct MapResult(alias fun, R)
{
    R _input;

    @property auto ref front()
    {
        return fun(_input[0]);
    }
}

auto array(R)(R r)
{
    alias E = typeof(r.front);
    E[] result;
    result ~= r.front;
    return result;
}

auto mapfun(R)(R words, string k)
{
    return array(MapResult!(s => aafunc(k), R)(words));
}

void main()
{
    auto r = mapfun([""], "");
}

--
July 01, 2015
https://issues.dlang.org/show_bug.cgi?id=14754

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

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

--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> ---
https://github.com/D-Programming-Language/dmd/pull/4795

--
July 02, 2015
https://issues.dlang.org/show_bug.cgi?id=14754

--- Comment #4 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/46acdb60537358bd742543d55e97e22eeacc33a5 fix Issue 14754 - 64bit wrong code with -inline

https://github.com/D-Programming-Language/dmd/commit/92c37006e20eb900febff03fb287a58648c5b36c Merge pull request #4795 from 9rnsr/fix14754

[REG2.068b1] Issue 14754 - 64bit wrong code with -inline

--
July 02, 2015
https://issues.dlang.org/show_bug.cgi?id=14754

github-bugzilla@puremagic.com changed:

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

--
July 07, 2015
https://issues.dlang.org/show_bug.cgi?id=14754

--- Comment #5 from github-bugzilla@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/22e27f5d84dc39d005106303986d91525e2834bf Merge pull request #4795 from 9rnsr/fix14754

[REG2.068b1] Issue 14754 - 64bit wrong code with -inline

--
July 24, 2015
https://issues.dlang.org/show_bug.cgi?id=14754

--- Comment #6 from github-bugzilla@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/22e27f5d84dc39d005106303986d91525e2834bf Merge pull request #4795 from 9rnsr/fix14754

--
October 04, 2015
https://issues.dlang.org/show_bug.cgi?id=14754

--- Comment #7 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/46acdb60537358bd742543d55e97e22eeacc33a5 fix Issue 14754 - 64bit wrong code with -inline

https://github.com/D-Programming-Language/dmd/commit/92c37006e20eb900febff03fb287a58648c5b36c Merge pull request #4795 from 9rnsr/fix14754

--
July 22, 2017
https://issues.dlang.org/show_bug.cgi?id=14754

--- Comment #8 from github-bugzilla@puremagic.com ---
Commits pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/46acdb60537358bd742543d55e97e22eeacc33a5 fix Issue 14754 - 64bit wrong code with -inline

https://github.com/dlang/dmd/commit/92c37006e20eb900febff03fb287a58648c5b36c Merge pull request #4795 from 9rnsr/fix14754

--