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.
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.
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 -
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107263
Richard Biener changed:
What|Removed |Added
Last reconfirmed||2022-10-17
Version|unknown
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107263
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
Keywords|