https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109778
--- Comment #15 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:d68d989286340c20bc0f713addf44dc0f0d77ac3 commit r10-11399-gd68d989286340c20bc0f713addf44dc0f0d77ac3 Author: Jakub Jelinek <ja...@redhat.com> Date: Tue May 9 12:14:18 2023 +0200 testsuite: Add further testcase for already fixed PR [PR109778] I came up with a testcase which reproduces all the way to r10-7469. LTO to avoid early inlining it, so that ccp handles rotates and not shifts before they are turned into rotates. 2023-05-09 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/109778 * gcc.dg/lto/pr109778_0.c: New test. * gcc.dg/lto/pr109778_1.c: New file. (cherry picked from commit c2cf2dc988eb93551fa1c01d3f8d73ef21f39dc5)