Re: [PATCH RFC 2/2] bootstrap: disable most warnings in stage 3

2018-08-27 Thread Jeff Law
On 08/27/2018 12:20 PM, Alexander Monakov wrote: > Currently bootstrap stages 2 and 3 use the same warning options, but that is > redundant: if any warnings are generated, they will be present in stage 2 (and > stop bootstrap). By not enabling any warnings for stage 3, we would get > simple automa

Re: [PATCH RFC 2/2] bootstrap: disable most warnings in stage 3

2018-08-27 Thread Joseph Myers
On Mon, 27 Aug 2018, Alexander Monakov wrote: > * gcc/configure.ac (--disable-build-warnings): New option. Note that for any version of this patch actually proposed for inclusion (as opposed to an RFC) you'll need to include documentation in install.texi for the new configure option. --

[PATCH RFC 2/2] bootstrap: disable most warnings in stage 3

2018-08-27 Thread Alexander Monakov
Currently bootstrap stages 2 and 3 use the same warning options, but that is redundant: if any warnings are generated, they will be present in stage 2 (and stop bootstrap). By not enabling any warnings for stage 3, we would get simple automated checking that warnings do not affect code generation.