https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81655
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Aug 3 09:41:55 2017 New Revision: 250849 URL: https://gcc.gnu.org/viewcvs?rev=250849&root=gcc&view=rev Log: PR tree-optimization/81655 PR tree-optimization/81588 * tree-ssa-reassoc.c (optimize_range_tests_var_bound): Handle also the case when ranges[i].low and high are 1 for unsigned type with precision 1. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-reassoc.c