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
* common.opt (-Wattributes): New. Default true.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
config
/
m32r
/
m32r.c
diff --git
a/gcc/config/m32r/m32r.c
b/gcc/config/m32r/m32r.c
index
6e08203
..
c27b244
100644
(file)
--- a/
gcc/config/m32r/m32r.c
+++ b/
gcc/config/m32r/m32r.c
@@
-387,7
+387,7
@@
m32r_handle_model_attribute (tree *node ATTRIBUTE_UNUSED, tree name,
&& arg != large_ident1
&& arg != large_ident2)
{
- warning (
0
, "invalid argument of %qs attribute",
+ warning (
OPT_Wattributes
, "invalid argument of %qs attribute",
IDENTIFIER_POINTER (name));
*no_add_attrs = true;
}