Re: [PATCH v4] c++: Implement -Wdangling-reference [PR106393]

2022-10-26 Thread Jason Merrill via Gcc-patches
On 10/26/22 14:26, Marek Polacek wrote: On Wed, Oct 26, 2022 at 12:42:27PM -0400, Jason Merrill wrote: On 10/26/22 12:10, Marek Polacek wrote: As before, I've tested this patch twice, once with -Wdangling-reference enabled by default, once with -Wdangling-reference enabled by -Wextra. The coupl

[PATCH v4] c++: Implement -Wdangling-reference [PR106393]

2022-10-26 Thread Marek Polacek via Gcc-patches
On Wed, Oct 26, 2022 at 12:42:27PM -0400, Jason Merrill wrote: > On 10/26/22 12:10, Marek Polacek wrote: > > As before, I've tested this patch twice, once with -Wdangling-reference > > enabled by default, once with -Wdangling-reference enabled by -Wextra. > > The couple of FAILs I saw were true pos