This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unbreak bootstrap with GCC 4.3 (PR bootstrap/77751)
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 27 Sep 2016 12:24:23 +0200
- Subject: Re: Unbreak bootstrap with GCC 4.3 (PR bootstrap/77751)
- Authentication-results: sourceware.org; auth=none
- References: <20160927094019.GP3223@redhat.com>
On Tue, Sep 27, 2016 at 11:40 AM, Marek Polacek <polacek@redhat.com> wrote:
> GCC 4.3 stupidly errors on this with
> error: unrecognized command line option "-Wno-implicit-fallthrough"
> so use -Wno-error instead.
>
> Bootstrapped on x86_64-linux, ok for trunk?
Ok for trunk now to unbreak peoples bootstrap. We can improve on this
later if we want.
Richard.
> 2016-09-27 Marek Polacek <polacek@redhat.com>
>
> PR bootstrap/77751
> * Makefile.in (insn-attrtab.o-warn, insn-dfatab.o-warn,
> insn-latencytab.o-warn, insn-output.o-warn, insn-emit.o-warn): Use
> -Wno-error instead of -Wno-implicit-fallthrough.
>
> diff --git gcc/Makefile.in gcc/Makefile.in
> index e8559cb..ff12908 100644
> --- gcc/Makefile.in
> +++ gcc/Makefile.in
> @@ -218,11 +218,11 @@ libgcov-merge-tool.o-warn = -Wno-error
> gimple-match.o-warn = -Wno-unused
> generic-match.o-warn = -Wno-unused
> dfp.o-warn = -Wno-strict-aliasing
> -insn-attrtab.o-warn = -Wno-implicit-fallthrough
> -insn-dfatab.o-warn = -Wno-implicit-fallthrough
> -insn-latencytab.o-warn = -Wno-implicit-fallthrough
> -insn-output.o-warn = -Wno-implicit-fallthrough
> -insn-emit.o-warn = -Wno-implicit-fallthrough
> +insn-attrtab.o-warn = -Wno-error
> +insn-dfatab.o-warn = -Wno-error
> +insn-latencytab.o-warn = -Wno-error
> +insn-output.o-warn = -Wno-error
> +insn-emit.o-warn = -Wno-error
>
> # All warnings have to be shut off in stage1 if the compiler used then
> # isn't gcc; configure determines that. WARN_CFLAGS will be either
>
> Marek