+2019-04-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/90015
+ * config/riscv/riscv.c (riscv_get_interrupt_type): Fix comment typo.
+ (riscv_merge_decl_attributes): Fix typo in diagnostics. Remove
+ trailing period from it too.
+
2019-04-08 wu yuan <wuyuan5@huawei.com>
* config/aarch64/aarch64-cores.def (tsv1100): Change scheduling model.
return true;
}
-/* Get the intterupt type, return UNKNOWN_MODE if it's not
+/* Get the interrupt type, return UNKNOWN_MODE if it's not
interrupt function. */
static enum riscv_privilege_levels
riscv_get_interrupt_type (tree decl)
if ((old_interrupt_type != UNKNOWN_MODE)
&& (new_interrupt_type != UNKNOWN_MODE)
&& (old_interrupt_type != new_interrupt_type))
- error ("%qs function cannot have different intterupt type.", "interrupt");
+ error ("%qs function cannot have different interrupt type", "interrupt");
/* Create combined attributes. */
combined_attrs = merge_attributes (DECL_ATTRIBUTES (olddecl),
+2019-04-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/90015
+ * gcc.target/riscv/interrupt-conflict-mode.c (foo): Adjust expected
+ diagnostics.
+
2019-04-08 Richard Biener <rguenther@suse.de>
PR tree-optimization/90006