tree-optimization/104165 - bougs -Warray-bounds, add testcase
authorRichard Biener <rguenther@suse.de>
Tue, 6 Dec 2022 07:22:01 +0000 (08:22 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 6 Dec 2022 07:23:56 +0000 (08:23 +0100)
commit790ff87f675f28bce5e7e35918ae09c3ece4ec4d
treefc6ab96bf68052091381e6cc34c0dc436f00b7dd
parent6a6f2cbf9ab366ea38cbe4c8d574486ce2bbe873
tree-optimization/104165 - bougs -Warray-bounds, add testcase

The following adds the testcase from the description which was
fixed by r13-2894-gbe4a6551ed37c1.

PR tree-optimization/104165
* g++.dg/warn/Warray-bounds-pr104165-1.C: New testcase.
gcc/testsuite/g++.dg/warn/Warray-bounds-pr104165-1.C [new file with mode: 0644]