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

Martin Sebor msebor@gmail.com
Mon Jun 28 21:23:17 GMT 2021


On 6/23/21 10:56 PM, Jeff Law wrote:
> 
> 
> 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
> 

Pushed in r12-1861.

Martin


More information about the Gcc-patches mailing list