OSDN Git Service

2009-07-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 2009 22:21:17 +0000 (22:21 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 2009 22:21:17 +0000 (22:21 +0000)
* tree-vrp.c (vrp_evaluate_conditional): Mark strings for
translation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149647 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-vrp.c

index 66697c4..44e90cb 100644 (file)
@@ -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.
index 117b199..5379b75 100644 (file)
@@ -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"));
        }
     }