https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038
Bug ID: 100038
Summary: -Warray-bound triggers false positives
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038
--- Comment #2 from Nicholas Stranchfield
---
Created attachment 50557
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50557&action=edit
gzipped output of g++-10.2.0
Sure, here you go.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038
--- Comment #3 from Nicholas Stranchfield
---
Created attachment 50558
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50558&action=edit
gzipped output for SparseBitVector example
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038
--- Comment #4 from Nicholas Stranchfield
---
Created attachment 50559
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50559&action=edit
gzipped output for SmallVector example
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038
--- Comment #5 from Nicholas Stranchfield
---
Created attachment 50560
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50560&action=edit
Output for only the SmallVector example
Here the output for only the SmallVector.h test case.
P.S.:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038
--- Comment #6 from Nicholas Stranchfield
---
Created attachment 50561
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50561&action=edit
Output for only the SparseBitVector example
Here the output for only the SparseBitVector.h test case.