[Bug tree-optimization/104276] Fail to eliminate deadstore from vector constructor

Darrell.Wright at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 28 23:37:32 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104276

--- Comment #3 from Darrell Wright <Darrell.Wright at gmail dot com> ---
(In reply to Andrew Pinski from comment #2)
> >clang is unable to remove the memset in code like 
> 
> I think you mean GCC there :).


:) both are true.  This optimization would remove the need for things like
resize_and_overwrite which means we all win


More information about the Gcc-bugs mailing list