On 02/16/15 14:11, Jakub Jelinek wrote:
On Mon, Feb 16, 2015 at 02:00:32PM -0700, Jeff Law wrote:
--- a/gcc/tree-vrp.c
+++ b/gcc/tree-vrp.c
@@ -10176,13 +10176,20 @@ identify_jump_threads (void)
/* We only care about blocks ending in a COND_EXPR. While there
may be some value in handling SWITCH_EXPR here, I doubt it's
terribly important. */
- last = gsi_stmt (gsi_last_bb (bb));
+ last = gsi_stmt (gsi_last_nondebug_bb (bb));
Isn't that just
last = last_stmt (bb);
equivalent?
It is. I'll make that change and update the comment as well.
jeff