diff options
author | Marek Polacek <polacek@redhat.com> | 2017-10-23 17:03:11 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2017-10-23 17:03:11 +0000 |
commit | d1047465199d48014b8e81cd4a7ba9d0365e6fe3 (patch) | |
tree | 3fb72c8b0056bb6330e4d8badab81416766f266b /gcc/c-family | |
parent | 66f4014d4bf82b7f92c99d18513cc6dc947b9ece (diff) | |
download | gcc-d1047465199d48014b8e81cd4a7ba9d0365e6fe3.zip gcc-d1047465199d48014b8e81cd4a7ba9d0365e6fe3.tar.gz gcc-d1047465199d48014b8e81cd4a7ba9d0365e6fe3.tar.bz2 |
re PR c/82681 (c-warn.c:1218: typo in warning message)
PR c/82681
* c-warn.c (warnings_for_convert_and_check): Fix typos.
* gcc.dg/c90-const-expr-11.c: Fix typos in dg-warning.
* gcc.dg/overflow-warn-5.c: Likewise.
* gcc.dg/overflow-warn-8.c: Likewise.
From-SVN: r254014
Diffstat (limited to 'gcc/c-family')
-rw-r--r-- | gcc/c-family/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c-family/c-warn.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 963c79a..552c680 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2017-10-23 Marek Polacek <polacek@redhat.com> + + PR c/82681 + * c-warn.c (warnings_for_convert_and_check): Fix typos. + 2017-10-19 Eric Botcazou <ebotcazou@adacore.com> * c-common.c (check_builtin_function_arguments): Also check arguments diff --git a/gcc/c-family/c-warn.c b/gcc/c-family/c-warn.c index cb1db03..78f6ba8 100644 --- a/gcc/c-family/c-warn.c +++ b/gcc/c-family/c-warn.c @@ -1215,12 +1215,12 @@ warnings_for_convert_and_check (location_t loc, tree type, tree expr, if (cst) warning_at (loc, OPT_Woverflow, "overflow in conversion from %qT to %qT " - "chages value from %qE to %qE", + "changes value from %qE to %qE", exprtype, type, expr, result); else warning_at (loc, OPT_Woverflow, "overflow in conversion from %qT to %qT " - "chages the value of %qE", + "changes the value of %qE", exprtype, type, expr); } else |