[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 rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[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 rguenth at gcc dot gnu.org 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=216269root=gccview=rev Log: 2014-10-15 Teresa Johnson tejohn...@google.com PR

[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 tejohnson at google dot com --- On Mon, Oct 13, 2014 at 2:32 PM, Teresa Johnson tejohn...@google.com wrote: On Mon, Oct 13, 2014 at 8:53 AM, hjl.tools at gmail dot com gcc-bugzi...@gcc.gnu.org wrote:

[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 hjl.tools at gmail dot com --- (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

[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 tejohnson at google dot com --- On Mon, Oct 13, 2014 at 8:53 AM, hjl.tools at gmail dot com gcc-bugzi...@gcc.gnu.org wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #27 from H.J. Lu

[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 hjl.tools at gmail dot com --- I will find a testcase when it fails again.

[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 hjl.tools at gmail dot com --- 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

[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 tejohnson at google dot com --- On Thu, Oct 9, 2014 at 12:52 PM, hjl.tools at gmail dot com gcc-bugzi...@gcc.gnu.org wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #23 from H.J. Lu

[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 tejohnson at google dot com --- 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

[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=216024root=gccview=rev Log: 2014-10-07 Teresa Johnson tejohn...@google.com PR

[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 tejohnson at google dot com --- On Mon, Oct 6, 2014 at 10:15 PM, Teresa Johnson tejohn...@google.com wrote: I'm going to finish testing my patch, which passes regular x86_64-unknown-linux-gnu bootstrap +

[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 law at redhat dot com --- 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

[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 law at redhat dot com --- 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

[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 tejohnson at google dot com --- On Tue, Oct 7, 2014 at 11:08 AM, Jeff Law l...@redhat.com wrote: On 10/04/14 13:29, Teresa Johnson wrote: Jeff, what is intended here - should we not be threading both of

[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 tejohnson at google dot com --- 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

[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 #14 from Teresa Johnson tejohnson at google dot com --- On Fri, Oct 3, 2014 at 3:35 PM, Teresa Johnson tejohn...@google.com wrote: Thanks to H.J. for the test case, I have reproduced the issue. It exposed two separate problems.

[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 tejohnson at google dot com --- On Fri, Oct 3, 2014 at 11:15 PM, Teresa Johnson tejohn...@google.com wrote: On Fri, Oct 3, 2014 at 3:35 PM, Teresa Johnson tejohn...@google.com wrote: Thanks to H.J. 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 tejohnson at google dot com --- On Sat, Oct 4, 2014 at 8:34 AM, Teresa Johnson tejohn...@google.com wrote: On Fri, Oct 3, 2014 at 11:15 PM, Teresa Johnson tejohn...@google.com wrote: On Fri, Oct 3, 2014 at

[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 hjl.tools at gmail dot com --- 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

[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 tejohnson at google dot com --- 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,

[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 hjl.tools at gmail dot com --- 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. */

[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 tejohnson at google dot com --- On Fri, Oct 3, 2014 at 10:21 AM, hjl.tools at gmail dot com gcc-bugzi...@gcc.gnu.org wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #4 from H.J. Lu

[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 hjl.tools at gmail dot com --- (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: $

[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 tejohnson at google dot com --- On Fri, Oct 3, 2014 at 10:33 AM, hjl.tools at gmail dot com gcc-bugzi...@gcc.gnu.org wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #6 from H.J. Lu

[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 hjl.tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[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 hjl.tools at gmail dot com --- 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 +++

[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 tejohnson at google dot com --- On Fri, Oct 3, 2014 at 12:47 PM, hjl.tools at gmail dot com gcc-bugzi...@gcc.gnu.org wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 H.J. Lu hjl.tools at gmail dot

[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 hjl.tools at gmail dot com --- (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

[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 tejohnson at google dot com --- 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 gcc-bugzi...@gcc.gnu.org wrote:

[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 tejohnson at google dot com --- 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,

[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 tejohnson at google dot com changed: What|Removed |Added CC||tejohnson at