[Bug tree-optimization/45934] [4.6 Regression] g++.old-deja/g++.other/dtor5.C FAILs with -finline-small-functions

2011-01-15 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45934 --- Comment #11 from Jan Hubicka 2011-01-15 16:37:37 UTC --- Fixed now?

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2011-01-15 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #35 from Jan Hubicka 2011-01-15 16:42:06 UTC --- I looked briefly into effectivity of the devirtualization bits and they don't seem to work terribly well. In GCC 4.3 -O3 copmiled libxul there are 82155 indirect calls. In mainline -O3

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2011-01-15 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #36 from Jan Hubicka 2011-01-15 17:21:16 UTC --- Hmm, the patch makes no difference, but I also see failure in its testcase FAIL: g++.dg/ipa/imm-devirt-1.C scan-tree-dump optimized "= B::.*foo" FAIL: g++.dg/ipa/imm-devirt-2.C scan-tre

[Bug lto/47287] FAIL: gcc.c-torture/execute/builtins/20010124-1.c execution with -flto

2011-01-17 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47287 --- Comment #6 from Jan Hubicka 2011-01-17 16:10:54 UTC --- Is hpux an ELF target? GNU LD plugin implementation contains some hackery to chose proper PREEMPTED/RESOLVED/etc values. Perhaps it is broken on non-elfs. In any case I will prepare pa

[Bug tree-optimization/26854] Inordinate compile times on large routines

2011-01-18 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26854 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug middle-end/37448] gcc 4.3.1 cannot compile big function

2011-01-18 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37448 --- Comment #43 from Jan Hubicka 2011-01-18 14:53:46 UTC --- Now at -O2 the main inliner seems to degenerate ;( 168767 78.4974 cc1 cgraph_edge_badness 9426 4.3842 cc1 update_edge_key 3529 1.

[Bug middle-end/37448] gcc 4.3.1 cannot compile big function

2011-01-18 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37448 --- Comment #44 from Jan Hubicka 2011-01-18 14:58:04 UTC --- and later IRA samples %app name symbol name 2582656.8667 cc1 allocno_spill_priority_compare 6812 14.9994 cc1

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2011-01-20 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #37 from Jan Hubicka 2011-01-20 10:21:06 UTC --- I tested Martin's devirtualization patch at cgraph build. The net result is decrease of number of indirect calls in libxul by 2. The code size decrease by about 3KB, so there is probabl

[Bug tree-optimization/47190] [4.5/4.6 Regression] ICE: in function_and_variable_visibility, at ipa.c:934 with static weakref variable

2011-01-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47190 Jan Hubicka changed: What|Removed |Added AssignedTo|unassigned at gcc dot |hubicka at gcc dot gnu.org

[Bug tree-optimization/47193] [4.6 Regression] ICE: in function_and_variable_visibility, at ipa.c:857 with static var weakref'd to other weakref'd static var

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

[Bug c/21659] [4.3/4.4/4.5/4.6 Regression] [unit-at-a-time] "weak declaration must precede definition" error missing at >= O1

2011-01-22 Thread hubicka at gcc dot gnu.org
gcc dot |hubicka at gcc dot gnu.org |gnu.org | Known to fail|| --- Comment #10 from Jan Hubicka 2011-01-22 16:04:49 UTC --- I think with unit-at-a-time mode for all compilation settings, we should just drop the

[Bug lto/44334] rnflow.f90 ~27% slower with -fwhole-program -flto after revision 159852

2011-01-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44334 --- Comment #24 from Jan Hubicka 2011-01-22 16:23:49 UTC --- PR 43884 has similar problem with deep loop nests.

[Bug target/43884] [4.4/4.5/4.6 Regression] Performance degradation for simple fibonacci numbers calculation

2011-01-22 Thread hubicka at gcc dot gnu.org
gcc dot |hubicka at gcc dot gnu.org |gnu.org | --- Comment #19 from Jan Hubicka 2011-01-22 16:24:36 UTC --- The profile is consistent, but due to recursive inlining we create deep loop nest in the function making profile estimation to believe that code

[Bug target/43884] [4.4/4.5/4.6 Regression] Performance degradation for simple fibonacci numbers calculation

2011-01-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43884 --- Comment #20 from Jan Hubicka 2011-01-22 21:45:23 UTC --- Patch posted http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01597.html I tested that is seems to bring us back to the 4.3 speed jh@gcc10:~/trunk/build/gcc$ time ./a.out 45 fib(45)=1134903

[Bug lto/44334] rnflow.f90 ~27% slower with -fwhole-program -flto after revision 159852

2011-01-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44334 --- Comment #25 from Jan Hubicka 2011-01-22 21:47:43 UTC --- Author: hubicka Date: Sat Jan 22 21:47:40 2011 New Revision: 169136 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169136 Log: PR tree-optimization/43884 PR lto/44334

[Bug lto/44334] rnflow.f90 ~27% slower with -fwhole-program -flto after revision 159852

2011-01-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44334 --- Comment #26 from Jan Hubicka 2011-01-22 21:49:19 UTC --- OK, i comitted the branch prediction change. I am bit confused by the rest of trail, can you please confirm if the problem is fixed in all the configurations mentioned?

[Bug target/43884] [4.4/4.5/4.6 Regression] Performance degradation for simple fibonacci numbers calculation

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

[Bug target/43884] [4.4/4.5/4.6 Regression] Performance degradation for simple fibonacci numbers calculation

2011-01-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43884 --- Comment #21 from Jan Hubicka 2011-01-22 21:47:43 UTC --- Author: hubicka Date: Sat Jan 22 21:47:40 2011 New Revision: 169136 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169136 Log: PR tree-optimization/43884 PR lto/44334

[Bug lto/47333] [4.6 regression] g++.dg/lto/20091219 FAILs on Solaris 2

2011-01-22 Thread hubicka at gcc dot gnu.org
gcc dot |hubicka at gcc dot gnu.org |gnu.org | --- Comment #5 from Jan Hubicka 2011-01-22 21:57:35 UTC --- Hmm, weakref is fun ;( Seems we fail to stream the alias pair for those two vars.

[Bug lto/47333] [4.6 regression] g++.dg/lto/20091219 FAILs on Solaris 2

2011-01-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333 --- Comment #6 from Jan Hubicka 2011-01-22 22:10:08 UTC --- testing the following patch for pasto in reachable_from_this_partition_p Index: lto-cgraph.c === --- lto-cgraph.c

[Bug lto/47333] [4.6 regression] g++.dg/lto/20091219 FAILs on Solaris 2

2011-01-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333 --- Comment #7 from Jan Hubicka 2011-01-22 23:45:47 UTC --- Author: hubicka Date: Sat Jan 22 23:45:45 2011 New Revision: 169137 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169137 Log: PR lto/47333 * g++.dg/lto/pr47333.C: New fi

[Bug lto/47333] [4.6 regression] g++.dg/lto/20091219 FAILs on Solaris 2

2011-01-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #8 from Jan Hubicka 20

[Bug lto/47225] [4.6 regression]: cross-compile fails while configuring libgcc with "xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found"

2011-01-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47225 Jan Hubicka changed: What|Removed |Added AssignedTo|hubicka at gcc dot gnu.org |unassigned at gcc dot

[Bug lto/45810] 40% slowdown when using LTO for a single-file program

2011-01-23 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45810 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug lto/45810] 40% slowdown when using LTO for a single-file program

2011-01-23 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45810 --- Comment #13 from Jan Hubicka 2011-01-23 16:45:23 UTC --- OK, the slowdown comes away when both hookers_law and perida is inlined. First needs -finline-limit=380 the second needs large-function-growth=1000 (or large increase of inline limi

[Bug lto/45810] 40% slowdown when using LTO for a single-file program

2011-01-23 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45810 --- Comment #15 from Jan Hubicka 2011-01-23 17:56:31 UTC --- Enabling early FRE Index: passes.c === --- passes.c(revision 169136) +++ passes.c(working copy) @@ -760,6 +760,7

[Bug lto/45810] 40% slowdown when using LTO for a single-file program

2011-01-23 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45810 --- Comment #16 from Jan Hubicka 2011-01-23 17:57:58 UTC --- Also w/o inlining hookes_law but with inlining perida (by using large-function-growth parameter only and the patch abov), I get 30% speedup, not 50% as with inlining both, but it seems

[Bug lto/45810] 40% slowdown when using LTO for a single-file program

2011-01-23 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45810 Jan Hubicka changed: What|Removed |Added Last reconfirmed|2011-01-23 15:59:30 | CC|

[Bug lto/45810] 40% slowdown when using LTO for a single-file program

2011-01-23 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45810 Jan Hubicka changed: What|Removed |Added Last reconfirmed||2011-01-23 15:59:30 --- Comment #19 from Ja

[Bug c/21659] [4.3/4.4/4.5/4.6 Regression] [unit-at-a-time] "weak declaration must precede definition" error missing at >= O1

2011-01-24 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21659 --- Comment #11 from Jan Hubicka 2011-01-24 23:07:29 UTC --- Author: hubicka Date: Mon Jan 24 23:07:25 2011 New Revision: 169184 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169184 Log: PR c/21659 * doc/extend.texi (weak pragma

[Bug tree-optimization/47237] [4.3/4.4/4.5/4.6 Regression] builtin_apply_args broken WRT local ABI changes.

2011-01-26 Thread hubicka at gcc dot gnu.org
gcc dot |hubicka at gcc dot gnu.org |gnu.org | --- Comment #1 from Jan Hubicka 2011-01-26 10:06:05 UTC --- testing patch.

[Bug tree-optimization/47237] [4.3/4.4/4.5/4.6 Regression] builtin_apply_args broken WRT local ABI changes.

2011-01-26 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47237 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #2 from Jan Hubicka 20

[Bug tree-optimization/47190] [4.5/4.6 Regression] ICE: in function_and_variable_visibility, at ipa.c:934 with static weakref variable

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

[Bug middle-end/46949] [4.6 regression] ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904)

2011-01-26 Thread hubicka at gcc dot gnu.org
||2011.01.26 14:29:32 CC||hubicka at gcc dot gnu.org AssignedTo|unassigned at gcc dot |hubicka at gcc dot gnu.org |gnu.org | Summary|ICE when weakref is used on |[4.6

[Bug lto/43467] LTO error "bytecode stream: trying to read 0 bytes after the end of the input buffer"

2011-01-26 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43467 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #6

[Bug lto/46652] undefined reference to '__udivdi3' with -flto -fuse-linker-plugin

2011-01-26 Thread hubicka at gcc dot gnu.org
||dot com, hubicka at gcc dot ||gnu.org --- Comment #5 from Jan Hubicka 2011-01-26 14:45:25 UTC --- Gold was updated to handle this well for binutils 2.11.1, so H.J.'s branch. We still have issues with mainline G

[Bug lto/46652] undefined reference to '__udivdi3' with -flto -fuse-linker-plugin

2011-01-26 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46652 --- Comment #6 from Jan Hubicka 2011-01-26 14:46:40 UTC --- Gold was updated to handle this well for binutils 2.11.1, so H.J.'s branch. We still have issues with mainline GNU LD. Dave, what about getting this fixed the gold way?

[Bug lto/46948] [4.6 Regression] Undefined reference errors, LTO, and visibility

2011-01-26 Thread hubicka at gcc dot gnu.org
||hubicka at gcc dot gnu.org Resolution||INVALID --- Comment #2 from Jan Hubicka 2011-01-26 14:49:02 UTC --- This is documented feature. See "Hidden symbols used from non-link time objects now have to be explicitly annotated

[Bug tree-optimization/47190] [4.5 Regression] ICE: in function_and_variable_visibility, at ipa.c:934 with static weakref variable

2011-01-26 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47190 Jan Hubicka changed: What|Removed |Added Summary|[4.5/4.6 Regression] ICE: |[4.5 Regression] ICE: in

[Bug lto/47274] [4.6 regression] ICE in lto_varpool_replace_node, at lto-symtab.c:306

2011-01-27 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47274 --- Comment #17 from Jan Hubicka 2011-01-27 15:51:54 UTC --- You uploaded the cgraph files from local compilation.main_test is not called in abs-1.c I need to see the dump from merging, too. They gets name of one of the .o files when -save-temps

[Bug middle-end/46949] [4.6 regression] ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904)

2011-01-27 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46949 --- Comment #2 from Jan Hubicka 2011-01-27 16:16:44 UTC --- Author: hubicka Date: Thu Jan 27 16:16:34 2011 New Revision: 169332 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169332 Log: PR middle-end/46949 * cgraphunit.c (process

[Bug middle-end/46949] [4.6 regression] ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904)

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

[Bug bootstrap/47279] Bootstrap fails in stage1 with GCC 4.6

2011-01-27 Thread hubicka at gcc dot gnu.org
, ||hubicka at gcc dot gnu.org --- Comment #1 from Jan Hubicka 2011-01-27 16:50:43 UTC --- I can not parse the error, but it seems to be introduced by Alan's patch http://odin3.kernel.org/git-lewiemann/?p=devel/binutils/hjl/x86.git;a=commitdiff_pl

[Bug lto/47274] [4.6 regression] ICE in lto_varpool_replace_node, at lto-symtab.c:306

2011-01-31 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47274 Jan Hubicka changed: What|Removed |Added CC||dave.korn.cygwin at gmail

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2011-02-05 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #38 from Jan Hubicka 2011-02-05 22:38:41 UTC --- Created attachment 23253 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23253 failing testcase With current mainline and top of tree mozilla, things seems to go well, sqlite issue

[Bug lto/47527] [4.6 regression] -flto -flto-partition=none broken for arm-linux-gnueabi

2011-02-12 Thread hubicka at gcc dot gnu.org
||dot com, hubicka at gcc dot ||gnu.org --- Comment #3 from Jan Hubicka 2011-02-12 12:58:56 UTC --- It seems like similar problem to the TLS issue - the section built for LTO symbol table is not quite matching what we

[Bug lto/47497] [4.6 Regression] SPEC CPU 2006 failed to link with LTO -fuse-linker-plugin -fwhole-program

2011-02-12 Thread hubicka at gcc dot gnu.org
gcc dot |hubicka at gcc dot gnu.org |gnu.org | --- Comment #9 from Jan Hubicka 2011-02-12 13:03:25 UTC --- Hmm, I guess the problem is that we ignore resolution info of aliases when deciding on privatizing the symbol and then we privatize everything

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2011-02-16 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 Jan Hubicka changed: What|Removed |Added Attachment #21543|0 |1 is obsolete|

[Bug bootstrap/47402] [4.6 Regression] Bootstrap comparison failure

2011-02-17 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47402 --- Comment #13 from Jan Hubicka 2011-02-17 16:18:34 UTC --- Author: hubicka Date: Thu Feb 17 16:18:24 2011 New Revision: 170249 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170249 Log: PR debug/47106 PR debug/47402 * cfgex

[Bug debug/47106] -fcompare-debug failure (length) with -fpartial-inlining -flto -fconserve-stack

2011-02-17 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47106 --- Comment #15 from Jan Hubicka 2011-02-17 16:18:34 UTC --- Author: hubicka Date: Thu Feb 17 16:18:24 2011 New Revision: 170249 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170249 Log: PR debug/47106 PR debug/47402 * cfgex

[Bug lto/47788] [4.6 Regression] New LTO failures

2011-02-18 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47788 --- Comment #3 from Jan Hubicka 2011-02-19 02:13:20 UTC --- Author: hubicka Date: Sat Feb 19 02:13:17 2011 New Revision: 170300 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170300 Log: PR middle-end/47788 * ipa-inline.c (comput

[Bug lto/47497] [4.6 Regression] SPEC CPU 2006 failed to link with LTO -fuse-linker-plugin -fwhole-program

2011-02-26 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47497 --- Comment #12 from Jan Hubicka 2011-02-26 10:50:30 UTC --- Hmm, this is actually same body alias internal thunk. Will need to look more.

[Bug lto/47497] [4.6 Regression] SPEC CPU 2006 failed to link with LTO -fuse-linker-plugin -fwhole-program

2011-02-26 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47497 --- Comment #13 from Jan Hubicka 2011-02-26 13:52:31 UTC --- The think in question (.LTHUNK0.10948) appears in: __base_dtor /613(-1) @0x7f43c6b49000 (asm: _ZN6soplex6SoPlexD2Ev.local.405) availability:available analyzed 194 time, 22 benefit (419

[Bug lto/47497] [4.6 Regression] SPEC CPU 2006 failed to link with LTO -fuse-linker-plugin -fwhole-program

2011-02-26 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47497 --- Comment #14 from Jan Hubicka 2011-02-26 14:32:42 UTC --- The problem is in the alias merging code in lto-symtab. It does: alias->thunk.alias = prevailing_node->decl; that is wrong for thunks, as for thunks pointing to thunk (like this one) th

[Bug tree-optimization/46639] [4.6 Regression] Missing optimization

2011-02-28 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46639 --- Comment #5 from Jan Hubicka 2011-02-28 09:25:28 UTC --- There is no predictor predicting x > 1023 as unlikely, there is not much you can easilly guess here ;(

[Bug lto/47497] [4.6 Regression] SPEC CPU 2006 failed to link with LTO -fuse-linker-plugin -fwhole-program

2011-03-01 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47497 --- Comment #18 from Jan Hubicka 2011-03-01 19:07:36 UTC --- Created attachment 23507 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23507 patch I am testing Hi, the problem is with thunks referring thunks or aliases. lto-symtab is wrong h

[Bug lto/47497] [4.6 Regression] SPEC CPU 2006 failed to link with LTO -fuse-linker-plugin -fwhole-program

2011-03-01 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47497 Jan Hubicka changed: What|Removed |Added Status|WAITING |ASSIGNED --- Comment #19 from Jan Hubicka

[Bug lto/47497] [4.6 Regression] SPEC CPU 2006 failed to link with LTO -fuse-linker-plugin -fwhole-program

2011-03-04 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47497 --- Comment #20 from Jan Hubicka 2011-03-04 18:49:27 UTC --- Author: hubicka Date: Fri Mar 4 18:49:23 2011 New Revision: 170682 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170682 Log: PR lto/47497 * lto-symtab.c (lto_cgraph_re

[Bug lto/47497] [4.6 Regression] SPEC CPU 2006 failed to link with LTO -fuse-linker-plugin -fwhole-program

2011-03-04 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47497 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug bootstrap/48000] [4.6 Regression] LTO bootstrap failed with bootstrap-profiled

2011-03-06 Thread hubicka at gcc dot gnu.org
||2011.03.06 09:26:02 CC||hubicka at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #3 from Jan Hubicka 2011-03-06 09:26:02 UTC --- Confirmed. Most porbably fallout from Zdenek's patch. The loop body si

[Bug c++/57038] Latest libreoffice compilation fails with enabled LTO

2013-05-20 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57038 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug middle-end/57366] gcc.dg/lto/attr-weakref-1 FAILs

2013-05-22 Thread hubicka at gcc dot gnu.org
||2013-05-22 Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jan Hubicka --- I solved the infinite loop problem on plugin enabled setups with http://gcc.gnu.org/ml/gcc-patches

[Bug c++/57038] Latest libreoffice compilation fails with enabled LTO

2013-05-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57038 --- Comment #24 from Jan Hubicka --- S=/home/marxin/libreoffice && O=$S/solver/unxlngx6.pro && W=$S/workdir/unxlngx6.pro && mkdir -p $W/LinkTarget/Executable/ && g++ -flto -fno-fat-lto-objects -fuse-linker-plugin -O2 -Wl,-z,origin '-Wl,-rpath,

[Bug middle-end/57366] gcc.dg/lto/attr-weakref-1 FAILs

2013-05-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57366 --- Comment #4 from Jan Hubicka --- Thank you. It seems that the weakref is simply not output into the file, so we end up with undefined call. What happens when you compile the following manually concatenated testcase w/o LTO? If it links, can you

[Bug c++/57038] Latest libreoffice compilation fails with enabled LTO

2013-05-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57038 Jan Hubicka changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/57366] gcc.dg/lto/attr-weakref-1 FAILs

2013-05-23 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57366 --- Comment #8 from Jan Hubicka --- Thanks. Obviously RTL world translates through the weakrefs w/o LTO but not with LTO. I will look into it.

[Bug target/56446] Generate one fewer relocation when calling a checked weakref function

2013-05-23 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56446 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #9

[Bug middle-end/57366] gcc.dg/lto/attr-weakref-1 FAILs

2013-05-29 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57366 --- Comment #13 from Jan Hubicka --- Indeed, this is generic problem with weakref implementation that for some very entertaining reason use the CHAIN pointer of identifier nodes in undocumented way. I will try to debug today who clears the pointe

[Bug middle-end/57467] [4.9 Regression] FAIL: gfortran.dg/gomp/appendix-a/a.(22.1|22.6|33.1).f90 -O (internal compiler error)

2013-05-31 Thread hubicka at gcc dot gnu.org
||2013-05-31 Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org Ever confirmed|0 |1

[Bug middle-end/57500] [4.9 Regression] Segfault in ipa_record_reference

2013-06-03 Thread hubicka at gcc dot gnu.org
gcc dot gnu.org |hubicka at gcc dot gnu.org --- Comment #5 from Jan Hubicka --- Mine. Seems alias target got lost somehow.

[Bug middle-end/57500] [4.9 Regression] Segfault in ipa_record_reference

2013-06-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57500 --- Comment #6 from Jan Hubicka --- OK, the problem here is that the symbol is not created yet, but decl exists. Why it happens with -g only is bit strange. The following should fix it however Index: cgraphunit.c ==

[Bug target/47333] [4.8/4.9 regression] g++.dg/lto/20091219 FAILs on Solaris 2 with SUN as

2013-06-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333 --- Comment #35 from Jan Hubicka --- I am having problem to reproduce it on a cross compiler. I assume you have non-plugin-enable LD setup, right?

[Bug target/47333] [4.8/4.9 regression] g++.dg/lto/20091219 FAILs on Solaris 2 with SUN as

2013-06-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333 --- Comment #36 from Jan Hubicka --- I am having problem to reproduce it on a cross compiler. I assume you have non-plugin-enable LD setup, right? There is problem with chained weakrefs that ought to be fixed by the following change: Index: cgra

[Bug regression/57551] [4.9 Regression]: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE

2013-06-07 Thread hubicka at gcc dot gnu.org
||2013-06-07 CC||hubicka at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jan Hubicka --- mine.

[Bug regression/57551] [4.9 Regression]: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE

2013-06-07 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57551 Jan Hubicka changed: What|Removed |Added CC||jason at redhat dot com --- Comment #2 from

[Bug regression/57551] [4.9 Regression]: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE

2013-06-07 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57551 --- Comment #4 from Jan Hubicka --- OK, C++ FE properly brings the decl local as part of constrain_visibility, however later in pt.c it is made public again in mark_decl_instantiated as explicit instantiation. My wild try is the following: Index

[Bug target/57608] [4.8/4.9 Regression] wrong code for expression at -O3 on x86_64-linux-gnu with -m32

2013-06-14 Thread hubicka at gcc dot gnu.org
||hubicka at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org --- Comment #2 from Jan Hubicka --- mine :(

[Bug lto/57334] [4.9 regression] ICE: in input_gimple_stmt, at gimple-streamer-in.c:287

2013-06-17 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57334 --- Comment #5 from Jan Hubicka --- (gdb) p debug_tree (fn->decl) unit size align 32 symtab 0 alias set -1 canonical type 0x76f155e8 precision 32 min max pointer_to_this > QI size

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2013-06-17 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #182 from Jan Hubicka --- OK, after a while I should update the stats here. Richard's new tree merging patch makes libxul linking a lot faster and less memory consuming. Peak memory usage (in TOP) is now just bellow 10GB, with bit of

[Bug lto/57334] [4.9 regression] ICE: in input_gimple_stmt, at gimple-streamer-in.c:287

2013-06-17 Thread hubicka at gcc dot gnu.org
||2013-06-17 Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #6 from Jan Hubicka --- I am testing Index: lto-symtab.c

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2013-06-17 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #183 from Jan Hubicka --- type merging stats [WPA] read 43156894 SCCs of average size 2.270660 [WPA] 97994652 tree bodies read in total [WPA] tree SCC table: size 8388593, 3830511 elements, collision ratio: 0.684487 [WPA] tree SCC max

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2013-06-19 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #184 from Jan Hubicka --- New profiles after Richard's changes to remove pointer maps from straming in. Stream in: samples %app name symbol name 3659912.3464 lto1 inflate_fast 27382

[Bug c++/57208] Latest chromium compilation fails with enabled LTO

2013-06-19 Thread hubicka at gcc dot gnu.org
||2013-06-19 CC||hubicka at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #8 from Jan Hubicka --- This seems to be ELF or libelf limitation. The .o produced is corrupt apparently because we produce too many

[Bug c++/57208] Latest chromium compilation fails with enabled LTO

2013-06-19 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57208 --- Comment #11 from Jan Hubicka --- OK, self contained way to reproduce the bug: evans:/tmp/:[1]# cat t.c #include main() { int i; printf ("int main(){}\n"); for (i=0;i<7;i++) printf ("__attribute__ ((used, externally_visible)) int

[Bug c++/57208] Latest chromium compilation fails with enabled LTO

2013-06-19 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57208 --- Comment #13 from Jan Hubicka --- progret needs a fraction of brain capacity than the preprocessor generator and I doubt it would be faster :))) anyway I seem to be still getting error with the patch evans:/tmp/:[0]# /abuild/jh/trunk-install/b

[Bug c++/57038] Latest libreoffice compilation fails with enabled LTO

2013-06-21 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57038 --- Comment #27 from Jan Hubicka --- It is difficult to say why the unit test fails. Would be possible to run it in GDB and figure out why it segfaults? Honza

[Bug c++/57208] Latest chromium compilation fails with enabled LTO

2013-06-21 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57208 --- Comment #18 from Jan Hubicka --- What about trying ulimit -m to increase the number of FDs? (it requires root)

[Bug c++/57208] Latest chromium compilation fails with enabled LTO

2013-06-21 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57208 --- Comment #19 from Jan Hubicka --- chrome.wpa.000i.cgraph: _ZN3net12_GLOBAL__N_113DnsTCPAttempt12OnIOCompleteEi/8859591 (OnIOComplete) @0x7f80e10be980 Type: function definition analyzed Visibility: force_output prevailing_def_ironly Addres

[Bug c++/57038] Latest libreoffice compilation fails with enabled LTO

2013-06-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57038 --- Comment #30 from Jan Hubicka --- BTW the first parameter is this pointer ;)

[Bug c++/57208] Latest chromium compilation fails with enabled LTO

2013-06-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57208 --- Comment #23 from Jan Hubicka --- It seems late optimizers translate cloning Bind to _ZN4base4BindIMN3net12_GLOBAL__N_113DnsTCPAttemptEFviENS_8internal17UnretainedWrapperIS3_NS_8CallbackINS6_9BindStateINS6_13FunctorTraitsIT_E12RunnableType

[Bug tree-optimization/57698] rev.200179 causes many errors (inlining failures) when building Firefox

2013-06-24 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57698 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #1

[Bug rtl-optimization/57706] New: LRA is bottleneck while compiling LTO firefox

2013-06-25 Thread hubicka at gcc dot gnu.org
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org One of ltrans partitions wihle building firefox gets stuck with the following profile: CPU: AMD64 family10, speed 2100 MHz (estimated) Counted CPU_CLK_UNHALTED events (Cycles outside of

[Bug tree-optimization/57698] rev.200179 causes many errors (inlining failures) when building Firefox

2013-07-18 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57698 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/57987] Fortran finalizers considered extern-inline by middle-end

2013-07-30 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57987 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2013-08-02 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #185 from Jan Hubicka --- I merged in some patches intended to reduce memory of Firefox LTO and also updated firefox tree. Some more involved patches are on the way, so it is summary where we stand now. WPA usage in TOP is 10GB now.

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2013-08-02 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #186 from Jan Hubicka --- oprofile of merging 6764713.0501 lto1 inflate_fast 38682 7.4624 lto1 compare_tree_sccs_1(tree_node*, tree_node*, tree_node***) 32365 6.2437 lto1

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2013-08-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #187 from Jan Hubicka --- WPA time report Execution times (seconds) phase setup : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall 1398 kB ( 0%) ggc phase opt and generate : 80.79 (13%) usr 1.01 ( 3%) sys 81.96

[Bug lto/57602] [4.9 Regression] Runfails for several C/C++ benchmarks from spec2000 for i686 with -flto after r199422

2013-08-04 Thread hubicka at gcc dot gnu.org
||hubicka at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org --- Comment #10 from Jan Hubicka --- Mine...

[Bug lto/57602] [4.9 Regression] Runfails for several C/C++ benchmarks from spec2000 for i686 with -flto after r199422

2013-08-05 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57602 --- Comment #11 from Jan Hubicka --- Created attachment 30616 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30616&action=edit Proposed fix Patch I am testing. The problem was that ltrans passes got overzelaous on clearing local flags. I th

[Bug middle-end/45631] devirtualization with profile feedback does not work for function pointers

2013-08-05 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45631 --- Comment #4 from Jan Hubicka --- Not much ideas except for implementing more smart (=expensive) common value histogram collection. I wonder how often such patterns hits us in practice? The problem here is that the functions are interleaving in

<    1   2   3   4   5   6   7   8   9   10   >