This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81901] false-positive -Warray-bounds
- From: "vermaelen.wouter at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 21 Aug 2017 09:52:57 +0000
- Subject: [Bug c++/81901] false-positive -Warray-bounds
- Auto-submitted: auto-generated
- References: <bug-81901-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81901
--- Comment #2 from Wouter Vermaelen <vermaelen.wouter at gmail dot com> ---
Euhm, i=0x30 should not enter case 0x00. (Or did you mean the analysis pass
that produces the warning). This code should not store anything to a[].
(I know this reduced function is useless/obfuscated. The original code before
minimizing and manual inlining made more sense ;-)