diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-07-01 12:11:16 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-07-01 12:11:16 +0200 |
commit | 946ddcdf1549e26579550b43acb7757a9c201b62 (patch) | |
tree | e57c7af6d6732920c633f4a2913dfa076f47b287 | |
parent | c52d6043af02cab99e82b015d5baddcb5423624f (diff) | |
download | gcc-946ddcdf1549e26579550b43acb7757a9c201b62.zip gcc-946ddcdf1549e26579550b43acb7757a9c201b62.tar.gz gcc-946ddcdf1549e26579550b43acb7757a9c201b62.tar.bz2 |
re PR sanitizer/81262 (verify_flow_info failed for asmgoto test-case with -fsanitize=undefined)
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.
From-SVN: r249866
-rw-r--r-- | gcc/bb-reorder.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index 846c291..cfb7242 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) |