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
/
c4x
/
c4x.c
diff --git
a/gcc/config/c4x/c4x.c
b/gcc/config/c4x/c4x.c
index
b7f54d9
..
3847591
100644
(file)
--- a/
gcc/config/c4x/c4x.c
+++ b/
gcc/config/c4x/c4x.c
@@
-4485,7
+4485,7
@@
c4x_handle_fntype_attribute (tree *node, tree name,
{
if (TREE_CODE (*node) != FUNCTION_TYPE)
{
- warning ("%qs attribute only applies to functions",
+ warning (
0,
"%qs attribute only applies to functions",
IDENTIFIER_POINTER (name));
*no_add_attrs = true;
}