[Bug driver/46760] LTO bootstrap doesn't work with FDO

2010-12-02 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #9 from Jan Hubicka 2010-12-02 15:57:00 UTC --- Created attachment 22604 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22604 Patch I am testing to allow profile merging This patch should allow merging of LTO units with differen

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2010-12-04 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #10 from H.J. Lu 2010-12-04 17:04:34 UTC --- (In reply to comment #9) > Created attachment 22604 [details] > Patch I am testing to allow profile merging > > This patch should allow merging of LTO units with different number of > exec

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2010-12-04 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #11 from H.J. Lu 2010-12-04 17:13:57 UTC --- Program received signal SIGFPE, Arithmetic exception. 0x00f6e670 in merge_profile_summaries () at /export/gnu/import/git/gcc/gcc/lto-cgraph.c:1513 1513/ node->local.

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2010-12-04 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #12 from H.J. Lu 2010-12-04 17:24:28 UTC --- (gdb) p cgraph_nodes->local.lto_file_data->profile_info $4 = {num = 0, runs = 9409, sum_all = 0, run_max = 0, sum_max = 1302797449} (gdb)

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2010-12-04 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #13

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2010-12-04 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #14 from Jan Hubicka 2010-12-04 19:35:27 UTC --- Author: hubicka Date: Sat Dec 4 19:35:23 2010 New Revision: 167458 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167458 Log: PR tree-optimization/46760 * cgraph.c (cg

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2010-12-04 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #15 from H.J. Lu 2010-12-05 00:51:39 UTC --- With revision 167460, I got [...@gnu-18 gcc]$ /export/build/gnu/gcc-lto/build-x86_64-linux/./prev-gcc/xgcc -B/export/build/gnu/gcc-lto/build-x86_64-linux/./prev-gcc/ -B/usr/gcc-4.6.0/x86_6

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2010-12-05 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #16 from Jan Hubicka 2

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2010-12-05 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW --- Comment #17 from H.J. Lu 2010-12-05 17

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2010-12-05 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #18 from Jan Hubicka 2010-12-05 19:04:38 UTC --- I tried with the default checking earlier (this is not LTO plugin, just the plugin support that does not cause that much of difference). I will try tonight or after I return from trip.

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-09 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 Jan Hubicka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-09 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-09 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #21 from Jan Hubicka 2011-01-09 22:07:59 UTC --- > lto1: internal compiler error: Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions.

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-09 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #22 from H.J. Lu 2011-01-10 00:01:45 UTC --- Program received signal SIGSEGV, Segmentation fault. tree_can_inline_p (e=0x7fffdaf9fd68) at /export/gnu/import/git/gcc/gcc/tree-inline.c:5391 5391 gimple_call_set_cannot_inlin

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-09 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #23 from Jan Hubicka 2011-01-10 00:21:35 UTC --- > 5386 > 5387 /* Allow the backend to decide if inlining is ok. */ > 5388 if (!targetm.target_option.can_inline_p (caller, callee)) > 5389{ > 5390 e->inl

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-09 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #24 from H.J. Lu 2011-01-10 01:24:13 UTC --- (gdb) call dump_cgraph_node (stderr, e->caller) _cpp_clean_line/47583(-1) @0x7fffdaf97b00 (asm: _cpp_clean_line) availability:available analyzed executed 136036096x 107 time, 14 benefit 186

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-09 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #25 from H.J. Lu 2011-01-10 01:25:00 UTC --- My machine supports SSE4.

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-09 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #26 from Jan Hubicka 2011-01-10 01:42:06 UTC --- > call) (nested in 1 loops) search_line_sse42/47576 (136174844x) (1.00 per call) Ahh, that is the Andi's vectorized preprocessor code. That is fine then Honza

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-10 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #27 from hjl at gcc dot gnu.org 2011-01-10 13:24:30 UTC --- Author: hjl Date: Mon Jan 10 13:24:27 2011 New Revision: 168631 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168631 Log: Check e->call_stmt before calling gimple_ca

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-10 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 H.J. Lu changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-10 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #29 from Jan Hubicka 2011-01-10 13:44:00 UTC --- H.J., since you run regular testing, do you think you could switch one of tester into lto-bootstrap (or ideally lto-bootstrap with FDO) so we keep those in good condition? Thanks! Honza

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-10 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #30 from H.J. Lu 2011-01-10 13:48:27 UTC --- (In reply to comment #29) > H.J., since you run regular testing, do you think you could switch one of > tester into lto-bootstrap (or ideally lto-bootstrap with FDO) so we keep those > in g

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-10 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #31 from Jan Hubicka 2011-01-10 13:51:02 UTC --- > I have been testing lto-bootstrap: > > http://gcc.gnu.org/ml/gcc-testresults/2011-01/msg00750.html > > I will try to start lto-bootstrap with FDO. Great, thanks! The FDO bootstrap a

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-10 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #32 from H.J. Lu 2011-01-10 13:59:32 UTC --- (In reply to comment #31) > > I have been testing lto-bootstrap: > > > > http://gcc.gnu.org/ml/gcc-testresults/2011-01/msg00750.html > > > > I will try to start lto-bootstrap with FDO. >

Re: [Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-09 Thread Jan Hubicka
> lto1: internal compiler error: Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > lto-wrapper: /export/build/gnu/gcc-lto/build-x86_64-linux/./prev-gcc/xgcc What is the backtrace here? I built

Re: [Bug driver/46760] LTO bootstrap doesn't work with FDO

2011-01-10 Thread Jan Hubicka
> I have been testing lto-bootstrap: > > http://gcc.gnu.org/ml/gcc-testresults/2011-01/msg00750.html > > I will try to start lto-bootstrap with FDO. Great, thanks! The FDO bootstrap always suffered from lack of testing, so this should help. Honza