gimple-ssa-sprintf.c (pass_sprintf_length::compute_format_length): Add falls through...
authorMarek Polacek <polacek@redhat.com>
Wed, 21 Sep 2016 11:08:11 +0000 (11:08 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 21 Sep 2016 11:08:11 +0000 (11:08 +0000)
* gimple-ssa-sprintf.c (pass_sprintf_length::compute_format_length):
Add falls through comment.

From-SVN: r240311

gcc/ChangeLog
gcc/gimple-ssa-sprintf.c

index 1862dabe5b5821442a0174c3fb7479d8996c8372..86b0802ddd34ef28ab5fa77b95ca89c7f9a2ff5c 100644 (file)
@@ -1,3 +1,8 @@
+2016-09-21  Marek Polacek  <polacek@redhat.com>
+
+       * gimple-ssa-sprintf.c (pass_sprintf_length::compute_format_length):
+       Add falls through comment.
+
 2016-09-21  Richard Biener  <rguenther@suse.de>
 
        * dwarf2out.c (remove_child_with_prev): Clear child->die_sib.
index 0afcf68c7bbb7a319e73734da4d5fe86e498b85c..dddb026b27f05fc5d28e9b5c3cf74a19e2e98f88 100644 (file)
@@ -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;