https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80072
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Mar 22 21:52:13 2017 New Revision: 246408 URL: https://gcc.gnu.org/viewcvs?rev=246408&root=gcc&view=rev Log: PR tree-optimization/80072 * tree-ssa-reassoc.c (struct operand_entry): Change id field type to unsigned int. (next_operand_entry_id): Change type to unsigned int. (sort_by_operand_rank): Make sure to return the right return value even if unsigned fields are bigger than INT_MAX. (struct oecount): Change cnt and id type to unsigned int. (oecount_hasher::equal): Formatting fix. (oecount_cmp): Make sure to return the right return value even if unsigned fields are bigger than INT_MAX. (undistribute_ops_list): Change next_oecount_id type to unsigned int. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-reassoc.c