[PATCH 13/13] v2 Add regression tests for PR 74765 and 74762

Jeff Law jeffreyalaw@gmail.com
Thu Jun 24 04:56:51 GMT 2021



On 6/4/2021 3:43 PM, Martin Sebor via Gcc-patches wrote:
> The attached patch adds regression tests for two closely related bugs
> resolved by the patch series.
>
> gcc-no-warning-tests.diff
>
> Regression tests for TREE_NO_WARNING enhancement to warning groups.
>
> PR middle-end/74765 - missing uninitialized warning (parenthesis, TREE_NO_WARNING abuse)
> PR middle-end/74762 - [9/10/11/12 Regression] missing uninitialized warning (C++, parenthesized expr, TREE_NO_WARNING)
>
> gcc/testsuite/ChangeLog:
>
> 	* g++.dg/uninit-pr74762.C: New test.
> 	* g++.dg/warn/uninit-pr74765.C: Same.
>
> diff --git a/gcc/testsuite/g++.dg/uninit-pr74762.C b/gcc/testsuite/g++.dg/uninit-pr74762.C
This is OK once the prereqs are all approved.
jeff



More information about the Gcc-patches mailing list