https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97371
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Aldy Hernandez <al...@gcc.gnu.org>: https://gcc.gnu.org/g:e1b4fbfea6ad24f47279b90aec27ef1512625c80 commit r11-3812-ge1b4fbfea6ad24f47279b90aec27ef1512625c80 Author: Aldy Hernandez <al...@redhat.com> Date: Mon Oct 12 04:08:28 2020 -0400 Ignore shifts larger than precision in operator_rshift::op1_range. gcc/ChangeLog: PR tree-optimization/97371 * range-op.cc (operator_rshift::op1_range): Ignore shifts larger than or equal to type precision. gcc/testsuite/ChangeLog: * gcc.dg/pr97371.c: New test.