diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-25 13:36:19 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-25 13:36:19 +0000 |
commit | e0f97db9eb84d304602eb35815ba9d188cd69e46 (patch) | |
tree | 84bddb2ec09b31241a95c5b1ded74d60cdff6239 /gcc/tree-mudflap.c | |
parent | f80df6b2af919960ad08a6f1901ddebb654f981b (diff) | |
download | gcc-e0f97db9eb84d304602eb35815ba9d188cd69e46.tar.gz |
2008-03-24 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r133512
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@133515 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-mudflap.c')
-rw-r--r-- | gcc/tree-mudflap.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/tree-mudflap.c b/gcc/tree-mudflap.c index cb0b4493601..59f4beca2b0 100644 --- a/gcc/tree-mudflap.c +++ b/gcc/tree-mudflap.c @@ -857,7 +857,8 @@ mf_xform_derefs_1 (block_stmt_iterator *iter, tree *tp, break; case ARRAY_RANGE_REF: - warning (0, "mudflap checking not yet implemented for ARRAY_RANGE_REF"); + warning (OPT_Wmudflap, + "mudflap checking not yet implemented for ARRAY_RANGE_REF"); return; case BIT_FIELD_REF: @@ -1043,7 +1044,8 @@ mx_register_decls (tree decl, tree *stmt_list) if (tsi_end_p (initially_stmts)) { if (!DECL_ARTIFICIAL (decl)) - warning (0, "mudflap cannot track %qs in stub function", + warning (OPT_Wmudflap, + "mudflap cannot track %qs in stub function", IDENTIFIER_POINTER (DECL_NAME (decl))); } else @@ -1272,7 +1274,8 @@ mudflap_finish_file (void) if (! COMPLETE_TYPE_P (TREE_TYPE (obj))) { - warning (0, "mudflap cannot track unknown size extern %qs", + warning (OPT_Wmudflap, + "mudflap cannot track unknown size extern %qs", IDENTIFIER_POINTER (DECL_NAME (obj))); continue; } |