https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
--- Comment #5 from Mason ---
Slightly smaller testcase, similar to bug 80907.
extern int M[16];
void foo(int n)
{
for (int i = 0; i < n; ++i)
for (int j = 0; j < i; ++j)
M[i+j] = 0;
}
$ gcc-7 -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
--- Comment #4 from rguenther at suse dot de ---
On Tue, 17 Oct 2017, egallager at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
>
> Eric Gallager changed:
>
>What|Removed |Add
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Eric Gallager changed:
What|Removed |Added
CC||egallager at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 38480, which changed state.
Bug 38480 Summary: bogus warning with -O3 -Wall: "array subscript is above
array bounds"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38480
What|Removed |Add
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 45180, which changed state.
Bug 45180 Summary: bogus warning: array subscript is above array bounds
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45180
What|Removed |Added
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 47418, which changed state.
Bug 47418 Summary: warning: array subscript is above array bounds at O2 with
sin6_addr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47418
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Mason changed:
What|Removed |Added
CC||jwakely.gcc at gmail dot com,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 41847, which changed state.
Bug 41847 Summary: warning: array subscript is above array bounds
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41847
What|Removed |Added
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 56273, which changed state.
Bug 56273 Summary: [4.8 regression] Bogus -Warray-bounds warning
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56273
What|Removed |Added
--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 53198, which changed state.
Bug 53198 Summary: [4.7 Regression] gcc wrongly emits "array subscript is above
array bounds" for simple arrays
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53198
What|Removed
10 matches
Mail list logo