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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 61136
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61136&action=edit
gcc15-pr119834.patch

Untested patch (except on a short testcase with memset (ptr, 0, 17); to verify
that *clrmem_short -> *xc_zero splitting still works).
Without a reproducer it is hard to do more.
Perhaps it is late combine that propagates the constant?

Can you compile with additional -da (assuming you still hit the ICE) and attach
all the *.[0-9]*r.* dumps?

Reply via email to