https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114622
Willy Tarreau changed:
What|Removed |Added
CC||w at 1wt dot eu
--- Comment #2 from Wil
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
--- Comment #19 from Willy Tarreau ---
Hello Richard,
Thanks for looking at this old issue.
> that means next_step will do the bad access of 'head' using the struct ref
> type.
Actually there's no bad access, as if you look closely, next_step(
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
--- Comment #14 from Willy Tarreau ---
(In reply to Martin Sebor from comment #13)
> The patch was rejected so we'll have to live with a confusing warning.
sadly it's not the first one and I don't count the number of bugs I have
introduced in my
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
--- Comment #9 from Willy Tarreau ---
Hi Richard,
indeed, the &curr->list == &head is the test for end of list that prevents any
bad access from happening.
I know that usually the right way to do this is by using a list element, but
sometimes i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 98503, which changed state.
Bug 98503 Summary: [11 regression] -Warray-bounds false positive with global
variables at -O2 since r11-3306-g3f9a497d1b0dd9da
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
Wha
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
Willy Tarreau changed:
What|Removed |Added
Resolution|INVALID |---
Status|RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 98503, which changed state.
Bug 98503 Summary: [11 regression] -Warray-bounds false positive with global
variables at -O2 since r11-3306-g3f9a497d1b0dd9da
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
Wha
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
Willy Tarreau changed:
What|Removed |Added
Resolution|INVALID |---
Status|RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
--- Comment #4 from Willy Tarreau ---
Hi Martin,
I'm sorry but I'm missing something, as this is how linked lists are
implemented everywhere nowadays. I'm not actually casting the pointer, it was
made for simplification. I'm only following the l
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
--- Comment #1 from Willy Tarreau ---
Re-reading godbolt's version more closely, it's just 1 day old (I thought I
read 20201010) so the issue is still valid.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
Bug ID: 98503
Summary: [11 regression] -Warray-bounds false positive with
global variables at -O2
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: norma
11 matches
Mail list logo