aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2ctf.c
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2021-10-13 09:58:46 -0700
committerIndu Bhagat <indu.bhagat@oracle.com>2021-10-13 09:58:46 -0700
commit1456bd4720224b054942ec01800a95f41e2ccb02 (patch)
tree6f9601a34c892284bba90cfb910750ce9661e6b2 /gcc/dwarf2ctf.c
parent54fa5567a27eb7ee72cd2321d0291c8a9b436ce9 (diff)
downloadgcc-1456bd4720224b054942ec01800a95f41e2ccb02.zip
gcc-1456bd4720224b054942ec01800a95f41e2ccb02.tar.gz
gcc-1456bd4720224b054942ec01800a95f41e2ccb02.tar.bz2
dwarf2ctf: fix typo in comment
gcc/ChangeLog: * dwarf2ctf.c (gen_ctf_array_type): Fix typo in comment.
Diffstat (limited to 'gcc/dwarf2ctf.c')
-rw-r--r--gcc/dwarf2ctf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2ctf.c b/gcc/dwarf2ctf.c
index c9e7079..edd3281 100644
--- a/gcc/dwarf2ctf.c
+++ b/gcc/dwarf2ctf.c
@@ -368,7 +368,7 @@ gen_ctf_array_type (ctf_container_ref ctfc, dw_die_ref array_type)
/* DWARF array types pretend C supports multi-dimensional arrays.
So for the type int[N][M], the array type DIE contains two
- subrange_type children, the first iwth upper bound N-1 and the
+ subrange_type children, the first with upper bound N-1 and the
second with upper bound M-1.
CTF, on the other hand, just encodes each array type in its own