https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88274
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Nov 30 23:27:23 2018 New Revision: 266701 URL: https://gcc.gnu.org/viewcvs?rev=266701&root=gcc&view=rev Log: PR tree-optimization/88274 * tree-ssa-reassoc.c (optimize_range_tests_xor, optimize_range_tests_diff): If type has smaller precision than corresponding mode or if it has non-standard min/max, compute everything in a standard type for the precision. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-reassoc.c