* tree-ssa-threadedge.c (thread_across_edge): Mark the start of
the jump thread path properly.
From-SVN: r205245
+2013-11-22 Jeff Law <law@redhat.com>
+
+ * tree-ssa-threadedge.c (thread_across_edge): Mark the start of the
+ jump thread path properly.
+
2013-11-22 Trevor Saunders <tsaunders@mozilla.com>
* vec.h (auto_vec): New class.
/* Avoid threading to any block we have already visited. */
bitmap_clear (visited);
- bitmap_set_bit (visited, taken_edge->dest->index);
+ bitmap_set_bit (visited, e->src->index);
bitmap_set_bit (visited, e->dest->index);
+ bitmap_set_bit (visited, taken_edge->dest->index);
vec<jump_thread_edge *> *path = new vec<jump_thread_edge *> ();
/* Record whether or not we were able to thread through a successor