[Bug tree-optimization/105684] Bogus `-Warray-bounds` in partially allocated struct

2022-05-23 Thread sagebar at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105684 --- Comment #3 from sagebar at web dot de --- >The issue is that 'result->data0.a' is (*result).data0.a, and so to GCC you are >accessing an object of type 'obj' for which there isn't enough allocated space. Technically true, and yes: not

[Bug tree-optimization/105684] Bogus `-Warray-bounds` in partially allocated struct

2022-05-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105684 Richard Biener changed: What|Removed |Added Blocks||56456 --- Comment #2 from Richard

[Bug tree-optimization/105684] Bogus `-Warray-bounds` in partially allocated struct

2022-05-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105684 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Keywords|