aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2009-07-14 22:21:17 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2009-07-14 22:21:17 +0000
commit813ecd68c42ec964db2d66d8d971c1ccc8fbddc2 (patch)
tree38c70d0e67d68ac32f1c1deaaa09e0eba7f8d8a5
parent6589cf840186a879c2837e64ce2b0ab314fa835e (diff)
2009-07-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
* tree-vrp.c (vrp_evaluate_conditional): Mark strings for translation. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@149647 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-vrp.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 66697c48833..44e90cbfff8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
+
+ * tree-vrp.c (vrp_evaluate_conditional): Mark strings for
+ translation.
+
2009-07-14 DJ Delorie <dj@redhat.com>
* config/mep/mep.c (mep_vliw_jmp_match): New function.
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c
index 117b1992816..5379b7555ac 100644
--- a/gcc/tree-vrp.c
+++ b/gcc/tree-vrp.c
@@ -5749,8 +5749,10 @@ vrp_evaluate_conditional (enum tree_code code, tree op0, tree op1, gimple stmt)
warning_at (location, OPT_Wtype_limits,
integer_zerop (ret)
- ? "comparison always false due to limited range of data type"
- : "comparison always true due to limited range of data type");
+ ? G_("comparison always false "
+ "due to limited range of data type")
+ : G_("comparison always true "
+ "due to limited range of data type"));
}
}