From a14b1c1c1175cb73167a778dda3a73b5de351a94 Mon Sep 17 00:00:00 2001 From: Fritz Reese Date: Tue, 1 Nov 2016 15:29:51 +0000 Subject: [PATCH] Mark fallthrough cases with gcc_fallthrough. * gcc/combine.c (simplify_compare_const): Add gcc_fallthrough. From-SVN: r241744 --- gcc/ChangeLog | 4 ++++ gcc/combine.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8c6331e13b9..46aeac1c2c9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-11-01 Fritz Reese + + * gcc/combine.c (simplify_compare_const): Add gcc_fallthrough. + 2016-11-01 Bilyan Borisov Tamar Christina diff --git a/gcc/combine.c b/gcc/combine.c index 60a127f2e53..6cbb8cfb23e 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -11414,6 +11414,7 @@ simplify_compare_const (enum rtx_code code, machine_mode mode, const_op -= 1; code = LE; /* ... fall through to LE case below. */ + gcc_fallthrough (); } else break; @@ -11443,6 +11444,7 @@ simplify_compare_const (enum rtx_code code, machine_mode mode, const_op -= 1; code = GT; /* ... fall through to GT below. */ + gcc_fallthrough (); } else break; -- 2.30.2