[Bug ipa/105690] -Warray-bounds sensitive false positive with -O2

2022-06-10 Thread sirl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105690 --- Comment #3 from Franz Sirl --- I managed to minimize the testcase a bit more: unsigned int gvar1; void fun1(int); void fun2(unsigned int, char *); int fun2_maxlen; typedef struct { int exist; int mode; } table_t; table_t gtable[20];

[Bug ipa/105690] -Warray-bounds sensitive false positive with -O2

2022-05-25 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105690 --- Comment #2 from Martin Jambor --- (In reply to Richard Biener from comment #1) > somehow function splitting exposes this, With options: -O2 -Warray-bounds -S -fno-inline-functions-called-once --param inline-unit-growth=0 --param

[Bug ipa/105690] -Warray-bounds sensitive false positive with -O2

2022-05-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105690 Richard Biener changed: What|Removed |Added Component|c |ipa Status|UNCONFIRMED