On Tue, May 29, 2018 at 7:32 AM, Nathan Sidwell <[email protected]> wrote:
> On 05/25/2018 06:30 PM, Jim Wilson wrote:
>
>> -/* Return true if func is a naked function. */
>> +/* Return true if funcion TYPE is an interrupt function. */
>
> .....................^^^^^^^
>>
>> +static bool
>> +riscv_interrupt_type_p (tree type)
>
>
>
> funcion?
I checked in a patch to fix the typo.
Jim
* config/riscv/riscv.c (riscv_interrupt_type): Fix comment typo.
Index: gcc/config/riscv/riscv.c
===================================================================
--- gcc/config/riscv/riscv.c (revision 260906)
+++ gcc/config/riscv/riscv.c (working copy)
@@ -2721,7 +2721,7 @@
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)
{