[Bug tree-optimization/61346] VRP chooses bad bounds for variable

ian at airs dot com gcc-bugzilla@gcc.gnu.org
Wed May 28 22:16:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61346

--- Comment #3 from Ian Lance Taylor <ian at airs dot com> ---
Reverting this patch to tree-vrp.c fixes the problem:

2014-05-27  Richard Biener  <rguenther@suse.de>

    * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops_using_ranges):
    Try using literal operands when comparing value-ranges failed.



More information about the Gcc-bugs mailing list