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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61346
Ian Lance Taylor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
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
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.
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.
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