Re: Implement -Wimplicit-fallthrough (take 3): add gcc_fallthrough

2016-08-18 Thread Marek Polacek
On Thu, Aug 18, 2016 at 12:28:18PM -0500, Segher Boessenkool wrote: > On Thu, Aug 18, 2016 at 03:59:32PM +0200, Marek Polacek wrote: > > * eload1.c (elimination_effects): Likewise. > > So we are deleting reload one char at a time now? :-) If only! ;) I fixed the typo in my local copy, than

Re: Implement -Wimplicit-fallthrough (take 3): add gcc_fallthrough

2016-08-18 Thread Segher Boessenkool
On Thu, Aug 18, 2016 at 03:59:32PM +0200, Marek Polacek wrote: > * eload1.c (elimination_effects): Likewise. So we are deleting reload one char at a time now? :-) Segher

Implement -Wimplicit-fallthrough (take 3): add gcc_fallthrough

2016-08-18 Thread Marek Polacek
Tested on powerpc64le-unknown-linux-gnu, aarch64-linux-gnu, and x86_64-redhat-linux. 2016-08-18 Marek Polacek PR c/7652 * Makefile.in (insn-attrtab.o-warn, insn-dfatab.o-warn, insn-latencytab.o-warn, insn-output.o-warn, insn-emit.o-warn): Add -Wno-switch-fallthr