From: Marek Polacek Date: Thu, 29 Sep 2016 16:28:38 +0000 (+0000) Subject: * genattrtab.c (write_attr_case): Also emit FALLTHRU marker. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f90b32b95bac7d534a96a032af466f1b5087371b;p=gcc.git * genattrtab.c (write_attr_case): Also emit FALLTHRU marker. From-SVN: r240626 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bb83b064865..b3731d2de97 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-09-29 Marek Polacek + + * genattrtab.c (write_attr_case): Also emit FALLTHRU marker. + 2016-09-29 Bernd Schmidt * builtins.c (expand_builtin_memcmp): don't swap args unless diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index c8e166e3c4e..3b47f34ec75 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -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)