[Bug c++/120954] [13/14 Regression] False positive -Warray-bounds=2 warning
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 8 13:04:44 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120954
--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:21a03fb3fe97c43f2e9ba9d91672155b01616d92
commit r14-11938-g21a03fb3fe97c43f2e9ba9d91672155b01616d92
Author: Jakub Jelinek <jakub@redhat.com>
Date: Fri Jul 11 13:43:58 2025 +0200
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)
More information about the Gcc-bugs
mailing list