mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 19:31:06 +08:00
re PR middle-end/53031 (gcc.dg/tree-ssa/vrp54.c scan-tree-dump-not vrp1 "link_error")
2012-04-19 Richard Guenther <rguenther@suse.de> PR tree-optimization/53031 * tree-vrp.c (adjust_range_with_scev): Revert back to using max_loop_iterations. From-SVN: r186592
This commit is contained in:
parent
80f2435130
commit
7c98ec605d
@ -1,3 +1,9 @@
|
||||
2012-04-19 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/53031
|
||||
* tree-vrp.c (adjust_range_with_scev): Revert back to
|
||||
using max_loop_iterations.
|
||||
|
||||
2012-04-19 Michael Matz <matz@suse.de>
|
||||
|
||||
* diagnostic.c (emit_diagnostic): Move va_end call after user
|
||||
|
@ -3420,7 +3420,9 @@ adjust_range_with_scev (value_range_t *vr, struct loop *loop,
|
||||
{
|
||||
double_int nit;
|
||||
|
||||
if (max_stmt_executions (loop, &nit))
|
||||
/* We are only entering here for loop header PHI nodes, so using
|
||||
the number of latch executions is the correct thing to use. */
|
||||
if (max_loop_iterations (loop, &nit))
|
||||
{
|
||||
value_range_t maxvr = { VR_UNDEFINED, NULL_TREE, NULL_TREE, NULL };
|
||||
double_int dtmp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user