From: jakub Date: Sat, 1 Jul 2017 10:11:16 +0000 (+0000) Subject: PR sanitizer/81262 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=92d8730e6e144ac6bf2d27bbda650d4acdadb4c9;p=thirdparty%2Fgcc.git PR sanitizer/81262 * bb-reorder.c (fix_up_fall_thru_edges): Move variable declarations to the right scopes, make sure cond_jump isn't preserved between multiple iterations. Search for fallthru edge whenever there are 3+ edges and use find_fallthru_edge for it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249866 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index 846c291e9b4d..cfb724269b19 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -1819,7 +1819,6 @@ fix_up_fall_thru_edges (void) edge succ2; edge fall_thru = NULL; edge cond_jump = NULL; - rtx_code_label *fall_thru_label; fall_thru = NULL; if (EDGE_COUNT (cur_bb->succs) > 0)