thanks. On Tue, May 17, 2022 at 3:09 PM Jakub Jelinek via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > Hi! > > When looking around the spot of the PR105591 fix, I've noticed a typo > and incorrectly formatted comment. > > Bootstrapped/regtested on x86_64-linux and i668-linux, committed to > trunk as obvious. > > 2022-05-17 Jakub Jelinek <ja...@redhat.com> > > * tree-ssa-forwprop.cc (simplify_bitfield_ref): Spelling fix: > hanlde -> handle. Fix up comment formatting. > > --- gcc/tree-ssa-forwprop.cc.jj 2022-05-13 09:34:24.027146889 +0200 > +++ gcc/tree-ssa-forwprop.cc 2022-05-16 11:54:06.704257100 +0200 > @@ -2356,14 +2356,14 @@ simplify_bitfield_ref (gimple_stmt_itera > code = gimple_assign_rhs_code (def_stmt); > elem_type = TREE_TYPE (TREE_TYPE (op0)); > type = TREE_TYPE (op); > - /* Also hanlde vector type. > - .i.e. > - _7 = VEC_PERM_EXPR <_1, _1, { 2, 3, 2, 3 }>; > - _11 = BIT_FIELD_REF <_7, 64, 0>; > + /* Also handle vector type. > + .i.e. > + _7 = VEC_PERM_EXPR <_1, _1, { 2, 3, 2, 3 }>; > + _11 = BIT_FIELD_REF <_7, 64, 0>; > > - to > + to > > - _11 = BIT_FIELD_REF <_1, 64, 64>. */ > + _11 = BIT_FIELD_REF <_1, 64, 64>. */ > > size = tree_to_poly_uint64 (TYPE_SIZE (type)); > if (maybe_ne (bit_field_size (op), size)) > > Jakub >
-- BR, Hongtao