Thread overview
[Issue 14104] aa with pointer key type doesn't find existing value
Feb 01, 2015
Martin Nowak
Feb 01, 2015
Rainer Schuetze
Feb 19, 2015
Martin Nowak
February 01, 2015
https://issues.dlang.org/show_bug.cgi?id=14104

Martin Nowak <code@dawg.eu> changed:

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

--- Comment #1 from Martin Nowak <code@dawg.eu> ---
https://github.com/D-Programming-Language/druntime/pull/1150

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

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario@gmx.de

--- Comment #2 from Rainer Schuetze <r.sagitario@gmx.de> ---
Here's small test case for 64-bit:

void main()
{
    int[const(ubyte)*] aa;
    const(ubyte)* p = cast(const(ubyte)*) 0x1_0000_0000;
    aa[p] = 1;
    assert(aa[p] == 1);
    assert(p in aa);
}

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

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

https://github.com/D-Programming-Language/druntime/commit/cc8046dd390a974e57a8062e2fb98402726208e7 fix Issue 14104 - aa with pointer key type doesn't find existing value

- the internal TypeInfo_P.getHash for pointers trucated the hash to
  32-bit unlike the TypeInfo_Pointer.getHash
- internal TypeInfos are used when no full type information is needed
  so they must behave identical

https://github.com/D-Programming-Language/druntime/commit/86f8b7cd760ac1b21059f9953d58569808eeec09 Merge pull request #1150 from MartinNowak/fix14104

fix Issue 14104 - aa with pointer key type doesn't find existing value

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

github-bugzilla@puremagic.com changed:

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

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

--- Comment #4 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/13d0da1e7ec9a02bf7757e6d1cf6470f59cf6ff5 Merge pull request #4389 from rainers/issue14104

fix issue 14104 - nuke getInternalTypeInfo

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

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

https://github.com/D-Programming-Language/dmd/commit/13d0da1e7ec9a02bf7757e6d1cf6470f59cf6ff5 Merge pull request #4389 from rainers/issue14104

--
February 19, 2015
https://issues.dlang.org/show_bug.cgi?id=14104

--- Comment #6 from github-bugzilla@puremagic.com ---
Commits pushed to 2.067 at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/cc8046dd390a974e57a8062e2fb98402726208e7 fix Issue 14104 - aa with pointer key type doesn't find existing value

https://github.com/D-Programming-Language/druntime/commit/86f8b7cd760ac1b21059f9953d58569808eeec09 Merge pull request #1150 from MartinNowak/fix14104

--
February 19, 2015
https://issues.dlang.org/show_bug.cgi?id=14104

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.cour2@gmail.com

--- Comment #7 from Martin Nowak <code@dawg.eu> ---
*** Issue 14182 has been marked as a duplicate of this issue. ***

--
June 09, 2015
https://issues.dlang.org/show_bug.cgi?id=14104

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |D2

--