This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Add FALLTHRU to gimple-ssa-sprintf.c
- From: Marek Polacek <polacek at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Martin Sebor <msebor at redhat dot com>
- Date: Wed, 21 Sep 2016 12:52:33 +0200
- Subject: Add FALLTHRU to gimple-ssa-sprintf.c
- Authentication-results: sourceware.org; auth=none
Pointed out by Tobias. This looks like a missing fallthru marker.
Ok?
2016-09-21 Marek Polacek <polacek@redhat.com>
* gimple-ssa-sprintf.c (pass_sprintf_length::compute_format_length):
Add falls through comment.
diff --git gcc/gimple-ssa-sprintf.c gcc/gimple-ssa-sprintf.c
index 0afcf68..dddb026 100644
--- gcc/gimple-ssa-sprintf.c
+++ gcc/gimple-ssa-sprintf.c
@@ -2260,6 +2260,7 @@ pass_sprintf_length::compute_format_length (const call_info &info,
case '\0':
--pf;
res->bounded = false;
+ /* FALLTHRU */
case '%':
spec.fmtfunc = format_percent;
break;
Marek