Re: [PATCH 4/6] cfgrtl: Add missing call to `onlyjump_p'

2020-12-03 Thread Jeff Law via Gcc-patches
On 12/3/20 4:34 AM, Maciej W. Rozycki wrote: > 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. OK jeff

[PATCH 4/6] cfgrtl: Add missing call to `onlyjump_p'

2020-12-03 Thread Maciej W. Rozycki
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 |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) gcc-cfgrtl-block-em