* genattrtab.c (write_attr_case): Also emit FALLTHRU marker.
authorMarek Polacek <polacek@redhat.com>
Thu, 29 Sep 2016 16:28:38 +0000 (16:28 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 29 Sep 2016 16:28:38 +0000 (16:28 +0000)
From-SVN: r240626

gcc/ChangeLog
gcc/genattrtab.c

index bb83b0648657ac73c4b42ac568e22b50e6303c93..b3731d2de974cc1a415a9246ef7c807b3a0a33b1 100644 (file)
@@ -1,3 +1,7 @@
+2016-09-29  Marek Polacek  <polacek@redhat.com>
+
+       * genattrtab.c (write_attr_case): Also emit FALLTHRU marker.
+
 2016-09-29  Bernd Schmidt  <bschmidt@redhat.com>
 
        * builtins.c (expand_builtin_memcmp): don't swap args unless
index c8e166e3c4e754947b39fa306c03439df647b588..3b47f34ec75747eea5a5ec02964ffa8f1e73e201 100644 (file)
@@ -4283,6 +4283,8 @@ write_attr_case (FILE *outf, struct attr_desc *attr, struct attr_value *av,
       fprintf (outf, "    && asm_noperands (PATTERN (insn)) < 0)\n");
       write_indent (outf, indent + 2);
       fprintf (outf, "  fatal_insn_not_found (insn);\n");
+      write_indent (outf, indent + 2);
+      fprintf (outf, "/* FALLTHRU */\n");
     }
 
   if (write_case_lines)