linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: linux-sparse@vger.kernel.org
Cc: Christopher Li <sparse@chrisli.org>,
	Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Subject: [PATCH v2 2/3] let kill_unreachable_bbs() clear REPEAT_CFG_CLEANUP
Date: Fri, 12 May 2017 00:26:20 +0200	[thread overview]
Message-ID: <20170511222621.88420-3-luc.vanoostenryck@gmail.com> (raw)
In-Reply-To: <20170511222621.88420-1-luc.vanoostenryck@gmail.com>

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 flow.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/flow.c b/flow.c
index 94a8ec746..09c9b8075 100644
--- a/flow.c
+++ b/flow.c
@@ -825,6 +825,8 @@ void kill_unreachable_bbs(struct entrypoint *ep)
 		DELETE_CURRENT_PTR(bb);
 	} END_FOR_EACH_PTR(bb);
 	PACK_PTR_LIST(&ep->bbs);
+
+	repeat_phase &= ~REPEAT_CFG_CLEANUP;
 }
 
 static int rewrite_parent_branch(struct basic_block *bb, struct basic_block *old, struct basic_block *new)
-- 
2.12.2


  parent reply	other threads:[~2017-05-11 22:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-08 18:57 [PATCH] fix: kill unreachable BBs after killing a child Luc Van Oostenryck
2017-05-09 10:38 ` Christopher Li
2017-05-09 15:27   ` Luc Van Oostenryck
2017-05-09 16:08     ` Christopher Li
2017-05-11 22:26       ` [PATCH v2 0/3] fix false "crazy programmer" warning Luc Van Oostenryck
2017-05-11 22:26         ` [PATCH v2 1/3] introduce REPEAT_CFG_CLEANUP Luc Van Oostenryck
2017-05-11 22:26         ` Luc Van Oostenryck [this message]
2017-05-11 22:26         ` [PATCH v2 3/3] fix: kill unreachable BBs after killing a child Luc Van Oostenryck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170511222621.88420-3-luc.vanoostenryck@gmail.com \
    --to=luc.vanoostenryck@gmail.com \
    --cc=linux-sparse@vger.kernel.org \
    --cc=sparse@chrisli.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).