OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* diagnostic.c (warning): Accept parameter to classify warning option.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
config
/
mcore
/
mcore.c
diff --git
a/gcc/config/mcore/mcore.c
b/gcc/config/mcore/mcore.c
index
0b8b415
..
826e787
100644
(file)
--- a/
gcc/config/mcore/mcore.c
+++ b/
gcc/config/mcore/mcore.c
@@
-3059,7
+3059,7
@@
mcore_handle_naked_attribute (tree * node, tree name, tree args ATTRIBUTE_UNUSED
}
else
{
- warning ("%qs attribute only applies to functions",
+ warning (
0,
"%qs attribute only applies to functions",
IDENTIFIER_POINTER (name));
*no_add_attrs = true;
}