[Bug tree-optimization/107263] Memcpy not elided when initializing struct

2025-06-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107263 --- Comment #5 from Andrew Pinski --- tmp = {}; _1 = f_4(D)->next; tmp.next = _1; *f_4(D) = tmp; I thought dse would decrease the zeroing store but it didn't.

[Bug tree-optimization/107263] Memcpy not elided when initializing struct

2025-02-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107263 --- Comment #4 from Andrew Pinski --- (In reply to AK from comment #3) > Seems like a duplicate of #59863 ? No different issue . There we have an array which is all the way constant but here we have a non-constant part.

[Bug tree-optimization/107263] Memcpy not elided when initializing struct

2024-03-19 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107263 AK changed: What|Removed |Added CC||hiraditya at msn dot com --- Comment #3 from AK -

[Bug tree-optimization/107263] Memcpy not elided when initializing struct

2022-10-17 Thread jmuizelaar at mozilla dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107263 --- Comment #2 from Jeff Muizelaar --- Even for small arrays clang does a noticeably better job: https://gcc.godbolt.org/z/4d3TjGazY

[Bug tree-optimization/107263] Memcpy not elided when initializing struct

2022-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107263 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-10-17 Version|unknown

[Bug tree-optimization/107263] Memcpy not elided when initializing struct

2022-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107263 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|