the jump thread path properly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205245
138bc75d-0d04-0410-961f-
82ee72b054a4
+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