https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233
--- Comment #13 from Uroš Bizjak ---
(In reply to Martin Liška from comment #7)
> Note, the linux kernel disables the -Werror of the warning for GCC 11 and 12:
> https://github.com/torvalds/linux/blob/
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233
Richard Biener changed:
What|Removed |Added
CC||hubicka at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233
--- Comment #11 from Andrew Macleod ---
(In reply to Aldy Hernandez from comment #10)
> (In reply to Jakub Jelinek from comment #8)
>
> > And on the ranger side why we have determined the [0, 5] range rather than
> > [0, 4], whether it is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233
--- Comment #10 from Aldy Hernandez ---
(In reply to Jakub Jelinek from comment #8)
> And on the ranger side why we have determined the [0, 5] range rather than
> [0, 4], whether it is related to inaccurate number of iterations estimation,
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233
--- Comment #9 from Jakub Jelinek ---
(In reply to Jakub Jelinek from comment #8)
> rather than just doing intmbx == 0x8; always.
intmbx += 0x8; of course, sorry for the typo.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233
--- Comment #8 from Jakub Jelinek ---
Slightly further reduced:
/* { dg-do compile } */
/* { dg-options "-O2 -Warray-bounds" } */
struct S { unsigned x, y, z; };
struct T { struct S f[5]; unsigned h; };
void foo (void);
void
bar (struct T *t)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233
--- Comment #7 from Martin Liška ---
Note, the linux kernel disables the -Werror of the warning for GCC 11 and 12:
https://github.com/torvalds/linux/blob/a1effab7a3a35a837dd9d2b974a1bc4939df1ad5/init/Kconfig#L893-L904
while they still hope it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233
Uroš Bizjak changed:
What|Removed |Added
Attachment #54729|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233
--- Comment #5 from Uroš Bizjak ---
Created attachment 54731
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54731=edit
Even more minimized testcase.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109233
Jakub Jelinek changed:
What|Removed |Added
Ever confirmed|0 |1
Target Milestone|---
10 matches
Mail list logo