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
../../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);
|
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):