Re: [PATCH, libphobos] Add explicit casts in emutls.d to fix build on some systems

2019-05-03 Thread Iain Buclaw
On Thu, 2 May 2019 at 20:52, Johannes Pfau wrote: > > Am 02.05.19 um 20:48 schrieb Johannes Pfau: > > This fixes builds on systems where __builtin_machine_uint != size_t. In D, > > casts from larger to smaller integer size need to be made explicitly. > > Most notably this fixes --disable-tls for

Re: [PATCH, libphobos] Add explicit casts in emutls.d to fix build on some systems

2019-05-02 Thread Johannes Pfau
Am 02.05.19 um 20:48 schrieb Johannes Pfau: This fixes builds on systems where __builtin_machine_uint != size_t. In D, casts from larger to smaller integer size need to be made explicitly. Most notably this fixes --disable-tls for MIPS64 systems. Built on x86_64 with --disable-tls and ran D

[PATCH, libphobos] Add explicit casts in emutls.d to fix build on some systems

2019-05-02 Thread Johannes Pfau
This fixes builds on systems where __builtin_machine_uint != size_t. In D, casts from larger to smaller integer size need to be made explicitly. Most notably this fixes --disable-tls for MIPS64 systems. libphobos/ChangeLog: 2019-05-02 Johannes Pfau * libdruntime/gcc/emutls.d: Add