cfgrtl: Add missing call to `onlyjump_p'
authorMaciej W. Rozycki <macro@linux-mips.org>
Sat, 5 Dec 2020 18:26:24 +0000 (18:26 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Sat, 5 Dec 2020 18:26:24 +0000 (18:26 +0000)
commit64880a7c49e2f60d1ccabf6798f5b0ea8234edc1
tree466f5387b828478355cf3a7eaf30f0d5bd67efc8
parent4ec78ef4837eab9b7ce3f20d7f7b39c8a2f1e41c
cfgrtl: Add missing call to `onlyjump_p'

If any unconditional jumps within a block have side effects then the
block cannot be considered empty.

gcc/
* cfgrtl.c (rtl_block_empty_p): Return false if `!onlyjump_p'
too.
gcc/cfgrtl.c