On Thu, 2 May 2019 at 20:52, Johannes Pfau <johannesp...@gmail.com> 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 MIPS64 systems. > > > > Built on x86_64 with --disable-tls and ran D test suite. Unfortunately I > can't test on MIPS64 myself, but it should fix all the errors previously > reported ;-)
Looks fine to me, though I won't be able to cross test until later. A rudimentary test would be to configure --target=mipsisa64r2-linux --enable-languages=d && make all-gcc. The resultant D compiler can then be used to attempt compiling the module down to assembly. -- Iain