Re: Is the D frontend good to go? (was Re: [PATCH 02/14] Add D frontend (GDC) implementation.)

2018-10-28 Thread Iain Buclaw
On Fri, 26 Oct 2018 at 11:02, Richard Biener wrote: > > On Thu, Oct 25, 2018 at 4:13 PM Iain Buclaw wrote: > > > > On Thu, 25 Oct 2018 at 15:06, David Malcolm wrote: > > > > > > On Tue, 2018-10-23 at 19:21 +0200, Iain Buclaw wrote: > > > > On Tue, 23 Oct 2018 at 15:48, Richard Sandiford > > > >

Re: Is the D frontend good to go? (was Re: [PATCH 02/14] Add D frontend (GDC) implementation.)

2018-10-26 Thread Richard Biener
On Thu, Oct 25, 2018 at 4:13 PM Iain Buclaw wrote: > > On Thu, 25 Oct 2018 at 15:06, David Malcolm wrote: > > > > On Tue, 2018-10-23 at 19:21 +0200, Iain Buclaw wrote: > > > On Tue, 23 Oct 2018 at 15:48, Richard Sandiford > > > wrote: > > > > > > > > Iain Buclaw writes: > > > > > I'm just going

Re: Is the D frontend good to go? (was Re: [PATCH 02/14] Add D frontend (GDC) implementation.)

2018-10-25 Thread Iain Buclaw
On Thu, 25 Oct 2018 at 15:06, David Malcolm wrote: > > On Tue, 2018-10-23 at 19:21 +0200, Iain Buclaw wrote: > > On Tue, 23 Oct 2018 at 15:48, Richard Sandiford > > wrote: > > > > > > Iain Buclaw writes: > > > > I'm just going to post the diff since the original here, just to > > > > show > > >

Is the D frontend good to go? (was Re: [PATCH 02/14] Add D frontend (GDC) implementation.)

2018-10-25 Thread David Malcolm
On Tue, 2018-10-23 at 19:21 +0200, Iain Buclaw wrote: > On Tue, 23 Oct 2018 at 15:48, Richard Sandiford > wrote: > > > > Iain Buclaw writes: > > > I'm just going to post the diff since the original here, just to > > > show > > > what's been done since review comments. > > > > > > I think I've c

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-10-23 Thread Iain Buclaw
On Tue, 23 Oct 2018 at 15:48, Richard Sandiford wrote: > > Iain Buclaw writes: > > I'm just going to post the diff since the original here, just to show > > what's been done since review comments. > > > > I think I've covered all that's been addressed, except for the couple > > of notes about the

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-10-23 Thread Richard Sandiford
Iain Buclaw writes: > I'm just going to post the diff since the original here, just to show > what's been done since review comments. > > I think I've covered all that's been addressed, except for the couple > of notes about the quadratic parts (though I think one of them is > actually O(N^2)). I

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-10-21 Thread Iain Buclaw
On Sat, 20 Oct 2018 at 11:03, Richard Sandiford wrote: > > Iain Buclaw writes: > > On 14 October 2018 at 17:29, Richard Sandiford > > wrote: > >> [Sorry if this turns out to do be a dup] > >> > >> Iain Buclaw writes: > >>> +/* Build nodes that are used by the D front-end. > >>> + These are di

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-10-20 Thread Iain Buclaw
On Tue, 16 Oct 2018 at 11:48, Richard Sandiford wrote: > > Iain Buclaw writes: > > +/* The LHS expression could be an assignment, to which it's operation > > gets > > + lost during gimplification. */ > > +if (TREE_CODE (lhs) == MODIFY_EXPR) > > + { > > + lexpr = compound_

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-10-20 Thread Iain Buclaw
On Sat, 20 Oct 2018 at 11:03, Richard Sandiford wrote: > > Iain Buclaw writes: > > On 14 October 2018 at 17:29, Richard Sandiford > > wrote: > >> [Sorry if this turns out to do be a dup] > >> > >> Iain Buclaw writes: > >>> +/* Clear the DECL_BUILT_IN_CLASS flag on the function in CALLEXP. */ >

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-10-20 Thread Iain Buclaw
On Sat, 20 Oct 2018 at 11:03, Richard Sandiford wrote: > > Iain Buclaw writes: > > On 14 October 2018 at 17:29, Richard Sandiford > > wrote: > >> [Sorry if this turns out to do be a dup] > >> > >> Iain Buclaw writes: > >>> +/* Helper routine for all error routines. Reports a diagnostic > >>>

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-10-20 Thread Richard Sandiford
Iain Buclaw writes: > On 14 October 2018 at 17:29, Richard Sandiford > wrote: >> [Sorry if this turns out to do be a dup] >> >> Iain Buclaw writes: >>> +/* Build nodes that are used by the D front-end. >>> + These are distinct from C types. */ >>> + >>> +static void >>> +d_build_d_type_nodes

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-10-16 Thread Richard Sandiford
Iain Buclaw writes: > On 18 September 2018 at 02:33, Iain Buclaw wrote: >> This patch adds the D front-end implementation, the only part of the >> compiler that interacts with GCC directly, and being the parts that I >> maintain, is something that I can talk about more directly. >> >> For the act

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-10-15 Thread Iain Buclaw
On Mon, 15 Oct 2018 at 16:19, David Malcolm wrote: > > On Tue, 2018-09-18 at 02:33 +0200, Iain Buclaw wrote: > > This patch adds the D front-end implementation, the only part of the > > compiler that interacts with GCC directly, and being the parts that I > > maintain, is something that I can talk

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-10-15 Thread David Malcolm
On Tue, 2018-09-18 at 02:33 +0200, Iain Buclaw wrote: > This patch adds the D front-end implementation, the only part of the > compiler that interacts with GCC directly, and being the parts that I > maintain, is something that I can talk about more directly. > > For the actual code generation pass

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-10-14 Thread Iain Buclaw
On 14 October 2018 at 17:29, Richard Sandiford wrote: > [Sorry if this turns out to do be a dup] > > Iain Buclaw writes: >> On 18 September 2018 at 02:33, Iain Buclaw wrote: >>> This patch adds the D front-end implementation, the only part of the >>> compiler that interacts with GCC directly, an

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-10-14 Thread Richard Sandiford
[Sorry if this turns out to do be a dup] Iain Buclaw writes: > On 18 September 2018 at 02:33, Iain Buclaw wrote: >> This patch adds the D front-end implementation, the only part of the >> compiler that interacts with GCC directly, and being the parts that I >> maintain, is something that I can t

Re: [PATCH 02/14] Add D frontend (GDC) implementation.

2018-09-19 Thread Iain Buclaw
On 18 September 2018 at 02:33, Iain Buclaw wrote: > This patch adds the D front-end implementation, the only part of the > compiler that interacts with GCC directly, and being the parts that I > maintain, is something that I can talk about more directly. > > For the actual code generation pass, th

[PATCH 02/14] Add D frontend (GDC) implementation.

2018-09-17 Thread Iain Buclaw
This patch adds the D front-end implementation, the only part of the compiler that interacts with GCC directly, and being the parts that I maintain, is something that I can talk about more directly. For the actual code generation pass, that converts the front-end AST to GCC trees, most parts use a