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

2014-06-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61346 --- Comment #6 from Richard Biener --- Author: rguenth Date: Mon Jun 2 08:07:23 2014 New Revision: 211128 URL: http://gcc.gnu.org/viewcvs?rev=211128&root=gcc&view=rev Log: 2014-06-02 Richard Biener PR tree-optimization/61346 * gcc.d

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

2014-05-28 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61346 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2014-05-28 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61346 --- Comment #3 from Ian Lance Taylor --- Reverting this patch to tree-vrp.c fixes the problem: 2014-05-27 Richard Biener * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops_using_ranges): Try using literal operands when comparing v

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

2014-05-28 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61346 --- Comment #4 from Ian Lance Taylor --- This was before 211012. It may be fixed. I will check.

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

2014-05-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61346 --- Comment #2 from Andrew Pinski --- Was this before or after revision 211012? There was a bug in VRP which was also exposed by Fortran bounds checking: bug 61335.

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

2014-05-28 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61346 --- Comment #1 from Ian Lance Taylor --- Created attachment 32872 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32872&action=edit test case