Re: [PATCH] Improve bootstrap times

2018-06-01 Thread Jakub Jelinek
On Fri, Jun 01, 2018 at 03:43:38PM +0200, Thomas Schwinge wrote: > > +STAGE1_TFLAGS += -fno-checking > > +STAGE2_CFLAGS += -fno-checking > > +STAGE2_TFLAGS += -fno-checking > > +STAGE3_CFLAGS += -fchecking > > +STAGE3_TFLAGS += -fchecking > > This however means that when a user configured with "ex

Re: [PATCH] Improve bootstrap times

2018-06-01 Thread Thomas Schwinge
Hi! On Thu, 26 Apr 2018 10:08:09 +0200 (CEST), Richard Biener wrote: > --- Makefile.tpl (revision 259638) > +++ Makefile.tpl (working copy) > @@ -452,11 +452,21 @@ STAGE1_CONFIGURE_FLAGS = --disable-inter > --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \ >

Re: [PATCH] Improve bootstrap times

2018-04-26 Thread Jakub Jelinek
On Thu, Apr 26, 2018 at 10:08:09AM +0200, Richard Biener wrote: > Ok, so the following passed bootstrap & profiledbootstrap (and I checked > we only get -fno-checking at the appropriate places and not -fchecking) > on trunk, a bootstrap with all languages and release checking is running > (just to

Re: [PATCH] Improve bootstrap times

2018-04-26 Thread Richard Biener
On Thu, 26 Apr 2018, Richard Biener wrote: > On Thu, 26 Apr 2018, Bernhard Reutner-Fischer wrote: > > > On 25 April 2018 16:11:23 CEST, Richard Biener wrote: > > >On Wed, 25 Apr 2018, Jakub Jelinek wrote: > > > > > >> On Wed, Apr 25, 2018 at 03:52:28PM +0200, Richard Biener wrote: > > >> > Force

Re: [PATCH] Improve bootstrap times

2018-04-26 Thread Richard Biener
On Thu, 26 Apr 2018, Bernhard Reutner-Fischer wrote: > On 25 April 2018 16:11:23 CEST, Richard Biener wrote: > >On Wed, 25 Apr 2018, Jakub Jelinek wrote: > > > >> On Wed, Apr 25, 2018 at 03:52:28PM +0200, Richard Biener wrote: > >> > Forcefully setting STAGE3_[CT]FLAGS doesn't have any effect on

Re: [PATCH] Improve bootstrap times

2018-04-26 Thread Bernhard Reutner-Fischer
On 25 April 2018 16:11:23 CEST, Richard Biener wrote: >On Wed, 25 Apr 2018, Jakub Jelinek wrote: > >> On Wed, Apr 25, 2018 at 03:52:28PM +0200, Richard Biener wrote: >> > Forcefully setting STAGE3_[CT]FLAGS doesn't have any effect on >> > a checking enabled build but it will disrupt profiledbootst

Re: [PATCH] Improve bootstrap times

2018-04-25 Thread Richard Biener
On Wed, 25 Apr 2018, Jakub Jelinek wrote: > On Wed, Apr 25, 2018 at 03:52:28PM +0200, Richard Biener wrote: > > Forcefully setting STAGE3_[CT]FLAGS doesn't have any effect on > > a checking enabled build but it will disrupt profiledbootstrap > > on a release build by training with -fchecking. Sug

Re: [PATCH] Improve bootstrap times

2018-04-25 Thread Jakub Jelinek
On Wed, Apr 25, 2018 at 03:52:28PM +0200, Richard Biener wrote: > Forcefully setting STAGE3_[CT]FLAGS doesn't have any effect on > a checking enabled build but it will disrupt profiledbootstrap > on a release build by training with -fchecking. Suggestions > welcome - not sure whether adjusting STA

Re: [PATCH] Improve bootstrap times

2018-04-25 Thread Richard Biener
On Wed, 25 Apr 2018, Richard Biener wrote: > > The following patch improves bootstrap times in general, without > resorting to file splitting. The observation that stage2 build > of gimple-match.c improves by 50% when using -fno-checking > suggests that we avoid doing redundant checking when boo

[PATCH] Improve bootstrap times

2018-04-25 Thread Richard Biener
The following patch improves bootstrap times in general, without resorting to file splitting. The observation that stage2 build of gimple-match.c improves by 50% when using -fno-checking suggests that we avoid doing redundant checking when bootstrapping and simply disable that when using the slow