https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109778
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:c2cf2dc988eb93551fa1c01d3f8d73ef21f39dc5 commit r14-603-gc2cf2dc988eb93551fa1c01d3f8d73ef21f39dc5 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.