projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53836c8
)
Update on riscv -Wformat-diag string.
author
Martin Liska
<mliska@suse.cz>
Wed, 19 Jan 2022 09:32:13 +0000
(10:32 +0100)
committer
Martin Liska
<mliska@suse.cz>
Wed, 19 Jan 2022 09:33:01 +0000
(10:33 +0100)
gcc/ChangeLog:
* config/riscv/riscv.cc (riscv_handle_type_attribute):
Update one -Wformat-diag string in warning message.
gcc/config/riscv/riscv.cc
patch
|
blob
|
history
diff --git
a/gcc/config/riscv/riscv.cc
b/gcc/config/riscv/riscv.cc
index
8314864
..
6885b4b
100644
(file)
--- a/
gcc/config/riscv/riscv.cc
+++ b/
gcc/config/riscv/riscv.cc
@@
-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;
}
}