diff options
Diffstat (limited to 'gcc/gimple-lower-bitint.cc')
-rw-r--r-- | gcc/gimple-lower-bitint.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/gimple-lower-bitint.cc b/gcc/gimple-lower-bitint.cc index 8809389..0910477 100644 --- a/gcc/gimple-lower-bitint.cc +++ b/gcc/gimple-lower-bitint.cc @@ -5827,7 +5827,7 @@ gimple_lower_bitint (void) tree_code rhs_code; /* Unoptimize certain constructs to simpler alternatives to avoid having to lower all of them. */ - if (is_gimple_assign (stmt)) + if (is_gimple_assign (stmt) && gimple_bb (stmt)) switch (rhs_code = gimple_assign_rhs_code (stmt)) { default: @@ -6690,6 +6690,11 @@ gimple_lower_bitint (void) release_ssa_name (s); continue; } + if (gimple_bb (g) == NULL) + { + release_ssa_name (s); + continue; + } if (gimple_code (g) != GIMPLE_ASM) { gimple_stmt_iterator gsi = gsi_for_stmt (g); |