https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90599
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- Fixed for GCC 12 with r12-285: commit 985b3a6837dee7001e6b618f073ed74f0edf5787 Author: H.J. Lu <hjl.to...@gmail.com> Date: Mon Jun 10 09:57:15 2019 -0700 Generate offset adjusted operation for op_by_pieces operations Add an overlap_op_by_pieces_p target hook for op_by_pieces operations between two areas of memory to generate one offset adjusted operation in the smallest integer mode for the remaining bytes on the last piece operation of a memory region to avoid doing more than one smaller operations. Pass the RTL information from the previous iteration to m_constfn in op_by_pieces operation so that builtin_memset_[read|gen]_str can generate the new RTL from the previous RTL. *** This bug has been marked as a duplicate of bug 90773 ***