aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <jimw@sifive.com>2018-05-29 22:31:17 +0000
committerJim Wilson <wilson@gcc.gnu.org>2018-05-29 15:31:17 -0700
commit5af3ff21594b92c698fdc43269a0020f95a15c23 (patch)
treef1656e42ac846d753866f863849018a50cb61f54 /gcc
parent04eb9c55747cc28466875e891ac22acb3ea67644 (diff)
downloadgcc-5af3ff21594b92c698fdc43269a0020f95a15c23.zip
gcc-5af3ff21594b92c698fdc43269a0020f95a15c23.tar.gz
gcc-5af3ff21594b92c698fdc43269a0020f95a15c23.tar.bz2
RISC-V: Fix a comment typo.
* config/riscv/riscv.c (riscv_interrupt_type): Fix comment typo. From-SVN: r260907
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/riscv/riscv.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 63b7447..c9d89aa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2018-05-29 Jim Wilson <jimw@sifive.com>
+
+ * config/riscv/riscv.c (riscv_interrupt_type): Fix comment typo.
+
2018-05-29 Uros Bizjak <ubizjak@gmail.com>
PR target/85950
diff --git a/gcc/config/riscv/riscv.c b/gcc/config/riscv/riscv.c
index 7ea2657..6e389fa 100644
--- a/gcc/config/riscv/riscv.c
+++ b/gcc/config/riscv/riscv.c
@@ -2721,7 +2721,7 @@ riscv_handle_fndecl_attribute (tree *node, tree name,
return NULL_TREE;
}
-/* Return true if funcion TYPE is an interrupt function. */
+/* Return true if function TYPE is an interrupt function. */
static bool
riscv_interrupt_type_p (tree type)
{