https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101772
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>: https://gcc.gnu.org/g:09dba016db937e61be21ef1e9581065a9ed2847d commit r12-2747-g09dba016db937e61be21ef1e9581065a9ed2847d Author: H.J. Lu <hjl.to...@gmail.com> Date: Wed Aug 4 06:15:04 2021 -0700 x86: Avoid stack realignment when copying data with SSE register To avoid stack realignment, call ix86_gen_scratch_sse_rtx to get a scratch SSE register to copy data with with SSE register from one memory location to another. gcc/ PR target/101772 * config/i386/i386-expand.c (ix86_expand_vector_move): Call ix86_gen_scratch_sse_rtx to get a scratch SSE register to copy data with SSE register from one memory location to another. gcc/testsuite/ PR target/101772 * gcc.target/i386/eh_return-2.c: New test.