[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-11-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-11-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 Richard Biener changed: What|Removed |Added Target Milestone|--- |5.0

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-15 Thread tejohnson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #30 from tejohnson at gcc dot gnu.org --- Author: tejohnson Date: Wed Oct 15 15:45:59 2014 New Revision: 216269 URL: https://gcc.gnu.org/viewcvs?rev=216269&root=gcc&view=rev Log: 2014-10-15 Teresa Johnson PR bootstrap/63432

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-14 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #29 from Teresa Johnson --- On Mon, Oct 13, 2014 at 2:32 PM, Teresa Johnson wrote: > On Mon, Oct 13, 2014 at 8:53 AM, hjl.tools at gmail dot com > wrote: >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 >> >> --- Comment #27 fr

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-13 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #28 from Teresa Johnson --- On Mon, Oct 13, 2014 at 8:53 AM, hjl.tools at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 > > --- Comment #27 from H.J. Lu --- > (In reply to Teresa Johnson from comment #24)

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #27 from H.J. Lu --- (In reply to Teresa Johnson from comment #24) > Arg, looks very similar so maybe another instance of the duplicate > threading is slipping through? My own lto profiled bootstrap succeeded > with my patch. I will

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #26 from H.J. Lu --- I will find a testcase when it fails again.

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-09 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #25 from Teresa Johnson --- Unfortunately I can't reproduce this failure. Here's what I did: In my gcc source: % svn update -r r216039 In my build directory: % ~/gcc_trunk_7/configure --prefix=/usr/local/google/home/tejohnson/gcc_tr

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-09 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #24 from Teresa Johnson --- On Thu, Oct 9, 2014 at 12:52 PM, hjl.tools at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 > > --- Comment #23 from H.J. Lu --- > With r216039, I still got > > ../../src-trunk

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #23 from H.J. Lu --- With r216039, I still got ../../src-trunk/gcc/cp/parser.c: In function ‘cp_parser_declaration_seq_opt’: ../../src-trunk/gcc/cp/parser.c:11049:0: error: verify_flow_info: Wrong probability of edge 53->54 -11922283

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-08 Thread tejohnson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #22 from tejohnson at gcc dot gnu.org --- Author: tejohnson Date: Thu Oct 9 04:38:24 2014 New Revision: 216024 URL: https://gcc.gnu.org/viewcvs?rev=216024&root=gcc&view=rev Log: 2014-10-07 Teresa Johnson PR bootstrap/63432.

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-07 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #21 from Teresa Johnson --- On Tue, Oct 7, 2014 at 11:08 AM, Jeff Law wrote: > On 10/04/14 13:29, Teresa Johnson wrote: >>> >>> Jeff, what is intended here - should we not be threading both of these >>> paths? >> >> >> I have a patch

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-07 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #20 from Jeffrey A. Law --- On 10/04/14 13:29, Teresa Johnson wrote: >> Jeff, what is intended here - should we not be threading both of these paths? > > I have a patch to make the mark_threaded_blocks checking of paths work > regardl

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-07 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #19 from Jeffrey A. Law --- On 10/04/14 09:34, Teresa Johnson wrote: > > Looking at the code, I think it attempts to check for this case and > prevent it but that code does not work in this case because of the > order the paths are id

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-07 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #18 from Teresa Johnson --- On Mon, Oct 6, 2014 at 10:15 PM, Teresa Johnson wrote: > I'm going to finish testing my patch, which passes regular > x86_64-unknown-linux-gnu bootstrap + regression tests. I am still > trying to get the l

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-06 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #17 from Teresa Johnson --- I'm going to finish testing my patch, which passes regular x86_64-unknown-linux-gnu bootstrap + regression tests. I am still trying to get the lto profiledbootstrap to work. I found some workarounds for the

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-04 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #16 from Teresa Johnson --- On Sat, Oct 4, 2014 at 8:34 AM, Teresa Johnson wrote: > On Fri, Oct 3, 2014 at 11:15 PM, Teresa Johnson wrote: >> On Fri, Oct 3, 2014 at 3:35 PM, Teresa Johnson wrote: >>> Thanks to H.J. for the test cas

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-04 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #15 from Teresa Johnson --- On Fri, Oct 3, 2014 at 11:15 PM, Teresa Johnson wrote: > On Fri, Oct 3, 2014 at 3:35 PM, Teresa Johnson wrote: >> Thanks to H.J. for the test case, I have reproduced the issue. It >> exposed two separate

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-03 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #14 from Teresa Johnson --- On Fri, Oct 3, 2014 at 3:35 PM, Teresa Johnson wrote: > Thanks to H.J. for the test case, I have reproduced the issue. It > exposed two separate problems. Cc'ing Honza and Jeff for input on the > profile c

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-03 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #13 from Teresa Johnson --- Thanks to H.J. for the test case, I have reproduced the issue. It exposed two separate problems. Cc'ing Honza and Jeff for input on the profile count and jump threading issues, respectively. The first is t

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-03 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #12 from Teresa Johnson --- Feel free to email it to me at tejohn...@google.com. Teresa On Fri, Oct 3, 2014 at 1:23 PM, hjl.tools at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 > > --- Comment #11 from

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #11 from H.J. Lu --- (In reply to Teresa Johnson from comment #10) > > This points to a bigger problem, since esucc->count should be <= > bb->count. Can you attach the input files and command line and I will > take a closer look? >

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-03 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #10 from Teresa Johnson --- On Fri, Oct 3, 2014 at 12:47 PM, hjl.tools at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 > > H.J. Lu changed: > >What|Removed |Added > --

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #9 from H.J. Lu --- This works for me: diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c index d660fdb..c6f3956 100644 --- a/gcc/tree-ssa-threadupdate.c +++ b/gcc/tree-ssa-threadupdate.c @@ -874,7 +874,8 @@ recom

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-03 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #7 from Teresa Johnson --- On Fri, Oct 3, 2014 at 10:33 AM, hjl.tools at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 > > --- Comment #6 from H.J. Lu --- > (In reply to Teresa Johnson from comment #5) >>

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #6 from H.J. Lu --- (In reply to Teresa Johnson from comment #5) > > BTW, I am having a little trouble doing an LTO profiledbootstrap on my > linux/x86_64 machine. Here's what I did: > > $ /usr/local/google/home/tejohnson/gcc_trunk_

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-03 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #5 from Teresa Johnson --- On Fri, Oct 3, 2014 at 10:21 AM, hjl.tools at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 > > --- Comment #4 from H.J. Lu --- > r215830 introduced: > > /* Scale up the f

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #4 from H.J. Lu --- r215830 introduced: /* Scale up the frequency by REG_BR_PROB_BASE, to avoid rounding errors applying the edge probability when the frequencies are very small. */ epath->src->count =

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-03 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #3 from Teresa Johnson --- Presumably the fix for PR63422 (r215822) fixed the initial problem, but r215830 must have introduced this. Will take a look right now. Teresa On Fri, Oct 3, 2014 at 8:59 AM, hjl.tools at gmail dot com wro

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #2 from H.J. Lu --- r215830 doesn't solve the problem. Now I got /export/project/git/gcc-regression/gcc/gcc/c/c-parser.c:3898:1: error: verify_flow_info: Wrong probability of edge 238->241 -1819341072 c_parser_attributes (c_parser

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-01 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 Teresa Johnson changed: What|Removed |Added CC||tejohnson at google dot com --- Comment