Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-07-06 Thread Martin Sebor via Gcc-patches
On 7/2/21 5:47 PM, Trevor Saunders wrote: On Fri, Jul 02, 2021 at 01:20:14PM -0600, Martin Sebor wrote: On 6/29/21 11:35 PM, Trevor Saunders wrote: This makes it possible to assert if input_location is used during the lifetime of a scope. This will allow us to find places that currently use it

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-07-02 Thread Trevor Saunders
On Fri, Jul 02, 2021 at 01:20:14PM -0600, Martin Sebor wrote: > On 6/29/21 11:35 PM, Trevor Saunders wrote: > > This makes it possible to assert if input_location is used during the > > lifetime > > of a scope. This will allow us to find places that currently use it within > > a > > function and

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-07-02 Thread Trevor Saunders
On Fri, Jul 02, 2021 at 11:46:46AM -0400, Jason Merrill wrote: > On 7/1/21 6:16 AM, Trevor Saunders wrote: > > On Wed, Jun 30, 2021 at 11:13:23AM -0400, David Malcolm wrote: > > > On Wed, 2021-06-30 at 01:35 -0400, Trevor Saunders wrote: > > > > This makes it possible to assert if input_location is

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-07-02 Thread Martin Sebor via Gcc-patches
On 6/29/21 11:35 PM, Trevor Saunders wrote: This makes it possible to assert if input_location is used during the lifetime of a scope. This will allow us to find places that currently use it within a function and its callees, or prevent adding uses within the lifetime of a function after all exi

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-07-02 Thread Jason Merrill via Gcc-patches
On 7/1/21 6:16 AM, Trevor Saunders wrote: On Wed, Jun 30, 2021 at 11:13:23AM -0400, David Malcolm wrote: On Wed, 2021-06-30 at 01:35 -0400, Trevor Saunders wrote: This makes it possible to assert if input_location is used during the lifetime of a scope.  This will allow us to find places that c

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-07-01 Thread Trevor Saunders
On Thu, Jul 01, 2021 at 11:40:55AM -0400, David Malcolm via Gcc-patches wrote: > On Thu, 2021-07-01 at 14:53 +0200, Richard Biener wrote: > > On Thu, Jul 1, 2021 at 12:16 PM Trevor Saunders < > > tbsau...@tbsaunde.org> wrote: > > > > > > On Wed, Jun 30, 2021 at 11:13:23AM -0400, David Malcolm wrot

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-07-01 Thread David Malcolm via Gcc-patches
On Thu, 2021-07-01 at 11:40 -0400, David Malcolm wrote: > On Thu, 2021-07-01 at 14:53 +0200, Richard Biener wrote: > > On Thu, Jul 1, 2021 at 12:16 PM Trevor Saunders < > > tbsau...@tbsaunde.org> wrote: > > > > > > On Wed, Jun 30, 2021 at 11:13:23AM -0400, David Malcolm wrote: > > > > On Wed, 2021

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-07-01 Thread David Malcolm via Gcc-patches
On Thu, 2021-07-01 at 14:53 +0200, Richard Biener wrote: > On Thu, Jul 1, 2021 at 12:16 PM Trevor Saunders < > tbsau...@tbsaunde.org> wrote: > > > > On Wed, Jun 30, 2021 at 11:13:23AM -0400, David Malcolm wrote: > > > On Wed, 2021-06-30 at 01:35 -0400, Trevor Saunders wrote: > > > > This makes it

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-07-01 Thread Richard Biener via Gcc-patches
On Thu, Jul 1, 2021 at 12:16 PM Trevor Saunders wrote: > > On Wed, Jun 30, 2021 at 11:13:23AM -0400, David Malcolm wrote: > > On Wed, 2021-06-30 at 01:35 -0400, Trevor Saunders wrote: > > > This makes it possible to assert if input_location is used during the > > > lifetime > > > of a scope. This

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-07-01 Thread Richard Biener via Gcc-patches
On Thu, Jul 1, 2021 at 12:24 PM Trevor Saunders wrote: > > On Wed, Jun 30, 2021 at 09:09:33PM +0200, Richard Biener wrote: > > On June 30, 2021 2:33:30 PM GMT+02:00, Trevor Saunders > > wrote: > > >On Wed, Jun 30, 2021 at 11:00:37AM +0200, Richard Biener wrote: > > >> On Wed, Jun 30, 2021 at 7:3

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-07-01 Thread Trevor Saunders
On Wed, Jun 30, 2021 at 09:09:33PM +0200, Richard Biener wrote: > On June 30, 2021 2:33:30 PM GMT+02:00, Trevor Saunders > wrote: > >On Wed, Jun 30, 2021 at 11:00:37AM +0200, Richard Biener wrote: > >> On Wed, Jun 30, 2021 at 7:37 AM Trevor Saunders > > wrote: > >> > > >> > This makes it possible

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-07-01 Thread Trevor Saunders
On Wed, Jun 30, 2021 at 11:13:23AM -0400, David Malcolm wrote: > On Wed, 2021-06-30 at 01:35 -0400, Trevor Saunders wrote: > > This makes it possible to assert if input_location is used during the > > lifetime > > of a scope.  This will allow us to find places that currently use it > > within a > >

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-06-30 Thread Jason Merrill via Gcc-patches
On Wed, Jun 30, 2021 at 11:14 AM David Malcolm via Gcc-patches < gcc-patches@gcc.gnu.org> wrote: > On Wed, 2021-06-30 at 01:35 -0400, Trevor Saunders wrote: > > This makes it possible to assert if input_location is used during the > > lifetime > > of a scope. This will allow us to find places tha

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-06-30 Thread Richard Biener via Gcc-patches
On June 30, 2021 2:33:30 PM GMT+02:00, Trevor Saunders wrote: >On Wed, Jun 30, 2021 at 11:00:37AM +0200, Richard Biener wrote: >> On Wed, Jun 30, 2021 at 7:37 AM Trevor Saunders > wrote: >> > >> > This makes it possible to assert if input_location is used during >the lifetime >> > of a scope. Th

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-06-30 Thread David Malcolm via Gcc-patches
On Wed, 2021-06-30 at 01:35 -0400, Trevor Saunders wrote: > This makes it possible to assert if input_location is used during the > lifetime > of a scope.  This will allow us to find places that currently use it > within a > function and its callees, or prevent adding uses within the lifetime > of

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-06-30 Thread Trevor Saunders
On Wed, Jun 30, 2021 at 11:00:37AM +0200, Richard Biener wrote: > On Wed, Jun 30, 2021 at 7:37 AM Trevor Saunders wrote: > > > > This makes it possible to assert if input_location is used during the > > lifetime > > of a scope. This will allow us to find places that currently use it within > >

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-06-30 Thread Richard Biener via Gcc-patches
On Wed, Jun 30, 2021 at 7:37 AM Trevor Saunders wrote: > > This makes it possible to assert if input_location is used during the lifetime > of a scope. This will allow us to find places that currently use it within a > function and its callees, or prevent adding uses within the lifetime of a > fu

[PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-06-29 Thread Trevor Saunders
This makes it possible to assert if input_location is used during the lifetime of a scope. This will allow us to find places that currently use it within a function and its callees, or prevent adding uses within the lifetime of a function after all existing uses are removed. bootstrapped and regt