]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Add testcase for already fixed PR [PR120954]
authorJakub Jelinek <jakub@redhat.com>
Fri, 11 Jul 2025 11:43:58 +0000 (13:43 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 11 Jul 2025 11:53:04 +0000 (13:53 +0200)
commitbd817e6c6de038e82ff7d278ae52345313b22d7f
tree3f12b251e616d2ac717e1312daa99129d21c8c57
parentc0dd240b1999e2fbeaa6106706bf25e74238bceb
testsuite: Add testcase for already fixed PR [PR120954]

This was a regression introduced by r16-1893 (and its backports) for C++,
though for C it had false positive warning for years.  Fixed by r16-2000
(and its backports).

2025-07-11  Jakub Jelinek  <jakub@redhat.com>

PR c++/120954
* c-c++-common/Warray-bounds-11.c: New test.

(cherry picked from commit 9eea49825ebb607f4b67de48c9cba1f85e005932)
gcc/testsuite/c-c++-common/Warray-bounds-11.c [new file with mode: 0644]