From f90b32b95bac7d534a96a032af466f1b5087371b Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Thu, 29 Sep 2016 16:28:38 +0000 Subject: [PATCH] * genattrtab.c (write_attr_case): Also emit FALLTHRU marker. From-SVN: r240626 --- gcc/ChangeLog | 4 ++++ gcc/genattrtab.c | 2 ++ 2 files changed, 6 insertions(+) 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) -- 2.30.2