https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109778
--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:5aa649c98dcf58240299029f7dce02ee29ba6296 commit r11-10754-g5aa649c98dcf58240299029f7dce02ee29ba6296 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)