https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63917
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to clyon from comment #4) > On aarch64, I have noticed that the following tests FAIL after r217646: That is recorded as bug 63971 and just a testsuite issue. In that the return is no longer duplicated so the loads are not either. Anyways I have a fix which I will be posting this weekend. > gcc.target/aarch64/test_frame_1.c scan-assembler-times ldr\tx30, \\[sp\\], > [0-9]+ 3 > gcc.target/aarch64/test_frame_2.c scan-assembler-times ldp\tx19, x30, > \\[sp\\], [0-9]+ 2 > gcc.target/aarch64/test_frame_4.c scan-assembler-times ldp\tx19, x30, > \\[sp\\], [0-9]+ 2 > gcc.target/aarch64/test_frame_6.c scan-assembler-times ldr\tx30, \\[sp\\], > [0-9]+ 3 > gcc.target/aarch64/test_frame_7.c scan-assembler-times ldp\tx19, x30, > \\[sp\\], [0-9]+ 2 > > (tested on aarch64 and aarch64_be)