Re: Delayed warning

2019-04-29 Thread Marek Polacek
On Mon, Apr 29, 2019 at 08:39:57AM -0600, Jeff Law wrote: > On 4/29/19 8:24 AM, Thomas Koenig wrote: > > Hi! > > > > Is there a way to mark a TREE statement (or a variable) so that > > a warning is issued at a later stage if the statement has not been > > removed in the meantime? > > > > I am thi

Re: Delayed warning

2019-04-29 Thread Jeff Law
On 4/29/19 8:24 AM, Thomas Koenig wrote: > Hi! > > Is there a way to mark a TREE statement (or a variable) so that > a warning is issued at a later stage if the statement has not been > removed in the meantime? > > I am thinking, for example, of Fortran's -Warray-temporaries, which > issues a war

Delayed warning

2019-04-29 Thread Thomas Koenig
Hi! Is there a way to mark a TREE statement (or a variable) so that a warning is issued at a later stage if the statement has not been removed in the meantime? I am thinking, for example, of Fortran's -Warray-temporaries, which issues a warning in the front end even though the whole temporary ar