[Bug c/85433] -fdiagnostics-color=auto doesn't work properly with LTO

2018-08-23 Thread hubicka at gcc dot gnu.org
||2018-08-23 CC||hubicka at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Jan Hubicka --- We use files for tlink use which IMO is never executed when we do plugin enabled LTO link. I think we can just

[Bug lto/86517] relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object with LTO

2018-08-30 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86517 --- Comment #8 from Jan Hubicka --- Author: hubicka Date: Thu Aug 30 15:50:39 2018 New Revision: 263988 URL: https://gcc.gnu.org/viewcvs?rev=263988&root=gcc&view=rev Log: PR lto/86517 * lto-opts.c (lto_write_options): Always st

[Bug testsuite/87157] [9 regression] gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c fails starting with r263981

2018-08-30 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87157 --- Comment #2 from Jan Hubicka --- Indeed, having -fdump-tree-vect-details-blocks dump would probably make it easy to figure out what happens. What is configuration tripplet and exact invocation line for the test?

[Bug debug/87362] GCC produces with LTO debug info with which gdb is not happy about

2018-09-19 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87362 --- Comment #3 from Jan Hubicka --- backtracing with GNU gdb (Debian 7.12-6) 7.12.0.20161007-git works for me, but it takes 20GB and 5 minutes to print a backtrace: (gdb) bt #0 0x77bc915f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x8

[Bug target/87156] [9 Regression] ICE building libstdc++ for mips64

2018-09-28 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87156 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/87455] sse_packed_single_insn_optimal is suboptimal on Zen

2018-09-28 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87455 --- Comment #4 from Jan Hubicka --- We already have TARGET_SSE_TYPELESS_STORES for stores, so perhaps we want something like typeless reg-reg moves and loads flag? Honza

[Bug middle-end/83665] [8 regression] Big code size regression and some code quality improvement at Jan 2 2018

2018-02-12 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83665 --- Comment #14 from Jan Hubicka --- Author: hubicka Date: Mon Feb 12 09:48:06 2018 New Revision: 257582 URL: https://gcc.gnu.org/viewcvs?rev=257582&root=gcc&view=rev Log: PR middle-end/83665 * params.def (inline-min-speedup): I

[Bug middle-end/84016] [8 Regression] Spec2000 regression around Jan 14 and Jan 19 2018

2018-02-18 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84016 --- Comment #12 from Jan Hubicka --- I can confirm that gamess is fixed. In addition tonto's regression from earlier cost tuning was fixed as well. There is nice improvement to galgel (15400->15800) which is not fixing earlier regression and apsi

[Bug c/84229] A valid code rejected with -flto

2018-02-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84229 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #3

[Bug c/84229] A valid code rejected with -flto

2018-02-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84229 --- Comment #4 from Jan Hubicka --- For reference, this is open implementation from Jessie version of glibc that trigeers the issue __fortify_function int open (const char *__path, int __o

[Bug c/84229] A valid code rejected with -flto

2018-02-21 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84229 --- Comment #5 from Jan Hubicka --- Author: hubicka Date: Wed Feb 21 19:05:30 2018 New Revision: 257877 URL: https://gcc.gnu.org/viewcvs?rev=257877&root=gcc&view=rev Log: PR c/84229 * ipa-cp.c (determine_versionability): Do not v

[Bug c/84229] A valid code rejected with -flto

2018-02-26 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84229 --- Comment #7 from Jan Hubicka --- I am not sure it is really fixed. We no longer ICE, howeverw we need backporting to release branches and also I think we miss fortification whenever we fail to inline (that is with -Os). I have some patches to

[Bug rtl-optimization/84058] [8 Regression] RTl partitioning fixup should drag very small blocks back to hot partition

2018-03-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84058 --- Comment #6 from Jan Hubicka --- I would not call it P1 - it is relatively minor code quality issue, but i will look into it next week. Honza

[Bug target/71991] Inconsistency for __attribute__ ((__always_inline__)) among LTO and non-LTO compilation

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

[Bug lto/85078] [8 Regression] LTO ICE: tree check: expected tree that contains 'decl minimal' structure, have 'identifier_node' in decl_mangling_context, at cp/mangle.c:878

2018-04-06 Thread hubicka at gcc dot gnu.org
gcc dot gnu.org |hubicka at gcc dot gnu.org --- Comment #5 from Jan Hubicka --- Will take a look.

[Bug rtl-optimization/84058] [8 Regression] RTl partitioning fixup should drag very small blocks back to hot partition

2018-04-08 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84058 --- Comment #7 from Jan Hubicka --- Created attachment 43876 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43876&action=edit Patch I am testing Turns out that those are mostly artifacts of the fact that basically all of cfg-cleanup has be

[Bug lto/85078] [8 Regression] LTO ICE: tree check: expected tree that contains 'decl minimal' structure, have 'identifier_node' in decl_mangling_context, at cp/mangle.c:878

2018-04-08 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85078 --- Comment #6 from Jan Hubicka --- The problem is that we build type inheritance graph earlier and at that time there are still virtual functions in the callgraph that are optimized out before free-lang-data. Their types however remain in ODR h

[Bug ipa/85103] [8 Regression] Performance regressions on SPEC with r257582

2018-04-08 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85103 --- Comment #1 from Jan Hubicka --- Pat, can you try to figure out what value of min-speedup is neeed to recover from this regression? It woul be nice to know what is the particular inline decision causing trouble and what are the esitmated benef

[Bug ipa/87843] [9 Regression] SPEC 2017 miscompilation of 502.gcc_r with -Ofast -march=native -g -flto=8 -fprofile-generate

2018-11-01 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87843 --- Comment #1 from Jan Hubicka --- Would be possible to analyze this a bit? The patch does have effect on optimizers because we produce a lot fewer MEM_REFs on type mismatches. Of course this should not trigger wrong code but it also may be som

[Bug ipa/87843] [9 Regression] SPEC miscompilation of 403.gcc and 502.gcc_r benchmarks

2018-11-01 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87843 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug ipa/87843] [9 Regression] SPEC miscompilation of 403.gcc and 502.gcc_r benchmarks

2018-11-01 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87843 --- Comment #5 from Jan Hubicka --- I think this is caused by misoptimizing void **x; void *info ATTRIBUTE_UNUSED; { cselib_val *v = (cselib_val *)*x; struct elt_loc_list **p = &v->locs; int had_locs = v->locs != 0; while (*p)

[Bug ipa/87843] [9 Regression] SPEC miscompilation of 403.gcc and 502.gcc_r benchmarks

2018-11-02 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87843 --- Comment #9 from Jan Hubicka --- Created attachment 44946 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44946&action=edit reproducer I am attaching the preprocessed file and will be away till 2pm. What seems to be wrong is that we opti

[Bug ipa/87706] Inlined functions trigger invalid -Wmissing-profile warning

2018-11-05 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87706 --- Comment #2 from Jan Hubicka --- cow is already dead at profile time (if it would not, we would end up using the counter). It seems to me that one remove unreachable code pass is missing. We used to remove unreachable code after early optimiza

[Bug tree-optimization/87885] ICE in release_ssa_name_fn with -fprofile-report

2018-11-06 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87885 --- Comment #2 from Jan Hubicka --- The patch makes sense to me. I am not sure why it was run after pass but before cleanups originally... Seems like a bug.

[Bug lto/87830] [9 Regression] ICE in cp_var_mod_type_p at cp/cp-objcp-common.c:107 since r265638

2018-11-12 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87830 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/87988] New: [9 regression] Streaming of ABSTRACT_ORIGIN is expensive

2018-11-12 Thread hubicka at gcc dot gnu.org
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- In GCC 9 we started to stream abstract origin everywhere. Disabling abstract oririgin improves

[Bug lto/86004] [9 regression] Several lto test cases begin failing with r260963

2018-11-12 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86004 --- Comment #9 from Jan Hubicka --- I wonder if we can close this based on fact that it only reproduces on sufficiently old binutils and we simply can't support incremental linking on these?

[Bug lto/87988] [9 regression] Streaming of ABSTRACT_ORIGIN is expensive

2018-11-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87988 --- Comment #3 from Jan Hubicka --- Thanks, I will give it a try. Note that the numbers I posted are from trunk and trunk with abstract origin streaming disabled. Thanks to the type streaming reorg we do not have overall regression relative to

[Bug middle-end/88010] noinline function alias unexpectedly inlined

2018-11-14 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88010 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/85103] [8/9 Regression] Performance regressions on SPEC with r257582

2018-11-15 Thread hubicka at gcc dot gnu.org
gcc dot gnu.org |hubicka at gcc dot gnu.org --- Comment #14 from Jan Hubicka --- I will take a look. These decisions are bit fragile because inliner typically does not know what of the two inline decisions is more profitable and one excludes the other.

[Bug ipa/87957] [9 Regression] ICE tree check: expected tree that contains ‘decl minimal’ structure, have ‘identifier_node’ in warn_odr, at ipa-devirt.c:1051 since r265519

2018-11-17 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87957 --- Comment #3 from Jan Hubicka --- Author: hubicka Date: Sat Nov 17 11:35:01 2018 New Revision: 266235 URL: https://gcc.gnu.org/viewcvs?rev=266235&root=gcc&view=rev Log: PR ipa/87957 * ipa-devirt.c (warn_odr): Look for main vari

[Bug ipa/87957] [9 Regression] ICE tree check: expected tree that contains ‘decl minimal’ structure, have ‘identifier_node’ in warn_odr, at ipa-devirt.c:1051 since r265519

2018-11-19 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87957 --- Comment #7 from Jan Hubicka --- Author: hubicka Date: Mon Nov 19 23:27:10 2018 New Revision: 266289 URL: https://gcc.gnu.org/viewcvs?rev=266289&root=gcc&view=rev Log: PR lto/87957 * ipa-devirt.c (free_enum_values): Do not IC

[Bug ipa/87706] Inlined functions trigger invalid -Wmissing-profile warning

2018-11-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87706 --- Comment #8 from Jan Hubicka --- Author: hubicka Date: Tue Nov 20 13:25:04 2018 New Revision: 266315 URL: https://gcc.gnu.org/viewcvs?rev=266315&root=gcc&view=rev Log: PR ipa/87706 * ipa-fnsummary.c (pass_ipa_fnsummary): Do n

[Bug lto/87997] [9 Regression] ICE in cp_var_mod_type_p at gcc/cp/cp-objcp-common.c:107 since r265870

2018-11-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87997 --- Comment #1 from Jan Hubicka --- Author: hubicka Date: Tue Nov 20 14:09:27 2018 New Revision: 266316 URL: https://gcc.gnu.org/viewcvs?rev=266316&root=gcc&view=rev Log: PR lto/87997 * tree.c (free_lang_data_in_cgraph): Add arg

[Bug ipa/87706] Inlined functions trigger invalid -Wmissing-profile warning

2018-11-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87706 --- Comment #10 from Jan Hubicka --- Author: hubicka Date: Tue Nov 20 15:58:37 2018 New Revision: 266320 URL: https://gcc.gnu.org/viewcvs?rev=266320&root=gcc&view=rev Log: PR ipa/87706 * ipa-fnsummary.c (pass_ipa_fnsummary): Do

[Bug ipa/87957] [9 Regression] ICE tree check: expected tree that contains ‘decl minimal’ structure, have ‘identifier_node’ in warn_odr, at ipa-devirt.c:1051 since r265519

2018-11-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87957 --- Comment #8 from Jan Hubicka --- Author: hubicka Date: Tue Nov 20 16:22:19 2018 New Revision: 266322 URL: https://gcc.gnu.org/viewcvs?rev=266322&root=gcc&view=rev Log: PR lto/87957 * ipa-devirt.c (odr_subtypes_equivalent_p):

[Bug lto/84044] Spurious -Wodr warning with -flto

2018-11-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84044 --- Comment #11 from Jan Hubicka --- Warning from #9 is caused by fact that I compare pointers rather than test for equality so when the enums are not merged, they triggers the warning even if the values are in fact equivalent. The following sile

[Bug lto/84044] Spurious -Wodr warning with -flto

2018-11-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84044 --- Comment #12 from Jan Hubicka --- Actually the issue here is that enum is context that is the type B and it has keyed vtable which makes it unmerged. So we are correct to not merge here provided that we want to keep TYPE_CONTEXT here (which I

[Bug lto/84044] Spurious -Wodr warning with -flto

2018-11-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84044 --- Comment #13 from Jan Hubicka --- ... and I can also confirm that the original testcase no longer triggers.

[Bug lto/84044] Spurious -Wodr warning with -flto

2018-11-20 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84044 --- Comment #14 from Jan Hubicka --- Author: hubicka Date: Wed Nov 21 02:38:43 2018 New Revision: 266334 URL: https://gcc.gnu.org/viewcvs?rev=266334&root=gcc&view=rev Log: PR lto/84044 * ipa-devirt.c (odr_types_equivalent_p): Us

[Bug ipa/87957] [9 Regression] ICE tree check: expected tree that contains ‘decl minimal’ structure, have ‘identifier_node’ in warn_odr, at ipa-devirt.c:1051 since r265519

2018-11-21 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87957 --- Comment #9 from Jan Hubicka --- Author: hubicka Date: Wed Nov 21 17:31:19 2018 New Revision: 266350 URL: https://gcc.gnu.org/viewcvs?rev=266350&root=gcc&view=rev Log: PR lto/87957 * tree.c (fld_decl_context): Break out from

[Bug ipa/87957] [9 Regression] ICE tree check: expected tree that contains ‘decl minimal’ structure, have ‘identifier_node’ in warn_odr, at ipa-devirt.c:1051 since r265519

2018-11-21 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87957 --- Comment #10 from Jan Hubicka --- Author: hubicka Date: Wed Nov 21 17:32:19 2018 New Revision: 266351 URL: https://gcc.gnu.org/viewcvs?rev=266351&root=gcc&view=rev Log: PR lto/87957 * g++.dg/lto/odr-1_0.C: Extend by mismatche

[Bug ipa/87957] [9 Regression] ICE tree check: expected tree that contains ‘decl minimal’ structure, have ‘identifier_node’ in warn_odr, at ipa-devirt.c:1051 since r265519

2018-11-21 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87957 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875

2018-11-22 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88147 --- Comment #1 from Jan Hubicka --- Hmm, this looks like another overfow in line map - my understanding is that the assert checks that correct line number is added. I am not quite line_map expert :)

[Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875

2018-11-22 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88147 --- Comment #3 from Jan Hubicka --- If it is simply location overflow it likely won't reduce into something simple :(

[Bug lto/88140] [9 Regression] ICE: verify_gimple failed since r266325

2018-11-22 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88140 --- Comment #1 from Jan Hubicka --- Ok, we die testing: 3199 if (!useless_type_conversion_p (TREE_TYPE (expr), 3200 TREE_TYPE (TREE_OPERAND (expr, 1 where expr is: pub

[Bug lto/88140] [9 Regression] ICE: verify_gimple failed since r266325

2018-11-22 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88140 --- Comment #2 from Jan Hubicka --- I am testing: Index: tree-cfg.c === --- tree-cfg.c (revision 266382) +++ tree-cfg.c (working copy) @@ -3196,8 +3196,8 @@ verify_types_in_gimple_

[Bug lto/88142] [9 Regression] ICE in lto_warn at ipa-devirt.c:1020 since r265519

2018-11-22 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88142 --- Comment #1 from Jan Hubicka --- Author: hubicka Date: Thu Nov 22 23:10:57 2018 New Revision: 266396 URL: https://gcc.gnu.org/viewcvs?rev=266396&root=gcc&view=rev Log: PR lto/88142 * ipa-devirt.c (type_variants_equivalent_p):

[Bug lto/88142] [9 Regression] ICE in lto_warn at ipa-devirt.c:1020 since r265519

2018-11-22 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88142 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/87754] [9 regression] ICE in odr_types_equivalent_p, at ipa-devirt.c:1250

2018-11-22 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87754 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875

2018-11-22 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88147 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|hubicka at gcc dot

[Bug lto/88185] LTO merges -fPIC/fpie and -fPIE/-fpie options to nothing - fails to warn when both are specified

2018-11-26 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88185 --- Comment #2 from Jan Hubicka --- Yes, this should be fixed on mainline (would be great to double-check that systemd builds with it). I guess we could backport this to gcc 8?

[Bug c++/88181] [7/8/9 Regression] ICE: verify_type failed (error: type variant differs by TYPE_PACKED)

2018-11-26 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88181 --- Comment #4 from Jan Hubicka --- It is possible that the verifier is just overzelaous here, but it seems it really does not make sense to have packed variant of nonpacked structure and vice versa because the memory layout is different. So i wo

[Bug lto/87988] [9 regression] Streaming of ABSTRACT_ORIGIN is expensive

2018-11-27 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87988 --- Comment #7 from Jan Hubicka --- Hi, ltrans files are 1374K without and 1339K with patch. WPA report without patch: [WPA] read 13690507 SCCs of average size 1.397311 [WPA] 19129895 tree bodies read in total [WPA] tree SCC table: size 4194301,

[Bug lto/87988] [9 regression] Streaming of ABSTRACT_ORIGIN is expensive

2018-11-28 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87988 --- Comment #9 from Jan Hubicka --- We still have: /* When not generating debug info we can eliminate info on unused variables. */ else if (!flag_auto_profile &&

[Bug tree-optimization/88272] New: warning: iteration 9223372036854775807 invokes undefined behavior

2018-11-29 Thread hubicka at gcc dot gnu.org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org Target Milestone: --- We output quite few warnings "warning: iteration 9223372036854775807 invokes undefined behavior" while building Fi

[Bug middle-end/88279] New: unresolvable R_X86_64_DTPOFF32 relocation against symbol `__gcov_indirect_call'

2018-11-30 Thread hubicka at gcc dot gnu.org
erity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org Target Milestone: --- $ cat test.c int (*ptr)(void); static int test2(void) { } test() { test3(); ptr(); } $ cat test2.c int

[Bug middle-end/88279] unresolvable R_X86_64_DTPOFF32 relocation against symbol `__gcov_indirect_call'

2018-11-30 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88279 --- Comment #1 from Jan Hubicka --- GNU ld (GNU Binutils for Debian) 2.28

[Bug lto/88297] [9 Regression] Assembler Error: symbol `_Z41__static_initialization_and_destruction_0ii.constprop.0' is already defined

2018-12-02 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88297 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #2

[Bug middle-end/88302] New: __gcov_indirect_call_profiler_v2 and first_run profiling can be cheaper with LTO

2018-12-02 Thread hubicka at gcc dot gnu.org
: enhancement Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org Target Milestone: --- Currently __gcov_indirect_call_profiler_v2 consumes about 3% of execution of lto1 with -fprofile-generate

[Bug lto/88297] [9 Regression] Assembler Error: symbol `_Z41__static_initialization_and_destruction_0ii.constprop.0' is already defined

2018-12-03 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88297 --- Comment #4 from Jan Hubicka --- Originally we maintained things safe by having the global counter and not using same suffixes (i.e. constprop/wpa etc.) during early, wpa and late optimization, so things did not conflict. I wonder how the con

[Bug fortran/48636] Enable more inlining with -O2 and higher

2012-11-11 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48636 --- Comment #36 from Jan Hubicka 2012-11-11 18:14:40 UTC --- Author: hubicka Date: Sun Nov 11 18:14:35 2012 New Revision: 193406 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193406 Log: PR middle-end/48636 * ipa-in

[Bug testsuite/55229] [4.8 Regression] FAIL: gcc.dg/tree-ssa/cunroll-1.c scan-tree-dump cunroll "Unrolled loop 1 completely"

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

[Bug tree-optimization/55238] ICE in find_aggregate_values_for_callers_subset, at ipa-cp.c:2908 building zlib

2012-11-11 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55238 --- Comment #5 from Jan Hubicka 2012-11-11 19:35:31 UTC --- Author: hubicka Date: Sun Nov 11 19:35:27 2012 New Revision: 193410 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193410 Log: PR tree-optimization/55238 * ip

[Bug rtl-optimization/55278] New: Botan performance regressions apparently due to LRA

2012-11-11 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55278 Bug #: 55278 Summary: Botan performance regressions apparently due to LRA Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: norma

[Bug middle-end/55283] New: EON performance regression at -O2 due to loop unrolling changes

2012-11-12 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55283 Bug #: 55283 Summary: EON performance regression at -O2 due to loop unrolling changes Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCON

[Bug middle-end/55283] EON performance regression at -O2 due to loop unrolling changes

2012-11-12 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55283 --- Comment #1 from Jan Hubicka 2012-11-12 10:44:14 UTC --- http://gcc.opensuse.org/SPEC/CINT/sb-frescobaldi.suse.de-head-64/252_eon_big.png

[Bug target/55285] New: Botan regression on ia-64 at Mar-2012

2012-11-12 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55285 Bug #: 55285 Summary: Botan regression on ia-64 at Mar-2012 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal P

[Bug fortran/48636] Enable more inlining with -O2 and higher

2012-11-12 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48636 --- Comment #37 from Jan Hubicka 2012-11-12 12:16:18 UTC --- Fatigue now gets all inlining with -O3 -fwhole-program, with -O3 it gets only half of inlining because jump functions are not able to track array descriptors in both calls to gen

[Bug tree-optimization/54073] [4.7/4.8 Regression] SciMark Monte Carlo test performance has seriously decreased in recent GCC releases

2012-11-13 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54073 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org

[Bug tree-optimization/55079] [4.8 regression] false positive -Warray-bounds (also seen at -O3 bootstrap)

2012-11-14 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55079 Jan Hubicka changed: What|Removed |Added Summary|[4.8 regression] false |[4.8 regression] false |

[Bug tree-optimization/54717] [4.8 Regression] Runtime regression: polyhedron test "rnflow" degraded

2012-11-14 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54717 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org

[Bug target/53346] [4.6/4.7/4.8 Regression] Bad vectorization in the proc cptrf2 of rnflow.f90

2012-11-14 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53346 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org

[Bug target/53346] [4.6/4.7/4.8 Regression] Bad vectorization in the proc cptrf2 of rnflow.f90

2012-11-14 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53346 --- Comment #22 from Jan Hubicka 2012-11-14 22:38:19 UTC --- OK, similar loop in C looks like: float a[1]; float b[1]; t() { int mi = 0,i; for (i=0;i<1000;i++) if (a[i]"))) (set (pc) (if_then_else -

[Bug bootstrap/55051] [4.8 Regression] profiledbootstrap failed

2012-11-14 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55051 --- Comment #9 from Jan Hubicka 2012-11-14 23:03:27 UTC --- Author: hubicka Date: Wed Nov 14 23:03:22 2012 New Revision: 193512 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193512 Log: PR bootstrap/55051 * ipa-inli

[Bug fortran/48636] Enable more inlining with -O2 and higher

2012-11-14 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48636 --- Comment #39 from Jan Hubicka 2012-11-14 23:22:40 UTC --- Hmm, indeed. Good catch. I will look into it.

[Bug bootstrap/55051] [4.8 Regression] profiledbootstrap failed

2012-11-14 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55051 Jan Hubicka changed: What|Removed |Added CC||tejohnson at google dot com --- Comment #1

[Bug tree-optimization/55079] [4.8 regression] false positive -Warray-bounds (also seen at -O3 bootstrap)

2012-11-14 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55079 --- Comment #9 from Jan Hubicka 2012-11-15 01:01:30 UTC --- This is reduced testcase from gcov.c int a[8]; int t (void) { int ix = 0; int k; int b = 0; int curr = 0; for (k = 0; k < 2; k++) { b = ix * 32; curr = a[ix++]

[Bug bootstrap/55051] [4.8 Regression] profiledbootstrap failed

2012-11-14 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55051 --- Comment #13 from Jan Hubicka 2012-11-15 01:03:09 UTC --- OK, the false positive is on quite sloppy code in gcov-io.c. I attached testcase to PR55079 and will fix the gcc_assert specifying the loop bounds to not allow out-of-bound read.

[Bug bootstrap/55051] [4.8 Regression] profiledbootstrap failed

2012-11-14 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55051 --- Comment #14 from Jan Hubicka 2012-11-15 01:07:04 UTC --- Author: hubicka Date: Thu Nov 15 01:07:01 2012 New Revision: 193522 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193522 Log: PR bootstrap/55051 * gcov-io.c

[Bug bootstrap/55051] [4.8 Regression] profiledbootstrap failed

2012-11-14 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55051 --- Comment #15 from Jan Hubicka 2012-11-15 01:10:29 UTC --- Note that profiledbootstrap still dies for me on config.status: creating tests/rand/Makefile ../../libiberty/cp-demangle.c: In function 'd_print_cast.isra.8': ../../libiberty/cp

[Bug bootstrap/55051] [4.8 Regression] profiledbootstrap failed

2012-11-14 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55051 --- Comment #16 from Jan Hubicka 2012-11-15 01:17:43 UTC --- Theresa: I am using gcc10 from compilation farm, but I think it is fairly universal problem. Also I think that gcc_assert should not be assert, but an user readable error about

[Bug tree-optimization/55334] New: mgrid regression (ipa-cp disables vectorization)

2012-11-14 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 Bug #: 55334 Summary: mgrid regression (ipa-cp disables vectorization) Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/48636] Enable more inlining with -O2 and higher

2012-11-14 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48636 --- Comment #41 from Jan Hubicka 2012-11-15 02:28:26 UTC --- mgrid regression is now PR55334

[Bug tree-optimization/54717] [4.8 Regression] Runtime regression: polyhedron test "rnflow" degraded

2012-11-15 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54717 --- Comment #15 from Jan Hubicka 2012-11-15 10:27:49 UTC --- Path posted at http://gcc.gnu.org/ml/gcc-patches/2012-11/msg01222.html Can we figure out why the vectorization still does not happen?

[Bug tree-optimization/54717] [4.8 Regression] Runtime regression: polyhedron test "rnflow" degraded

2012-11-15 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54717 --- Comment #16 from Jan Hubicka 2012-11-15 10:52:13 UTC --- OK, 4.7 vectorize two loops in the function in cptrf2 loop at ../a.f90:3538 if (nxtr < 4) then kerr = 1 do ixtr = 1, nxtr - 1 ixtrt (ixt

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-15 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 --- Comment #2 from Jan Hubicka 2012-11-15 11:07:10 UTC --- I think the problem is that we somehow make MEM_REF to be base...

[Bug tree-optimization/55329] [4.8 Regression] ICE: internal compiler error: in operator[], at vec.h:487 with -O -fno-guess-branch-probability -fnon-call-exceptions --param=early-inlining-insns=111

2012-11-15 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55329 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-15 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/54717] [4.8 Regression] Runtime regression: polyhedron test "rnflow" degraded

2012-11-16 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54717 --- Comment #18 from Jan Hubicka 2012-11-16 10:37:30 UTC --- Author: hubicka Date: Fri Nov 16 10:37:25 2012 New Revision: 193553 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193553 Log: PR tree-optimization/54717 * t

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-16 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 Jan Hubicka changed: What|Removed |Added CC||matz at suse dot de --- Comment #

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-16 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 --- Comment #7 from Jan Hubicka 2012-11-16 13:19:51 UTC --- The C testcase is simiar - in the mgrid case we are probably able to derrive useful loop bounds now and the dependency analysis could use them (but doesn't). I will try to look in

[Bug tree-optimization/54497] [4.8 Regression] Revision 190015 causes 22% degradation on 172.mgrid on PowerPC

2012-11-16 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54497 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-16 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 Jan Hubicka changed: What|Removed |Added CC||pthaugen at gcc dot gnu.org --- C

[Bug middle-end/55078] [4.8 Regression] FAIL: g++.dg/torture/pr46154.C

2012-11-16 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55078 --- Comment #7 from Jan Hubicka 2012-11-16 17:32:50 UTC --- Martin, any news here?

[Bug bootstrap/55051] [4.8 Regression] profiledbootstrap failed

2012-11-16 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55051 --- Comment #27 from Jan Hubicka 2012-11-16 17:42:26 UTC --- /* Now merge each file. */ for (gi_ptr = gcov_list; gi_ptr; gi_ptr = gi_ptr->next) { // Open existing gcda file for gi_ptr // Find program summary corr

[Bug tree-optimization/38785] [4.5/4.6/4.7/4.8 Regression] huge performance regression on EEMBC bitmnp01

2012-11-16 Thread hubicka at gcc dot gnu.org
||hubicka at gcc dot gnu.org Resolution|FIXED | --- Comment #32 from Jan Hubicka 2012-11-16 17:50:28 UTC --- Would be possible to double check if this problem is still fixed after the fix to the tree-ssa-pre patch? I do not see any cold

[Bug tree-optimization/38785] [4.5/4.6/4.7/4.8 Regression] huge performance regression on EEMBC bitmnp01

2012-11-16 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38785 --- Comment #33 from Jan Hubicka 2012-11-16 18:00:54 UTC --- And at -O3 the testcase does not look really good indeed : # cstore_51 = PHI <0(5), 2147483647(6)> # prephitmp_82 = PHI <1073741823(5), 3221225470(6)> # prephitmp_83 =

[Bug tree-optimization/38785] [4.5/4.6/4.7/4.8 Regression] huge performance regression on EEMBC bitmnp01

2012-11-21 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38785 Jan Hubicka changed: What|Removed |Added Status|WAITING |REOPENED --- Comment #35 from Jan

[Bug tree-optimization/38785] [4.5/4.6/4.7/4.8 Regression] huge performance regression on EEMBC bitmnp01

2012-11-22 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38785 Jan Hubicka changed: What|Removed |Added CC||vmakarov at redhat dot com --- Co

<    7   8   9   10   11   12   13   14   15   16   >