This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/81901] false-positive -Warray-bounds


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 ;-)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]