https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119834
--- Comment #7 from lfoldy at gmail dot com --- (In reply to Jakub Jelinek from comment #6) > Created attachment 61136 [details] > 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? Thanks, I'll try. (It's a qemu system, compiling GCC takes about 24 hours.)