]> 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:47:23 +0000 (13:47 +0200)
commit9eea49825ebb607f4b67de48c9cba1f85e005932
tree72de9e89f94a54d26b015d27f82c8d4c0fab2d2f
parent385d9937f0e23cbf9c62f0b2553a33ff70e56ecf
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.
gcc/testsuite/c-c++-common/Warray-bounds-11.c [new file with mode: 0644]