https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |82596, 82588, 82585, 82583,
| |82581, 69224, 82455
Summary|[meta-bug] bogus warning |[meta-bug] bogus/missing
|when inlining or unrolling: |warning (when inlining or
|"array subscript is above |unrolling): "array
|array bounds" |subscript is above array
| |bounds" [-Warray-bounds]
Alias| |Warray-bounds
--- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to [email protected] from comment #4)
>
> It's hard to tell. Unless we have another meta-bug just re-use this one.
I couldn't find another one that looked relevant so I'll re-use this one.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69224
[Bug 69224] [6/7/8 Regression] -Warray-bounds false positive with -O3 and
struct pointer parameter
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82455
[Bug 82455] missing -Warray-bounds on strcpy offset in an out-of-bounds range
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82581
[Bug 82581] missing -Warray-bounds on writing past the end of a member array
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82583
[Bug 82583] missing -Warray-bounds on out-of-bounds inner indices
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82585
[Bug 82585] missing -Warray-bounds calling strlen on a member at out-of-bounds
offfset
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82588
[Bug 82588] missing -Warray-bounds on a excessively large index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82596
[Bug 82596] missing -Warray-bounds on an out-of-bounds index into string
literal