Re: .bad_compare in bootstrap of head

2017-05-07 Thread Jan Hubicka
Hi, I found the problem. It was pretty obvious - we compute sum of times twice. Once when computing statement sizes and second time by summing the summaries. because sreal is not distributive, it leads to different results. I have comitted the following patch. Incrementally I will drop the code

Re: .bad_compare in bootstrap of head

2017-05-05 Thread Daniel Santos
On 05/05/2017 08:53 AM, Richard Biener wrote: On May 5, 2017 3:03:43 PM GMT+02:00, Jan Hubicka wrote: Aha, --enable-checking=no. I will check what effect it have. It does reproduce for me. Time estimates are very slightly different between checking and non-checking build.

Re: .bad_compare in bootstrap of head

2017-05-05 Thread Richard Biener
On May 5, 2017 3:03:43 PM GMT+02:00, Jan Hubicka wrote: >> > I wonder how that patch can cause mismatches. Does it reproduce on >one of >> > compile farm machines (my x86-64 bootstrap works fine so does ia64 >on terbium >> > after fixing the gcc 4.1 issue yeterday). >> > It would

Re: .bad_compare in bootstrap of head

2017-05-05 Thread Jan Hubicka
> > I wonder how that patch can cause mismatches. Does it reproduce on one of > > compile farm machines (my x86-64 bootstrap works fine so does ia64 on > > terbium > > after fixing the gcc 4.1 issue yeterday). > > It would be great to have -fdump-ipa-inline-details dumps of the mismatching > >

Re: .bad_compare in bootstrap of head

2017-05-05 Thread Jan Hubicka
> > On 05/04/2017 08:31 AM, Jeff Law wrote: > > >On 05/04/2017 07:26 AM, Дмитрий Дьяченко wrote: > > >>Fedora 26 x86_64 > > >>r247595 > > >> > > >>~/src/gcc_current/configure --prefix=/usr/local/gcc_current > > >>--enable-static --enable-checking=no --enable-languages=c,c++,lto > >

Re: .bad_compare in bootstrap of head

2017-05-05 Thread Jan Hubicka
> On 05/04/2017 08:31 AM, Jeff Law wrote: > >On 05/04/2017 07:26 AM, Дмитрий Дьяченко wrote: > >>Fedora 26 x86_64 > >>r247595 > >> > >>~/src/gcc_current/configure --prefix=/usr/local/gcc_current > >>--enable-static --enable-checking=no --enable-languages=c,c++,lto > >>--enable-plugin

Re: .bad_compare in bootstrap of head

2017-05-04 Thread Jeff Law
On 05/04/2017 08:31 AM, Jeff Law wrote: On 05/04/2017 07:26 AM, Дмитрий Дьяченко wrote: Fedora 26 x86_64 r247595 ~/src/gcc_current/configure --prefix=/usr/local/gcc_current --enable-static --enable-checking=no --enable-languages=c,c++,lto --enable-plugin --disable-multilib And that may be the

Re: .bad_compare in bootstrap of head

2017-05-04 Thread Jeff Law
On 05/04/2017 07:26 AM, Дмитрий Дьяченко wrote: Fedora 26 x86_64 r247595 ~/src/gcc_current/configure --prefix=/usr/local/gcc_current --enable-static --enable-checking=no --enable-languages=c,c++,lto --enable-plugin --disable-multilib And that may be the key, I've been able to get a similar

Re: .bad_compare in bootstrap of head

2017-05-04 Thread Дмитрий Дьяченко
Fedora 26 x86_64 r247595 ~/src/gcc_current/configure --prefix=/usr/local/gcc_current --enable-static --enable-checking=no --enable-languages=c,c++,lto --enable-plugin --disable-multilib make[3]: Leaving directory '/home/dimhen/build/gcc_current' Comparing stages 2 and 3 Bootstrap comparison

Re: .bad_compare in bootstrap of head

2017-05-04 Thread Jeff Law
On 05/04/2017 12:59 AM, Andreas Schwab wrote: On Mai 03 2017, Daniel Santos wrote: Anybody else getting bootstrap failures from the head? gcc/tree-outof-ssa.o differs gcc/insn-output.o differs gcc/tree-chrec.o differs gcc/cp/semantics.o differs gcc/lto-cgraph.o

Re: .bad_compare in bootstrap of head

2017-05-04 Thread Andreas Schwab
On Mai 03 2017, Daniel Santos wrote: > Anybody else getting bootstrap failures from the head? > > gcc/tree-outof-ssa.o differs > gcc/insn-output.o differs > gcc/tree-chrec.o differs > gcc/cp/semantics.o differs > gcc/lto-cgraph.o differs > gcc/builtins.o differs >

.bad_compare in bootstrap of head

2017-05-03 Thread Daniel Santos
Anybody else getting bootstrap failures from the head? gcc/tree-outof-ssa.o differs gcc/insn-output.o differs gcc/tree-chrec.o differs gcc/cp/semantics.o differs gcc/lto-cgraph.o differs gcc/builtins.o differs gcc/i386.o differs gcc/dwarf2out.o differs I built from this commit: commit