This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/77974] m68k bootstrap failure due to -Werror=implicit-fallthrough


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77974

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
This should fix it, but is the fallthru really intended?

--- a/gcc/config/m68k/m68k.c
+++ b/gcc/config/m68k/m68k.c
@@ -4548,6 +4548,7 @@ m68k_get_reloc_decoration (enum m68k_reloc reloc)
        }
        }
    }
+      /* FALLTHRU */

     case RELOC_TLSGD:
       return "@TLSGD";

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]