Re: [PATCH, d] Committed merge with upstream dmd e9420cfbf

2020-03-19 Thread Iain Buclaw via Gcc-patches
On 15/03/2020 14:32, Rainer Orth wrote: > Hi Ian, > >> This patch merges the D front-end implementation with dmd upstream e9420cfbf. > [...] >> Bootstrapped and tested on x86_64-linux-gnu, and committed to trunk. > > this merge introduced a regression on Solaris (SPARC and x86): > > +UNRESOLVED:

[PATCH d]: Committed merge with upstream dmd

2020-03-16 Thread Iain Buclaw via Gcc-patches
Hi, This patch merges the D front-end implementation with upstream dmd b061bd744. Fixes an ICE in the parser, and deprecates a previously allowed style of syntax that deviated from GNU-style extended asm. Bootstrapped and tested on x86_64-linux-gnu, and committed to trunk. Regards Iain. --- g

Re: [PATCH, d] Committed merge with upstream dmd e9420cfbf

2020-03-15 Thread Rainer Orth
Hi Ian, > This patch merges the D front-end implementation with dmd upstream e9420cfbf. [...] > Bootstrapped and tested on x86_64-linux-gnu, and committed to trunk. this merge introduced a regression on Solaris (SPARC and x86): +UNRESOLVED: gdc.test/runnable/traits.d compilation failed to prod

[PATCH, d] Committed merge with upstream dmd 375ed10aa

2019-08-21 Thread Iain Buclaw
Hi, This patch merges the dmd frontend implementation with upstream dmd 375ed10aa. This allows the frontend to be able to compile on targets where the pointer size is 16-bits. Bootstrapped and regression tested the D testsuite on x86_64-linux-gnu, with further checking done on msp430-elf cross-c

[PATCH, d] Committed merge with upstream dmd 6e44734cc

2019-06-16 Thread Iain Buclaw
Hi, This patch merges the dmd frontend implementation with upstream dmd 6e44734cc, and the libdruntime sub-directory with upstream druntime cb1583b4. The patch has been split up into separate commits, so that all PRs fixed are individually referenced with the part of the patch that addresses that

[PATCH, d] Committed merge with upstream dmd

2019-04-11 Thread Iain Buclaw
Hi, This patch merges the D front-end implementation with dmd upstream c185f9df1. Adds new virtual isVersionCondition, this is so that in the code generation pass, a ConditionDeclaration's condition can be identified without requiring a Visitor function. Bootstrapped and regression tested on x86

[PATCH, d] Committed merge with upstream dmd

2019-04-11 Thread Iain Buclaw
Hi, This patch merges the D front-end implementation with dmd upstream d7ed327ed. Backports fix for an ICE that occurred when accessing empty array in CTFE. Bootstrapped and regression tested on x86_64-linux-gnu. Committed to trunk as r270294. -- Iain --- diff --git a/gcc/d/dmd/MERGE b/gcc/d/

[PATCH, d] Committed merge with upstream dmd

2019-03-30 Thread Iain Buclaw
Hi, The patch merges the D front-end implementation with dmd upstream 5dd3eccc3. Aligns the test flags between gcc and upstream, after adding support to gdc-test.exp to handle extra source and file settings being passed multiple times. Regression tested on x86_64-linux-gnu. Committed to trunk a

[PATCH, d] Committed merge with upstream dmd

2019-03-26 Thread Iain Buclaw
Hi, This patch merges the D front-end implementation with dmd upstream ab702e73e. Backports memory leak fix in the mangler, and introduces recognition and rejection of more C types and directives. Bootstrapped and regression tested on x86_64-linux-gnu. Committed to trunk as r269945. -- Iain -

[PATCH, d] Committed merge with upstream dmd

2019-03-12 Thread Iain Buclaw
Hi, This patch merges the D front-end implementation with dmd upstream 7423993c9. Backports a fix for extern(C++) mangling for substituted basic types that are target-specific. Introduces a new method that currently does nothing, but could in future make use of flag_abi_version as extern(C++) in

[PATCH, d] Committed merge with upstream dmd

2019-03-01 Thread Iain Buclaw
Hi, This patch merges the D front-end implementation with dmd upstream ed71446aa. Backports support for extern(C++, "namespace"), which makes the core.stdcpp package compilable. Added predefined condition for CppRuntime_Gcc unconditionally, as it is unlikely that D code will be linking to anythi

Re: [PATCH, d] Committed merge with upstream dmd

2019-01-22 Thread Iain Buclaw
On Tue, 22 Jan 2019 at 11:08, Andreas Schwab wrote: > > In file included from ../../gcc/d/d-system.h:23, > from ../../gcc/d/dmd/root/dsystem.h:24, > from ../../gcc/d/dmd/mtype.c:11: > ../../gcc/d/dmd/mtype.c: In member function 'Identifier* > Type::getTypeInfoIde

Re: [PATCH, d] Committed merge with upstream dmd

2019-01-22 Thread Andreas Schwab
In file included from ../../gcc/d/d-system.h:23, from ../../gcc/d/dmd/root/dsystem.h:24, from ../../gcc/d/dmd/mtype.c:11: ../../gcc/d/dmd/mtype.c: In member function 'Identifier* Type::getTypeInfoIdent()': ../../gcc/d/dmd/mtype.c:2329:33: error: comparison of inte

[PATCH, d] Committed merge with upstream dmd

2019-01-21 Thread Iain Buclaw
Hi, This patch merges the D front-end implementation with dmd upstream 180465274. Main bulk of it reduces the memory footprint of the CTFE interpreter by replacing new with emplacement new in many places. Bootstrapped and regression tested on x86_64-linux-gnu. Committed to trunk as r268124. --

[PATCH, d] Committed merge with upstream dmd

2019-01-14 Thread Iain Buclaw
Hi, This patch merges the D front-end implementation with dmd upstream cd2034cd7. One fix in the asm statement parser to stop parsing if the end of the statement has been reached, and moves all inline asm tests to gdc.dg. These being adjusted where necessary to test the GCC style instead. Bootst

[PATCH, d] Committed merge with upstream dmd

2018-12-17 Thread Iain Buclaw
Hi, This patch merges the D front-end implementation with dmd upstream 237ca3fbe. Backports a fix where a bad cast to TypeFunction resulted in memory corruption. The logic in the function semantic has been fixed, and casts have been replaced with a function call to always check the front-end AST

[PATCH, d] Committed merge with upstream dmd

2018-12-02 Thread Iain Buclaw
Hi, This patch merges the D front-end implementation with dmd upstream 5220ad51e. Backports Ddoc fix that is present in upstream, but did not make its way into the C++ port of the D front-end implementation. The old special types for C long, unsigned long, and long double have also been removed

[PATCH, d] Committed merge with upstream dmd

2018-11-04 Thread Iain Buclaw
Hi, I've merged into the D front-end patches sent to upstream dmd, most address problems found when building the compiler on OSX and Solaris. This introduces a new header that pulls in system includes for use only in the DMD front-end part of the compiler, fixing up uses of problematic functions