In gcc/cp/typeck.c there is this code. if (tree_int_cst_lt (op1, integer_zero_node)) warning (0, "%s rotate count is negative", (code == LROTATE_EXPR) ? "left" : "right"); else if (compare_tree_int (op1, TYPE_PRECISION (type0)) >= 0) warning (0, "%s rotate count >= width of type", (code == LROTATE_EXPR) ? "left" : "right"); Here "left" and "right" will not be translated. So it is not possible to do a correct translation of these messages.
Confirmed. Easiest is to simply remove distinguishing between left and right.
Subject: Bug 29033 Author: mueller Date: Sat Oct 28 22:34:06 2006 New Revision: 118117 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118117 Log: 2006-10-29 Dirk Mueller <dmueller@suse.de> PR c++/29033 * typeck.c (build_binary_op): Duplicate warning message for better translation. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/typeck.c
Fixed for 4.3.