[Bug lto/65475] [5 Regression] ICE in odr_vtable_hasher::equal (Segmentation fault)

2015-03-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65475 --- Comment #6 from Jan Hubicka --- Author: hubicka Date: Fri Mar 20 18:19:18 2015 New Revision: 221542 URL: https://gcc.gnu.org/viewcvs?rev=221542&root=gcc&view=rev Log: PR ipa/65475 * ipa-devirt.c (add_type_duplicate): Prevail polymor

[Bug lto/61886] [4.8/4.9/5 Regression] LTO breaks fread with _FORTIFY_SOURCE=2

2015-03-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61886 --- Comment #36 from Jan Hubicka --- This is probably too risky to fix for 5.1 (https://gcc.gnu.org/ml/gcc/2015-03/msg00241.html) though I am having WIP patch now - we need to introduce transparent alias support and make lto-symtab to turn incomp

[Bug lto/64860] [5 Regression] multiple definition of typeinfo in 5.0 (4.9.2 works)

2015-03-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64860 --- Comment #7 from Jan Hubicka --- I suppose proper fix is to make flag_incremental_linking and turn -r from Driver only. Then we could revisit individual optimizations that do rely on the fact that static linking will not be re-done.

[Bug target/43052] [4.8/4.9/5 Regression] Inline memcmp is *much* slower than glibc's, no longer expanded inline

2015-03-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43052 Jan Hubicka changed: What|Removed |Added Assignee|hubicka at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug lto/65475] [5 Regression] ICE in odr_vtable_hasher::equal (Segmentation fault)

2015-03-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65475 --- Comment #7 from Jan Hubicka --- The ICE is now fixed. I will leave this open to fix the duplicated ODR warnings (we probably only want to warn once per type). Martin, can you commit the testcase?

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #9 from Jan Hubicka --- Concerning Comment #7, I do not think the sreal refactoring screwed things up. sreals are not high on profile and the code generated is not worse (performance wise). It is not better, but it is not a surprise -

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #10 from Jan Hubicka --- I can re-confirm the 16% compile time regression. I went through some compare. $ wc -l *.ssa 299231 tramp3d-v4.ii.015t.ssa $ wc -l ../5/*.ssa 331115 ../5/tramp3d-v4.ii.018t.ssa so as a lame compare, we alre

[Bug ipa/65502] New: pure-const should play well with clobbers.

2015-03-20 Thread hubicka at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org I just noticed that C++ destructors are not conisdered const/pure: local analysis of Smarts::IterateScheduler::~IterateScheduler() scanning: MEM[(struct &)this_2(D)] ={v} {CLOBBER}; Indirect

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #11 from Jan Hubicka --- Sorry, the number of clobbers drops at DSE1, not during ehcleanup2, I just messed up my grep. I tried the following patch: Index: passes.def =

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-21 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #12 from Jan Hubicka --- Also the number of statements is about the same at .cfg dump, so it is .ssa that introduces all the differences. Why?

[Bug ipa/65502] pure-const should play well with clobbers.

2015-03-21 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65502 --- Comment #1 from Jan Hubicka --- The following patch makes ipa-pure-const to detect these functions as pure/const. There are two issues 1) I think we should preserve clobber semantic when removing a call to pure/const destructor. I wonde

[Bug ipa/65502] pure-const should play well with clobbers.

2015-03-22 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65502 --- Comment #2 from Jan Hubicka --- Author: hubicka Date: Sun Mar 22 21:10:24 2015 New Revision: 221574 URL: https://gcc.gnu.org/viewcvs?rev=221574&root=gcc&view=rev Log: PR ipa/65502 * ipa-comdats.c (enqueue_references): Walk through t

[Bug ipa/65502] pure-const should play well with clobbers.

2015-03-22 Thread hubicka at gcc dot gnu.org
||2015-03-22 Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org Target Milestone|--- |6.0 Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #3 from Jan

[Bug ipa/65516] lto1: internal compiler error: in get_odr_type, at ipa-devirt.c:1809

2015-03-22 Thread hubicka at gcc dot gnu.org
||2015-03-23 CC||hubicka at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #5 from Jan Hubicka --- Hi, I hope this is fixed by https://gcc.gnu.org/ml/gcc-patches/2015-03/msg01151.html (I plan to commit that

[Bug lto/65475] [5 Regression] ICE in odr_vtable_hasher::equal (Segmentation fault)

2015-03-22 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65475 --- Comment #8 from Jan Hubicka --- Author: hubicka Date: Mon Mar 23 00:17:07 2015 New Revision: 221582 URL: https://gcc.gnu.org/viewcvs?rev=221582&root=gcc&view=rev Log: PR ipa/65475 * ipa-devirt.c: Include demangle.h (odr_type_d):

[Bug lto/65475] [5 Regression] ICE in odr_vtable_hasher::equal (Segmentation fault)

2015-03-22 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65475 Jan Hubicka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug lto/65515] [5 Regression] FAIL: gcc.c-torture/compile/limits-fndefn.c -O2 -flto -flto-partition=none (ICE) -- SIGSEGV for stack growth failure

2015-03-22 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65515 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #2

[Bug lto/64860] [5 Regression] multiple definition of typeinfo in 5.0 (4.9.2 works)

2015-03-22 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64860 --- Comment #8 from Jan Hubicka --- Created attachment 35100 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35100&action=edit partial patch Hi, this is a patch that adds necessary checks into resolution code. Basically if static linking is

[Bug middle-end/65534] tailcall not optimized away

2015-03-23 Thread hubicka at gcc dot gnu.org
||2015-03-24 CC||hubicka at gcc dot gnu.org, ||mliska at suse dot cz Target Milestone|--- |6.0 Ever confirmed|0 |1

[Bug lto/65536] New: [5 regression] LTO line number information garbled

2015-03-23 Thread hubicka at gcc dot gnu.org
: lto Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org As shown in https://gcc.gnu.org/ml/gcc-patches/2015-03/msg01151.html warnings seems to come out wrong with large programs. I did not manage to reproduce it with small testcase. Columns tends to

[Bug ipa/65516] lto1: internal compiler error: in get_odr_type, at ipa-devirt.c:1809

2015-03-24 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65516 Jan Hubicka changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/65531] ICE: symtab_node::verify failed: Two symbols with same comdat_group are not linked by the same_comdat_group list. with -fcheck-pointer-bounds -mmpx

2015-03-24 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65531 --- Comment #2 from Jan Hubicka --- Hmm, there is missing empty statement after the for loop. There are two external symbols where we do not really build comdat groups (maybe we could now as they preserve little bit of useful info). So i guess I

[Bug lto/65536] LTO line number information garbled

2015-03-24 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65536 --- Comment #20 from Jan Hubicka --- It seems that manuel just commented out the actual insertion to linemap, columns are still streamed and ignored. Doing so will clearly make ODR waring more difficult to follow, so perhaps we could try to go f

[Bug lto/65536] LTO line number information garbled

2015-03-24 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65536 --- Comment #24 from Jan Hubicka --- Manuel, you may be right person to implement the streaming of linemaps then :) I suppose we do care about inline stacks in longer term to get proper warnings. We even may want to preserve macro expansion and a

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-25 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-25 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #16 from Jan Hubicka --- The chkp stuff is IMO bit problematic. I was thinking about cutting the optimization queue but was always hesitant to do so because of the cache locality and other implications. I am not sure if that was consi

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-25 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 Jan Hubicka changed: What|Removed |Added CC||enkovich.gnu at gmail dot com --- Comment

[Bug lto/65536] LTO line number information garbled

2015-03-25 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65536 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug lto/65559] [5 Regression] lto1.exe: internal compiler error: in read_cgraph_and_symbols, at lto/lto.c:2947

2015-03-25 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65559 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #3

[Bug lto/65536] LTO line number information garbled

2015-03-25 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65536 --- Comment #40 from Jan Hubicka --- Manuel, the following way you get the lto1 invocation: jan@linux-qos1:~> gcc t.c -flto -O2 -c jan@linux-qos1:~> gcc t.o -flto -O2 --verbose -save-temps 2>&1 | grep lto1 /usr/lib64/gcc/x86_64-suse-linux/4.8/l

[Bug tree-optimization/22501] [meta-bug] tramp3d-v4 missed optimizations

2015-03-25 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22501 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #6

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-25 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #21 from Jan Hubicka --- Actually, looking at the code, I do not think we want full pure/const pass (that build loops and attmepts to prove finiteness). We only want to run nothrow discovery that is a lot cheaper and perhaps we want t

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-26 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-26 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #23 from Jan Hubicka --- Also with early-inlining-insns=11 the statement count is smaller for mainline (copmared to 4.9) until the pass bswap, it grows up in PRE (by about 1%) and then it continues growing with subsequent passes. So

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-26 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #24 from Jan Hubicka --- Author: hubicka Date: Fri Mar 27 04:02:28 2015 New Revision: 221719 URL: https://gcc.gnu.org/viewcvs?rev=221719&root=gcc&view=rev Log: PR ipa/65076 * passes.def: Add pass_nothrow. * ipa-pure-cons

[Bug lto/65536] LTO line number information garbled

2015-03-26 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65536 --- Comment #46 from Jan Hubicka --- Manuel, I will hopefully commit the cache patch today or tomorrow morning. It does not solve full issue. What we have is 1) we still drop columns for firefox&chromium pretty early 2) there is a bug that we som

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-26 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #25 from Jan Hubicka --- The memory use report: rtl.c:317 (copy_rtx)9610680: 1.6% 0: 0.0% 0: 0.0% 0: 0.0% 401870 tree.c:8281 (build_method_type_directly)28395

[Bug lto/65536] LTO line number information garbled

2015-03-27 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65536 --- Comment #47 from Jan Hubicka --- Author: hubicka Date: Fri Mar 27 06:58:59 2015 New Revision: 221720 URL: https://gcc.gnu.org/viewcvs?rev=221720&root=gcc&view=rev Log: PR lto/65536 * lto-streamer.h (class lto_location_cache): New.

[Bug lto/65536] LTO line number information garbled

2015-03-27 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65536 --- Comment #48 from Jan Hubicka --- I run memory statistics with the cache and my patch. I will run stats with cache w/o the libcpp patch tomorrow. I would like to get this problem solved, but perhaps we want to only track down the reason for w

[Bug middle-end/65595] [5 Regression] Linux kernel build failure: ICE: in as_a, at is-a.h:192

2015-03-27 Thread hubicka at gcc dot gnu.org
||2015-03-27 Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Jan Hubicka --- Mine, will look into it tomorrow.

[Bug ipa/65588] [5 Regression] lto1: internal compiler error: Segmentation fault

2015-03-27 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65588 Jan Hubicka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org

[Bug middle-end/65595] [5 Regression] Linux kernel build failure: ICE: in as_a, at is-a.h:192

2015-03-27 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65595 --- Comment #4 from Jan Hubicka --- Author: hubicka Date: Fri Mar 27 10:33:17 2015 New Revision: 221726 URL: https://gcc.gnu.org/viewcvs?rev=221726&root=gcc&view=rev Log: PR middle-end/65595 * cgraph.c (cgraph_update_edges_for_call_stmt

[Bug middle-end/65595] [5 Regression] Linux kernel build failure: ICE: in as_a, at is-a.h:192

2015-03-27 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65595 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/65588] [5 Regression] lto1: internal compiler error: Segmentation fault

2015-03-27 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65588 --- Comment #5 from Jan Hubicka --- The reduced testcase does not reproduce for me. The original source does. We do insert undefined register variables into symbol table (not sure how much sense it makes, but lets not change it now). The probl

[Bug ipa/65600] [5 Regression] bost testsuite failure: ICE: Segmentation fault

2015-03-27 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65600 --- Comment #3 from Jan Hubicka --- Author: hubicka Date: Fri Mar 27 15:13:54 2015 New Revision: 221735 URL: https://gcc.gnu.org/viewcvs?rev=221735&root=gcc&view=rev Log: PR ipa/65600 * cgraph.c (cgraph_update_edges_for_call_stmt_node):

[Bug ipa/65600] [5 Regression] bost testsuite failure: ICE: Segmentation fault

2015-03-27 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65600 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/65531] ICE: symtab_node::verify failed: Two symbols with same comdat_group are not linked by the same_comdat_group list. with -fcheck-pointer-bounds -mmpx

2015-03-27 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65531 --- Comment #4 from Jan Hubicka --- Author: hubicka Date: Fri Mar 27 15:19:35 2015 New Revision: 221736 URL: https://gcc.gnu.org/viewcvs?rev=221736&root=gcc&view=rev Log: PR target/65531 * symtab.c (symtab_node::verify_symtab_nodes): Fix

[Bug lto/65536] LTO line number information garbled

2015-03-27 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65536 --- Comment #53 from Jan Hubicka --- > You can get an estimate of how much memory would be required to stream in/out > directly the line_table by summing up the memory reported by > dump_line_table_statistics for each TU before streaming out (p

[Bug ipa/65588] [5 Regression] lto1: internal compiler error: Segmentation fault

2015-03-27 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65588 --- Comment #8 from Jan Hubicka --- Author: hubicka Date: Fri Mar 27 21:35:51 2015 New Revision: 221745 URL: https://gcc.gnu.org/viewcvs?rev=221745&root=gcc&view=rev Log: PR ipa/65588 * symtab.c (symtab_node::get_partitioning_class): Re

[Bug ipa/65588] [5 Regression] lto1: internal compiler error: Segmentation fault

2015-03-27 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65588 Jan Hubicka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-28 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #27 from Jan Hubicka --- Unfortunately from me it wend down from about 18% to 15%, so still a regression. One quantiative parameter I can measure is increase of number of functions in the resulting binary from 1030 to 1140. I will try

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 Jan Hubicka changed: What|Removed |Added CC||rguenther at suse dot de --- Comment #13 f

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #14 from Jan Hubicka --- Author: hubicka Date: Sun Mar 29 15:38:52 2015 New Revision: 221763 URL: https://gcc.gnu.org/viewcvs?rev=221763&root=gcc&view=rev Log: PR ipa/65478 * params.def (PARAM_IPA_CP_RECURSION_PENALTY) : New

[Bug ipa/65588] [5 Regression] lto1: internal compiler error: Segmentation fault

2015-03-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65588 --- Comment #10 from Jan Hubicka --- Author: hubicka Date: Sun Mar 29 15:41:55 2015 New Revision: 221764 URL: https://gcc.gnu.org/viewcvs?rev=221764&root=gcc&view=rev Log: PR ipa/65588 * gcc.target/i386/pr65588.c: New testcase. Added:

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #15 from Jan Hubicka --- The inline bump needed is about 23. Richard, i guess convincing early optimizers to turn that hack into shifts (that is done by GCC but only at RTL time), is out of reach for this release, right?

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #29 from Jan Hubicka --- I also tested with -Os and compile times seems about same as for 4.9 modulo noise. The following one liner brings instruction and function count in final binary to same as in 4.9: Index: ipa-inline.c

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #30 from Jan Hubicka --- Author: hubicka Date: Mon Mar 30 02:00:56 2015 New Revision: 221769 URL: https://gcc.gnu.org/viewcvs?rev=221769&root=gcc&view=rev Log: PR ipa/65076 * ipa-inline.c (edge_badness): Base denominator on

[Bug lto/61635] LTO partitioner does not handle &&label in statics

2015-03-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61635 Jan Hubicka changed: What|Removed |Added Target Milestone|--- |5.0 --- Comment #8 from Jan Hubicka --- I

[Bug lto/64860] [5 Regression] multiple definition of typeinfo in 5.0 (4.9.2 works)

2015-03-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64860 --- Comment #10 from Jan Hubicka --- I filled in binutils PR for extension of plugin API https://sourceware.org/bugzilla/show_bug.cgi?id=18178

[Bug tree-optimization/65610] [5 Regression] Compare debug failure with -g3 -fsanitize=undefined -fno-sanitize=vptr -O3

2015-03-30 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65610 --- Comment #6 from Jan Hubicka --- i guess it is remove_unused_scope_block_p who remove the blocks. I guess we want to consider blocks as live when BLOCK_ABSTRACT_ORIGIN is function decl, it is DECL_CXX_CONSTRUCTOR or DESTURCTOR and moreover it

[Bug lto/61635] LTO partitioner does not handle &&label in statics

2015-03-30 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61635 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/50676] Partitioning may fail with presence of static variables referring to function labels

2015-03-30 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50676 Jan Hubicka changed: What|Removed |Added CC||andi-gcc at firstfloor dot org --- Comment

[Bug lto/50676] Partitioning may fail with presence of static variables referring to function labels

2015-03-30 Thread hubicka at gcc dot gnu.org
||2015-03-30 Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #5 from Jan Hubicka --- Patch posted https://gcc.gnu.org/ml/gcc-patches/2015-03/msg01526.html

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-30 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #19 from Jan Hubicka --- Actually at second thought, would BIT_FIELD_REF allow us to avoid the actual memory store? I tought like COMPONENT_REF it takes address as parameter. What I am hoping is to fully optimize out union doub x; at

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-31 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #40 from Jan Hubicka --- -O3 graph http://gcc.opensuse.org/c++bench/tramp3d/split-build.html seems to show 3 bigger increases recently. Can we get the revisions for those?

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-31 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #41 from Jan Hubicka --- OK. I can actually look it up in raw files. It is: 69s->80s between

[Bug ipa/64190] [4.9 Regression] FAIL: gcc.dg/ipa/pr63551.c (test for excess errors)

2015-03-31 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64190 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #5

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-31 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #42 from Jan Hubicka --- Sorry, accidental message. It is 69->80.5s between 141127.61083 and 150113.26056 (tester was down) 66->69s between 141123.15275 and 141124.01653 60->64 between 140807.80282 and 140808.66762 Now t

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-03-31 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #43 from Jan Hubicka --- Markus, can you reproduce some consistent growth in -ftime-report for one of passes? Given that code size difference is solved (please try to double check that, we may have slightly different revisions of tram

[Bug debug/65549] [5 Regression] crash in htab_hash_string with -flto -g

2015-03-31 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549 --- Comment #16 from Jan Hubicka --- Yep, it seems the problem is triggered on and off with random changed in the inliner's decisions...

[Bug ipa/65540] [5 Regression] internal error on s-fatllf.ads at -O2

2015-03-31 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65540 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #9

[Bug ipa/65540] [5 Regression] internal error on s-fatllf.ads at -O2

2015-03-31 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65540 --- Comment #10 from Jan Hubicka --- OK, this patch extends the calls.c hack: Index: calls.c === --- calls.c (revision 221805) +++ calls.c (working copy) @@ -1321,6 +1321,15

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-04-01 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #49 from Jan Hubicka --- I did some experiments about the increase of early inlining insns: - Early optimizers of both 4.9 and mainline process 9819 functions. - At release_ssa time, the statement count is 8% - at ipa-cp, we have

[Bug target/65581] [5 Regression] testsuite lto issue: multiple definition of `main', undefined reference to `WinMain'

2015-04-01 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65581 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #8

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-04-01 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #52 from Jan Hubicka --- $ time /aux/hubicka/trunk-install/bin/g++ -Ofast -fpermissive --param large-function-insns=1 tramp3d-v4.ii -w ; ./a.out -n 3 real0m34.232s user0m33.729s sys 0m0.532s i = 1t = 0.00209225 dt =

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-04-02 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #53 from Jan Hubicka --- This patch makes denominator to use resulting function size (not uninlined time like 4.9 did but getting the resulting fraction closer to 4.9 style): Index: ../../gcc/ipa-inline.c =

[Bug ipa/65655] [5 Regression] ICE in speculative_call_info, at cgraph.c:1151

2015-04-02 Thread hubicka at gcc dot gnu.org
gcc dot gnu.org |hubicka at gcc dot gnu.org --- Comment #4 from Jan Hubicka --- Mine.

[Bug target/65581] [5 Regression] testsuite lto issue: multiple definition of `main', undefined reference to `WinMain'

2015-04-02 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65581 --- Comment #11 from Jan Hubicka --- Thanks! The resolution file is wrong: 1 test.o 1 172 795d441a PREEMPTED_REG main the resolution of main() should be PREVAILING_DEF_IRONLY. PREEMTED_REG is defined as follows: PREEMPTED_REG (this definition wa

[Bug ipa/65654] [5 Regression] 447.dealII in SPEC CPU 2006 failed to build with LTO

2015-04-02 Thread hubicka at gcc dot gnu.org
||2015-04-02 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 --- I will take a look, too.

[Bug ipa/65540] [5 Regression] internal error on s-fatllf.ads at -O2

2015-04-02 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65540 --- Comment #11 from Jan Hubicka --- Patch posted at https://gcc.gnu.org/ml/gcc-patches/2015-04/msg3.html

[Bug target/65581] [5 Regression] testsuite lto issue: multiple definition of `main', undefined reference to `WinMain'

2015-04-02 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65581 --- Comment #13 from Jan Hubicka --- Rainer, the compiled code (test.s) is identical to what LTO path produces, so I am convinced this is a bug at binutils side. Would you please mind filling up the PR? There are two issues at least - first is

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-04-02 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #54 from Jan Hubicka --- I have full set of firefox talos benchmarks with inline-unit-growth bumped back to 30 (I did not test default value by accident, but I am running itnow). We now get back the GCC 4.9 performance on dromaeo_dom/

[Bug ipa/65655] [5 Regression] ICE in speculative_call_info, at cgraph.c:1151

2015-04-02 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65655 --- Comment #5 from Jan Hubicka --- Hmm it is interesting case, we try to resolve speculation while we are duplicating it. I am testing the following Index: ipa-inline-analysis.c ==

[Bug target/65660] [5 Regression] 252.eon regression on bdver2 with -Ofast

2015-04-03 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65660 --- Comment #6 from Jan Hubicka --- Performance seems to be back at Apr 2 Apr 2, 2015 16:20 UTC (Values: Base: 164.gzip: 1562, 175.vpr: 2384, 176.gcc: 2873, 181.mcf: 3743, 186.crafty: 2922, 197.parser: 2002, 252.eon: 4144, 255.vortex: 3345, 2

[Bug target/65660] [5 Regression] 252.eon regression on bdver2 with -Ofast

2015-04-03 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65660 --- Comment #7 from Jan Hubicka --- 32bit runs still shows regression between Feb 10, 2015 17:03 UTC (Values: Base: 164.gzip: 1478, 176.gcc: 3065, 181.mcf: 5127, 186.crafty: 2013, 197.parser: 2057, 252.eon: 2604, 255.vortex: 3062, 256.bzip2:

[Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression

2015-04-03 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65076 --- Comment #55 from Jan Hubicka --- Author: hubicka Date: Fri Apr 3 18:09:13 2015 New Revision: 221859 URL: https://gcc.gnu.org/viewcvs?rev=221859&root=gcc&view=rev Log: PR ipa/65076 * ipa-inline.c (edge_badness): Add combined size to

[Bug ipa/65655] [5 Regression] ICE in speculative_call_info, at cgraph.c:1151

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

[Bug ipa/65655] [5 Regression] ICE in speculative_call_info, at cgraph.c:1151

2015-04-03 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65655 --- Comment #6 from Jan Hubicka --- Author: hubicka Date: Fri Apr 3 18:19:53 2015 New Revision: 221860 URL: https://gcc.gnu.org/viewcvs?rev=221860&root=gcc&view=rev Log: PR ipa/65655 * ipa-inline-analysis.c (edge_set_predicate): Do not

[Bug ipa/65654] [5 Regression] 447.dealII in SPEC CPU 2006 failed to build with LTO

2015-04-03 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65654 --- Comment #2 from Jan Hubicka --- OK, it reproduces for me. The size difference is 2 Caller size is: Inline summary for set_laplace_on_hex_vector/158341 inlinable self time: 1602 global time: 1602 self size: 43 global

[Bug ipa/65654] [5 Regression] 447.dealII in SPEC CPU 2006 failed to build with LTO

2015-04-03 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65654 --- Comment #3 from Jan Hubicka --- I am testing the following: Index: ipa-inline-transform.c === --- ipa-inline-transform.c (revision 221859) +++ ipa-inline-transform.c (

[Bug target/65648] [5 Regression] Bad code due to IRA fails to recognize the clobber in parallel

2015-04-03 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65648 --- Comment #3 from Jan Hubicka --- Author: hubicka Date: Fri Apr 3 20:25:01 2015 New Revision: 221861 URL: https://gcc.gnu.org/viewcvs?rev=221861&root=gcc&view=rev Log: PR ipa/65648 * ipa-inline-transform.c (inline_call): Skip sanity

[Bug ipa/65654] [6 Regression] 447.dealII in SPEC CPU 2006 failed to build with LTO

2015-04-03 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65654 Jan Hubicka changed: What|Removed |Added Target Milestone|5.0 |6.0 Summary|[5 Regression] 447.

[Bug ipa/65478] [5 regression] crafty performance regression

2015-04-05 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #25 from Jan Hubicka --- Crafty perfomrance is back (with a combination of better heuristics and increase of inlining limits), eon is not, at least not in all configurations. We have separate eon PR, so I am closing this one.

[Bug ipa/65540] [5 Regression] internal error on s-fatllf.ads at -O2

2015-04-07 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65540 --- Comment #12 from Jan Hubicka --- Author: hubicka Date: Tue Apr 7 21:02:12 2015 New Revision: 221910 URL: https://gcc.gnu.org/viewcvs?rev=221910&root=gcc&view=rev Log: PR ipa/65540 * calls.c (initialize_argument_information): When p

[Bug ipa/65540] [5 Regression] internal error on s-fatllf.ads at -O2

2015-04-07 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65540 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/65690] [5 Regression] typedef alignment lost since r219705

2015-04-07 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65690 --- Comment #1 from Jan Hubicka --- We are constructing: (gdb) p debug_tree (t) unit size align 64 symtab 0 alias set -1 canonical type 0x76b02a80 precision 64 pointer_to_this > BLK size

[Bug c++/65690] [5 Regression] typedef alignment lost since r219705

2015-04-07 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65690 --- Comment #2 from Jan Hubicka --- I see, C++ has special code for building qualified array types. I would say that build_cplus_array_type should have a path where it is building a variant and go via build_distinct_type_copy only adjusting the a

[Bug c++/65690] [5 Regression] typedef alignment lost since r219705

2015-04-07 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65690 --- Comment #3 from Jan Hubicka --- Created attachment 35248 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35248&action=edit Patch I am testing. Someting like this may work. I think we only want to change element type. I also noticed the

[Bug c++/65690] [5 Regression] typedef alignment lost since r219705

2015-04-07 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65690 --- Comment #4 from Jan Hubicka --- This is better version of the patch that at least seems to survive early stages of bootstrap ;) Index: tree.c === --- tree.c (revision 221909

[Bug c++/65690] [5 Regression] typedef alignment lost since r219705

2015-04-07 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65690 --- Comment #5 from Jan Hubicka --- Jason, I think I need a help on this one. I am not able to get canonical types right in all cases. Also I added the following sanity check that seems to trigger in the testuiste Index: ../../gcc/stor-layout.c =

<    12   13   14   15   16   17   18   19   20   21   >