Re: [PATCH 5/6] loop-doloop: Add missing call to `onlyjump_p'

2020-12-03 Thread Jeff Law via Gcc-patches
On 12/3/20 4:35 AM, Maciej W. Rozycki wrote: > Keep any jump that has side effects as those must not be removed. > > gcc/ > * loop-doloop.c (add_test): Only remove the jump if `onlyjump_p'. OK jeff

Re: [PATCH 5/6] loop-doloop: Add missing call to `onlyjump_p'

2020-12-03 Thread Jeff Law via Gcc-patches
On 12/3/20 4:35 AM, Maciej W. Rozycki wrote: > Keep any jump that has side effects as those must not be removed. > > gcc/ > * loop-doloop.c (add_test): Only remove the jump if `onlyjump_p'. OK jeff

[PATCH 5/6] loop-doloop: Add missing call to `onlyjump_p'

2020-12-03 Thread Maciej W. Rozycki
Keep any jump that has side effects as those must not be removed. gcc/ * loop-doloop.c (add_test): Only remove the jump if `onlyjump_p'. --- gcc/loop-doloop.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) gcc-loop-doloop-add-test-only-jump.diff Index: gcc/gcc/loop-dolo