Update on riscv -Wformat-diag string.

gcc/ChangeLog:

	* config/riscv/riscv.cc (riscv_handle_type_attribute):
	Update one -Wformat-diag string in warning message.
This commit is contained in:
Martin Liska 2022-01-19 10:32:13 +01:00
parent 53836c887a
commit fdf31ae25f

View File

@ -3309,8 +3309,8 @@ riscv_handle_type_attribute (tree *node ATTRIBUTE_UNUSED, tree name, tree args,
&& strcmp (string, "machine"))
{
warning (OPT_Wattributes,
"argument to %qE attribute is not %<user%>, %<supervisor%>, "
"or %<machine%>", name);
"argument to %qE attribute is not %<\"user\"%>, %<\"supervisor\"%>, "
"or %<\"machine\"%>", name);
*no_add_attrs = true;
}
}