diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2007-10-17 00:11:25 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2007-10-17 00:11:25 +0000 |
commit | c54092492e15aeccc804c24f70b806ce4bb8cd1a (patch) | |
tree | d6cc9fecfe33bc3024a4f7fb1ce0b9a10e49997c /gcc/tree-optimize.c | |
parent | 2e8cd6eb31d5e2fc5b01f3c4ecc12dfa81d9bf5d (diff) | |
download | gcc-c54092492e15aeccc804c24f70b806ce4bb8cd1a.zip gcc-c54092492e15aeccc804c24f70b806ce4bb8cd1a.tar.gz gcc-c54092492e15aeccc804c24f70b806ce4bb8cd1a.tar.bz2 |
builtins.c (gimplify_va_arg_expr): Use inform for help message.
2007-10-17 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* builtins.c (gimplify_va_arg_expr): Use inform for help message.
* toplev.c (check_global_declaration_1): Use appropriate warning
option instead of unnamed warning.
* stor-layout.c (layout_decl): Likewise.
* c-typeck.c (build_conditional_expr): Likewise.
(build_compound_expr): Fix wrong comment.
(build_binary_op): Use appropriate warning option instead of
unnamed warning.
* cfgexpand.c (tree_expand_cfg): Likewise.
* tree-optimize.c (tree_rest_of_compilation): Likewise.
* tree-cfg.c (remove_useless_stmts_warn_notreached): Likewise.
(execute_warn_function_return): Likewise.
* stmt.c (warn_if_unused_value): Likewise.
cp/
* typeck.c (build_binary_op) : Use appropriate warning option
instead of unnamed warning.
From-SVN: r129393
Diffstat (limited to 'gcc/tree-optimize.c')
-rw-r--r-- | gcc/tree-optimize.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c index e367bb7..cb30ba4 100644 --- a/gcc/tree-optimize.c +++ b/gcc/tree-optimize.c @@ -427,10 +427,10 @@ tree_rest_of_compilation (tree fndecl) = TREE_INT_CST_LOW (TYPE_SIZE_UNIT (ret_type)); if (compare_tree_int (TYPE_SIZE_UNIT (ret_type), size_as_int) == 0) - warning (0, "size of return value of %q+D is %u bytes", + warning (OPT_Wlarger_than_, "size of return value of %q+D is %u bytes", fndecl, size_as_int); else - warning (0, "size of return value of %q+D is larger than %wd bytes", + warning (OPT_Wlarger_than_, "size of return value of %q+D is larger than %wd bytes", fndecl, larger_than_size); } } |