Re: GCC 8 vs. GCC 9 speed and size comparison

2019-04-16 Thread Richard Biener
On Tue, Apr 16, 2019 at 1:39 PM Jakub Jelinek wrote: > > On Tue, Apr 16, 2019 at 01:25:38PM +0200, Richard Biener wrote: > > So for the parser it's small differences that accumulate, for example > > a lot more comptype calls via null_ptr_cst_p (via char_type_p) via the new > > conversion_null_warn

Re: GCC 8 vs. GCC 9 speed and size comparison

2019-04-16 Thread Jakub Jelinek
On Tue, Apr 16, 2019 at 01:25:38PM +0200, Richard Biener wrote: > So for the parser it's small differences that accumulate, for example > a lot more comptype calls via null_ptr_cst_p (via char_type_p) via the new > conversion_null_warnings which is called even without any warning option. > > Possi

Re: GCC 8 vs. GCC 9 speed and size comparison

2019-04-16 Thread Richard Biener
On Tue, Apr 16, 2019 at 11:56 AM Richard Biener wrote: > > On Tue, Apr 16, 2019 at 10:53 AM Michael Matz wrote: > > > > Hello Martin, > > > > On Tue, 16 Apr 2019, Martin Liška wrote: > > > > > Yes, except kdecore.cc I used in all cases .ii pre-processed files. I'm > > > going to start using kdeco

Re: GCC 8 vs. GCC 9 speed and size comparison

2019-04-16 Thread Richard Biener
On Tue, Apr 16, 2019 at 10:53 AM Michael Matz wrote: > > Hello Martin, > > On Tue, 16 Apr 2019, Martin Liška wrote: > > > Yes, except kdecore.cc I used in all cases .ii pre-processed files. I'm > > going to start using kdecore.ii as well. > > If the kdecore.cc is the one from me it's also preproce

Re: GCC 8 vs. GCC 9 speed and size comparison

2019-04-16 Thread Michael Matz
Hello Martin, On Tue, 16 Apr 2019, Martin Liška wrote: > Yes, except kdecore.cc I used in all cases .ii pre-processed files. I'm > going to start using kdecore.ii as well. If the kdecore.cc is the one from me it's also preprocessed and doesn't contain any #include directives, I just edited it

Re: GCC 8 vs. GCC 9 speed and size comparison

2019-04-16 Thread Martin Liška
On 4/16/19 9:48 AM, Martin Liška wrote: > On 4/15/19 5:07 PM, Michael Matz wrote: >> Hi, >> >> On Mon, 15 Apr 2019, Jakub Jelinek wrote: >> It seems the C++ parser got quite a bit slower with gcc 9 :-( Most visible in the compile time for tramp-3d (24%) and kdecore.cc (18% slower w

Re: GCC 8 vs. GCC 9 speed and size comparison

2019-04-16 Thread Martin Liška
On 4/15/19 5:07 PM, Michael Matz wrote: > Hi, > > On Mon, 15 Apr 2019, Jakub Jelinek wrote: > >>> It seems the C++ parser got quite a bit slower with gcc 9 :-( Most >>> visible in the compile time for tramp-3d (24%) and kdecore.cc (18% >>> slower with just PGO); it seems that the other .ii file

Re: GCC 8 vs. GCC 9 speed and size comparison

2019-04-15 Thread Michael Matz
Hi, On Mon, 15 Apr 2019, Jakub Jelinek wrote: > > It seems the C++ parser got quite a bit slower with gcc 9 :-( Most > > visible in the compile time for tramp-3d (24%) and kdecore.cc (18% > > slower with just PGO); it seems that the other .ii files are C-like > > enough to not > > Is that wit

Re: GCC 8 vs. GCC 9 speed and size comparison

2019-04-15 Thread Jakub Jelinek
On Mon, Apr 15, 2019 at 12:12:13PM +, Michael Matz wrote: > Hi, > > On Mon, 15 Apr 2019, Martin Liška wrote: > > > There's a similar comparison that I did for the official openSUSE gcc > > packages. gcc8 is built with PGO, while the gcc9 package is built in 2 > > different configurations: P

Re: GCC 8 vs. GCC 9 speed and size comparison

2019-04-15 Thread Jan Hubicka
> Hi, > > On Mon, 15 Apr 2019, Martin Liška wrote: > > > There's a similar comparison that I did for the official openSUSE gcc > > packages. gcc8 is built with PGO, while the gcc9 package is built in 2 > > different configurations: PGO, LTO, PGO+LTO (LTO used for FE in stage4, > > for generato

Re: GCC 8 vs. GCC 9 speed and size comparison

2019-04-15 Thread Michael Matz
Hi, On Mon, 15 Apr 2019, Martin Liška wrote: > There's a similar comparison that I did for the official openSUSE gcc > packages. gcc8 is built with PGO, while the gcc9 package is built in 2 > different configurations: PGO, LTO, PGO+LTO (LTO used for FE in stage4, > for generators in stage3 as