Commit a14b1c1c by Fritz Reese Committed by Fritz Reese

Mark fallthrough cases with gcc_fallthrough.

	* gcc/combine.c (simplify_compare_const): Add gcc_fallthrough.

From-SVN: r241744
parent 69907c4a
2016-11-01 Fritz Reese <fritzoreese@gmail.com>
* gcc/combine.c (simplify_compare_const): Add gcc_fallthrough.
2016-11-01 Bilyan Borisov <bilyan.borisov@arm.com> 2016-11-01 Bilyan Borisov <bilyan.borisov@arm.com>
Tamar Christina <tamar.christina@arm.com> Tamar Christina <tamar.christina@arm.com>
...@@ -11414,6 +11414,7 @@ simplify_compare_const (enum rtx_code code, machine_mode mode, ...@@ -11414,6 +11414,7 @@ simplify_compare_const (enum rtx_code code, machine_mode mode,
const_op -= 1; const_op -= 1;
code = LE; code = LE;
/* ... fall through to LE case below. */ /* ... fall through to LE case below. */
gcc_fallthrough ();
} }
else else
break; break;
...@@ -11443,6 +11444,7 @@ simplify_compare_const (enum rtx_code code, machine_mode mode, ...@@ -11443,6 +11444,7 @@ simplify_compare_const (enum rtx_code code, machine_mode mode,
const_op -= 1; const_op -= 1;
code = GT; code = GT;
/* ... fall through to GT below. */ /* ... fall through to GT below. */
gcc_fallthrough ();
} }
else else
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment