aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2017-10-18 13:23:50 +0200
committerMartin Liska <marxin@gcc.gnu.org>2017-10-18 11:23:50 +0000
commit368b626f2626a7752a18c7f9b817e49f3f587226 (patch)
treecbb4f00ce86bdb0146c188d07f9bff8caf790afc /gcc/combine.c
parentc96738e3218fbdd5b3822c599d1a341c0d37008d (diff)
downloadgcc-368b626f2626a7752a18c7f9b817e49f3f587226.zip
gcc-368b626f2626a7752a18c7f9b817e49f3f587226.tar.gz
gcc-368b626f2626a7752a18c7f9b817e49f3f587226.tar.bz2
Fix -Wimplicit-fallthrough in combine.c
2017-10-18 Martin Liska <mliska@suse.cz> * combine.c (simplify_compare_const): Add gcc_fallthrough. From-SVN: r253853
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 3b96d86..757ae6f 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -11791,6 +11791,7 @@ simplify_compare_const (enum rtx_code code, machine_mode mode,
const_op -= 1;
code = LEU;
/* ... fall through ... */
+ gcc_fallthrough ();
}
/* (unsigned) < 0x80000000 is equivalent to >= 0. */
else if (is_a <scalar_int_mode> (mode, &int_mode)
@@ -11828,6 +11829,7 @@ simplify_compare_const (enum rtx_code code, machine_mode mode,
const_op -= 1;
code = GTU;
/* ... fall through ... */
+ gcc_fallthrough ();
}
/* (unsigned) >= 0x80000000 is equivalent to < 0. */