This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Implement -Wimplicit-fallthrough: the rest
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 29 Jul 2016 17:26:19 +0000
- Subject: Re: Implement -Wimplicit-fallthrough: the rest
- Authentication-results: sourceware.org; auth=none
- References: <20160722104430.GH7007@redhat.com>
On Fri, 22 Jul 2016, Marek Polacek wrote:
> gcc/go/
> * go-system.h (go_fallthrough): Define.
> * gofrontend/escape.cc (Escape_analysis_assign::assign): Add
> go_fallthrough.
> * gofrontend/expressions.cc (Binary_expression::do_get_backend):
> Likewise.
gofrontend is externally maintained and should not be modified locally.
> libgcc/
> * soft-fp/op-common.h: Add _FP_FALLTHRU.
> * soft-fp/soft-fp.h (_FP_FALLTHRU): Define.
Likewise soft-fp (and I think a comment would be better than anything
needing version conditionals).
--
Joseph S. Myers
joseph@codesourcery.com