diff options
Diffstat (limited to 'gcc/cp/typeck.c')
-rw-r--r-- | gcc/cp/typeck.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index 3a247d8..1ffb135 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -4492,7 +4492,7 @@ cp_build_binary_op (location_t location, || (TREE_CODE (orig_op1) == STRING_CST && !integer_zerop (cp_fully_fold (op0))))) warning (OPT_Waddress, "comparison with string literal results " - "in unspecified behaviour"); + "in unspecified behavior"); build_type = boolean_type_node; if ((code0 == INTEGER_TYPE || code0 == REAL_TYPE @@ -4793,7 +4793,8 @@ cp_build_binary_op (location_t location, || TREE_CODE (orig_op1) == STRING_CST) { if (complain & tf_warning) - warning (OPT_Waddress, "comparison with string literal results in unspecified behaviour"); + warning (OPT_Waddress, "comparison with string literal results " + "in unspecified behavior"); } if (code0 == VECTOR_TYPE && code1 == VECTOR_TYPE) |