On Wed, Feb 15, 2023 at 08:46:07AM -0500, Marek Polacek wrote:
> > Perhaps add dg-bogus above just to make it more clear what
> > we are testing in the test?
> 
> Ok, here it is.  Ok?

Sure, thanks.
>       PR middle-end/106080
> 
> gcc/ChangeLog:
> 
>       * gimple-ssa-warn-access.cc (is_auto_decl): Remove.  Use auto_var_p
>       instead.
> 
> gcc/testsuite/ChangeLog:
> 
>       * c-c++-common/Wdangling-pointer-10.c: New test.
>       * c-c++-common/Wdangling-pointer-9.c: New test.

        Jakub

Reply via email to