From: Jeff Law Date: Wed, 26 Oct 2016 16:15:38 +0000 (-0600) Subject: frv.c (comparison_string): Do not fall through after an error. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f4bf94e9c3c8b11607234439a72347729717ae6;p=gcc.git frv.c (comparison_string): Do not fall through after an error. * config/frv/frv.c (comparison_string): Do not fall through after an error. From-SVN: r241576 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index afa456280a3..53d751df4d1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2016-10-26 Jeff Law + * config/frv/frv.c (comparison_string): Do not fall through after + an error. + * config/iq2000/iq2000.c (iq2000_function_arg): Adjust fallthru comment. (expand_one_builtin): Add missing break. diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index 352bcff681d..50899a7e487 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -2688,7 +2688,7 @@ comparison_string (enum rtx_code code, rtx op0) bool is_nz_p = GET_MODE (op0) == CC_NZmode; switch (code) { - default: output_operand_lossage ("bad condition code"); + default: output_operand_lossage ("bad condition code"); return ""; case EQ: return "eq"; case NE: return "ne"; case LT: return is_nz_p ? "n" : "lt";