aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorShujing Zhao <pearly.zhao@oracle.com>2010-06-08 04:07:55 +0000
committerShujing Zhao <pzhao@gcc.gnu.org>2010-06-08 04:07:55 +0000
commit49c8958b5848f2d779b3777c43d7ec02fc62c466 (patch)
tree72209f6fb41631f9f281e41d2bc2f78bffb27703 /gcc/tree-inline.c
parent6a8f4e12f5e44e292123c7424f703f8a7206e3a5 (diff)
downloadgcc-49c8958b5848f2d779b3777c43d7ec02fc62c466.zip
gcc-49c8958b5848f2d779b3777c43d7ec02fc62c466.tar.gz
gcc-49c8958b5848f2d779b3777c43d7ec02fc62c466.tar.bz2
fold-const.c (fold_comparison): Remove redundant parenthesis.
2010-06-08 Shujing Zhao <pearly.zhao@oracle.com> * fold-const.c (fold_comparison): Remove redundant parenthesis. * tree-inline.c (expand_call_inline): Pass translated return value of cgraph_inline_failed_string to diagnostic function. From-SVN: r160419
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 696cb00..72bef21 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -3774,7 +3774,7 @@ expand_call_inline (basic_block bb, gimple stmt, copy_body_data *id)
&& cgraph_global_info_ready)
{
sorry ("inlining failed in call to %q+F: %s", fn,
- cgraph_inline_failed_string (reason));
+ _(cgraph_inline_failed_string (reason)));
sorry ("called from here");
}
else if (warn_inline && DECL_DECLARED_INLINE_P (fn)
@@ -3785,7 +3785,7 @@ expand_call_inline (basic_block bb, gimple stmt, copy_body_data *id)
&& cgraph_global_info_ready)
{
warning (OPT_Winline, "inlining failed in call to %q+F: %s",
- fn, cgraph_inline_failed_string (reason));
+ fn, _(cgraph_inline_failed_string (reason)));
warning (OPT_Winline, "called from here");
}
goto egress;