Re: [committed] Unbreak bootstrap on most targets (was Re: [PATCH] PR90838: Support ctz idioms)

2020-01-11 Thread Jakub Jelinek
On Sat, Jan 11, 2020 at 05:24:19PM +0100, Andreas Schwab wrote: > ../../gcc/tree-ssa-forwprop.c: In function 'bool > simplify_count_trailing_zeroes(gimple_stmt_iterator*)': > ../../gcc/tree-ssa-forwprop.c:1925:23: error: variable 'mode' set but not > used [-Werror=unused-but-set-variable] > 1925

Re: [committed] Unbreak bootstrap on most targets (was Re: [PATCH] PR90838: Support ctz idioms)

2020-01-11 Thread Andreas Schwab
../../gcc/tree-ssa-forwprop.c: In function 'bool simplify_count_trailing_zeroes(gimple_stmt_iterator*)': ../../gcc/tree-ssa-forwprop.c:1925:23: error: variable 'mode' set but not used [-Werror=unused-but-set-variable] 1925 | scalar_int_mode mode = SCALAR_INT_TYPE_MODE (type); |

[committed] Unbreak bootstrap on most targets (was Re: [PATCH] PR90838: Support ctz idioms)

2020-01-10 Thread Jakub Jelinek
On Thu, Jan 09, 2020 at 02:26:10PM +0100, Richard Biener wrote: > > 2019-12-11 Wilco Dijkstra > > > > PR tree-optimization/90838 > > * tree-ssa-forwprop.c (check_ctz_array): Add new function. > > (check_ctz_string): Likewise. > > (optimize_count_trailing_zeroes):