[Bug c++/120954] [13 Regression] False positive -Warray-bounds=2 warning
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Mar 22 05:13:28 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120954
--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:860ac06c923b10b0e5f97e0d6a94100ba0e83994
commit r13-10163-g860ac06c923b10b0e5f97e0d6a94100ba0e83994
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