libphobos: Apply core.internal.hash updates from druntime

Programming / Compilers / GCC - ibuclaw [138bc75d-0d04-0410-961f-82ee72b054a4] - 10 February 2019 21:01 EST

Backported from upstream druntime 2.084

Reviewed-on: https://github.com/dlang/druntime/pull/2469

libphobos/ChangeLog:

- libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove rt/util/hash.d
- libdruntime/Makefile.in: Rebuild.
- testsuite/libphobos.aa/aa.exp: New file.
- testsuite/libphobos.aa/test_aa.d: New test.
- testsuite/libphobos.hash/hash.exp: New file.
- testsuite/libphobos.hash/test_hash.d: New test.

c81536e784a libphobos: Apply core.internal.hash updates from druntime
libphobos/ChangeLog | 9 +
libphobos/libdruntime/MERGE | 2 +-
libphobos/libdruntime/Makefile.am | 4 +-
libphobos/libdruntime/Makefile.in | 8 +-
libphobos/libdruntime/core/internal/convert.d | 193 +++--
libphobos/libdruntime/core/internal/hash.d | 974 ++++++++++++++--------
libphobos/libdruntime/core/internal/traits.d | 24 +
libphobos/libdruntime/object.d | 693 ++++++---------
libphobos/libdruntime/rt/aaA.d | 308 ++-----
libphobos/libdruntime/rt/typeinfo/ti_Acdouble.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_Acfloat.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_Acreal.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_Adouble.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_Afloat.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_Ag.d | 53 +-
libphobos/libdruntime/rt/typeinfo/ti_Aint.d | 8 +-
libphobos/libdruntime/rt/typeinfo/ti_Along.d | 8 +-
libphobos/libdruntime/rt/typeinfo/ti_Areal.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_Ashort.d | 8 +-
libphobos/libdruntime/rt/typeinfo/ti_C.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_byte.d | 4 +-
libphobos/libdruntime/rt/typeinfo/ti_cdouble.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_cent.d | 7 +-
libphobos/libdruntime/rt/typeinfo/ti_cfloat.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_char.d | 4 +-
libphobos/libdruntime/rt/typeinfo/ti_creal.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_dchar.d | 4 +-
libphobos/libdruntime/rt/typeinfo/ti_delegate.d | 5 +-
libphobos/libdruntime/rt/typeinfo/ti_double.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_float.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_int.d | 4 +-
libphobos/libdruntime/rt/typeinfo/ti_long.d | 10 +-
libphobos/libdruntime/rt/typeinfo/ti_n.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_ptr.d | 5 +-
libphobos/libdruntime/rt/typeinfo/ti_real.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_short.d | 4 +-
libphobos/libdruntime/rt/typeinfo/ti_ubyte.d | 4 +-
libphobos/libdruntime/rt/typeinfo/ti_ucent.d | 6 +-
libphobos/libdruntime/rt/typeinfo/ti_uint.d | 4 +-
libphobos/libdruntime/rt/typeinfo/ti_ulong.d | 8 +-
libphobos/libdruntime/rt/typeinfo/ti_ushort.d | 4 +-
libphobos/libdruntime/rt/typeinfo/ti_void.d | 2 +-
libphobos/libdruntime/rt/typeinfo/ti_wchar.d | 4 +-
libphobos/libdruntime/rt/util/container/hashtab.d | 5 +-
libphobos/libdruntime/rt/util/hash.d | 107 ---
libphobos/libdruntime/rt/util/typeinfo.d | 33 +-
libphobos/testsuite/libphobos.aa/aa.exp | 29 +
libphobos/testsuite/libphobos.aa/test_aa.d | 856 +++++++++++++++++++
libphobos/testsuite/libphobos.hash/hash.exp | 29 +
libphobos/testsuite/libphobos.hash/test_hash.d | 540 ++++++++++++
50 files changed, 2630 insertions(+), 1368 deletions(-)

Upstream: gcc.gnu.org


  • Share