http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59245
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue Nov 26 15:14:52 2013 New Revision: 205395 URL: http://gcc.gnu.org/viewcvs?rev=205395&root=gcc&view=rev Log: 2013-11-26 Richard Biener <rguent...@suse.de> PR tree-optimization/59245 * tree-vrp.c (set_value_range): Assert that we don't have overflowed constants (but our infinities). (set_value_range_to_value): Drop all overflow flags. (vrp_visit_phi_node): Likewise. (vrp_visit_assignment_or_call): Use set_value_range_to_value to set a constant range. * gcc.dg/torture/pr59245.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr59245.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vrp.c