diff options
Diffstat (limited to 'gcc/mode-switching.c')
-rw-r--r-- | gcc/mode-switching.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/mode-switching.c b/gcc/mode-switching.c index 8e9bde302a3..3470ba7cb1a 100644 --- a/gcc/mode-switching.c +++ b/gcc/mode-switching.c @@ -664,9 +664,7 @@ optimize_mode_switching (void) if (mode_set != NULL_RTX) { emited = true; - if (NOTE_P (ptr->insn_ptr) - && (NOTE_LINE_NUMBER (ptr->insn_ptr) - == NOTE_INSN_BASIC_BLOCK)) + if (NOTE_INSN_BASIC_BLOCK_P (ptr->insn_ptr)) emit_insn_after (mode_set, ptr->insn_ptr); else emit_insn_before (mode_set, ptr->insn_ptr); |