aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2022-05-17 09:06:55 +0200
committerJakub Jelinek <jakub@redhat.com>2022-05-17 09:06:55 +0200
commitbc9aa450eb47e440a4b909a10a271fe074e896eb (patch)
tree3565a6f0386b566a645d32be05c76a1ca541f135 /gcc
parent105c56a8cfde6015b989ab22c20c915c1b4e69ec (diff)
downloadgcc-bc9aa450eb47e440a4b909a10a271fe074e896eb.zip
gcc-bc9aa450eb47e440a4b909a10a271fe074e896eb.tar.gz
gcc-bc9aa450eb47e440a4b909a10a271fe074e896eb.tar.bz2
forwprop: Fix a typo and comment formatting
When looking around the spot of the PR105591 fix, I've noticed a typo and incorrectly formatted comment. 2022-05-17 Jakub Jelinek <jakub@redhat.com> * tree-ssa-forwprop.cc (simplify_bitfield_ref): Spelling fix: hanlde -> handle. Fix up comment formatting.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/tree-ssa-forwprop.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/tree-ssa-forwprop.cc b/gcc/tree-ssa-forwprop.cc
index 7da3f80..0917202 100644
--- a/gcc/tree-ssa-forwprop.cc
+++ b/gcc/tree-ssa-forwprop.cc
@@ -2356,14 +2356,14 @@ simplify_bitfield_ref (gimple_stmt_iterator *gsi)
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))