Re: [PATCH 02/14] Support for adding and stripping location_t wrapper nodes

2017-11-16 Thread Richard Biener
On Wed, Nov 15, 2017 at 4:33 PM, David Malcolm wrote: > On Wed, 2017-11-15 at 12:11 +0100, Richard Biener wrote: >> On Wed, Nov 15, 2017 at 7:17 AM, Trevor Saunders > rg> wrote: >> > On Fri, Nov 10, 2017 at 04:45:17PM -0500, David Malcolm wrote: >> > > This patch provides a mechanism in tree.c for

Re: [PATCH 02/14] Support for adding and stripping location_t wrapper nodes

2017-11-15 Thread David Malcolm
On Wed, 2017-11-15 at 12:11 +0100, Richard Biener wrote: > On Wed, Nov 15, 2017 at 7:17 AM, Trevor Saunders rg> wrote: > > On Fri, Nov 10, 2017 at 04:45:17PM -0500, David Malcolm wrote: > > > This patch provides a mechanism in tree.c for adding a wrapper > > > node > > > for expressing a location_

Re: [PATCH 02/14] Support for adding and stripping location_t wrapper nodes

2017-11-15 Thread Richard Biener
On Wed, Nov 15, 2017 at 7:17 AM, Trevor Saunders wrote: > On Fri, Nov 10, 2017 at 04:45:17PM -0500, David Malcolm wrote: >> This patch provides a mechanism in tree.c for adding a wrapper node >> for expressing a location_t, for those nodes for which >> !CAN_HAVE_LOCATION_P, along with a new method

Re: [PATCH 02/14] Support for adding and stripping location_t wrapper nodes

2017-11-14 Thread Trevor Saunders
On Fri, Nov 10, 2017 at 04:45:17PM -0500, David Malcolm wrote: > This patch provides a mechanism in tree.c for adding a wrapper node > for expressing a location_t, for those nodes for which > !CAN_HAVE_LOCATION_P, along with a new method of cp_expr. > > It's called in later patches in the kit via

[PATCH 02/14] Support for adding and stripping location_t wrapper nodes

2017-11-10 Thread David Malcolm
This patch provides a mechanism in tree.c for adding a wrapper node for expressing a location_t, for those nodes for which !CAN_HAVE_LOCATION_P, along with a new method of cp_expr. It's called in later patches in the kit via that new method. In this version of the patch, I use NON_LVALUE_EXPR for