[Bug tree-optimization/51362] [4.7 Regression] ICE: SIGFPE (division by zero) in good_cloning_opportunity_p at ipa-cp.c:2401

2011-12-13 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51362 --- Comment #6 from Martin Jambor 2011-12-13 15:43:39 UTC --- Author: jamborm Date: Tue Dec 13 15:43:36 2011 New Revision: 182288 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182288 Log: 2011-12-13 Martin Jambor PR tree-optimiza

[Bug tree-optimization/51362] [4.7 Regression] ICE: SIGFPE (division by zero) in good_cloning_opportunity_p at ipa-cp.c:2401

2011-12-13 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51362 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug middle-end/51439] [4.7 Regression] ICE(SIGFPE) in good_cloning_opportunity_p

2011-12-13 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51439 --- Comment #5 from Martin Jambor 2011-12-13 15:58:17 UTC --- Indeed it is and I have just verified that it is also fixed.

[Bug middle-end/50628] [4.7 Regression] gfortran.fortran-torture/execute/entry_4.f90 fails

2011-12-13 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50628 --- Comment #14 from Martin Jambor 2011-12-13 16:08:19 UTC --- Author: jamborm Date: Tue Dec 13 16:08:14 2011 New Revision: 182289 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182289 Log: 2011-12-13 Martin Jambor PR middle-end/5

[Bug middle-end/50628] [4.7 Regression] gfortran.fortran-torture/execute/entry_4.f90 fails

2011-12-13 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50628 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED URL|

[Bug tree-optimization/51583] New: One more missing force_gimple_operand in SRA

2011-12-16 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51583 Bug #: 51583 Summary: One more missing force_gimple_operand in SRA Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Prior

[Bug tree-optimization/50444] [4.6/4.7 Regression] -ftree-sra ignores alignment

2011-12-16 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50444 --- Comment #9 from Martin Jambor 2011-12-16 19:35:07 UTC --- I have just discovered this has not been fixed by the patch to dela with PR 50569. I'm moving this to the top of my todo list now.

[Bug tree-optimization/51583] One more missing force_gimple_operand in SRA

2011-12-16 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51583 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED URL|

[Bug tree-optimization/51583] One more missing force_gimple_operand in SRA

2011-12-19 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51583 --- Comment #2 from Martin Jambor 2011-12-19 14:33:21 UTC --- Author: jamborm Date: Mon Dec 19 14:33:18 2011 New Revision: 182483 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182483 Log: 2011-12-19 Martin Jambor PR tree-optimiza

[Bug tree-optimization/51600] [4.7 Regression] ice in estimate_local_effects

2011-12-19 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51600 Martin Jambor changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/51583] One more missing force_gimple_operand in SRA

2011-12-19 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51583 --- Comment #3 from Martin Jambor 2011-12-19 16:47:35 UTC --- Author: jamborm Date: Mon Dec 19 16:47:28 2011 New Revision: 182488 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182488 Log: 2011-12-19 Martin Jambor PR tree-optimiza

[Bug tree-optimization/51583] One more missing force_gimple_operand in SRA

2011-12-20 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51583 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/51600] [4.7 Regression] ice in estimate_local_effects

2011-12-21 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51600 Martin Jambor changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug tree-optimization/51759] [4.5 Regression] miscompile writes past end of bitfield

2012-01-05 Thread jamborm at gcc dot gnu.org
at gcc dot |jamborm at gcc dot gnu.org |gnu.org | --- Comment #4 from Martin Jambor 2012-01-05 13:39:22 UTC --- (In reply to comment #3) > Where 4.6 says: > > Candidate (2069): this > ! Disqualifying this - Encountered a bit-field access

[Bug tree-optimization/51737] [4.6 Regression] g++ crashes (internal compiler error: Segmentation fault) when compiling quickbook

2012-01-05 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51737 --- Comment #9 from Martin Jambor 2012-01-05 16:16:29 UTC --- I can reproduce the segfault when compiling both the testcase from comment #8 and the original unreduced test case on the 4.6 branch but not on my trunk checkout (revision 182785). I

[Bug tree-optimization/51737] [4.6 Regression] g++ crashes (internal compiler error: Segmentation fault) when compiling quickbook

2012-01-06 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51737 Martin Jambor changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/51759] [4.5 Regression] miscompile writes past end of bitfield

2012-01-06 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51759 Martin Jambor changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc-p

[Bug tree-optimization/51759] [4.5 Regression] miscompile writes past end of bitfield

2012-01-09 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51759 --- Comment #6 from Martin Jambor 2012-01-09 18:40:16 UTC --- Author: jamborm Date: Mon Jan 9 18:40:09 2012 New Revision: 183023 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183023 Log: 2012-01-09 Martin Jambor PR tree-optimiza

[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled

2012-01-09 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45644 --- Comment #10 from Martin Jambor 2012-01-09 18:40:17 UTC --- Author: jamborm Date: Mon Jan 9 18:40:09 2012 New Revision: 183023 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183023 Log: 2012-01-09 Martin Jambor PR tree-optimiz

[Bug tree-optimization/51759] [4.5 Regression] miscompile writes past end of bitfield

2012-01-09 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51759 --- Comment #7 from Martin Jambor 2012-01-09 19:52:13 UTC --- Author: jamborm Date: Mon Jan 9 19:52:06 2012 New Revision: 183029 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183029 Log: 2012-01-09 Martin Jambor PR tree-opti

[Bug tree-optimization/51759] [4.5 Regression] miscompile writes past end of bitfield

2012-01-09 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51759 --- Comment #8 from Martin Jambor 2012-01-09 20:03:15 UTC --- Author: jamborm Date: Mon Jan 9 20:03:08 2012 New Revision: 183031 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183031 Log: 2012-01-09 Martin Jambor PR tree-opti

[Bug tree-optimization/51759] [4.5 Regression] miscompile writes past end of bitfield

2012-01-09 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51759 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled

2012-01-09 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45644 Martin Jambor changed: What|Removed |Added CC||nobled at dreamwidth dot

[Bug tree-optimization/51737] [4.6 Regression] g++ crashes (internal compiler error: Segmentation fault) when compiling quickbook

2012-01-09 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51737 --- Comment #11 from Martin Jambor 2012-01-09 22:42:00 UTC --- The problem is much more fundamental than just a clone removal while also walking the clones of the same function although that is the reason why we segfault. But that would be almos

[Bug tree-optimization/50444] [4.6/4.7 Regression] -ftree-sra ignores alignment

2012-01-12 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50444 --- Comment #11 from Martin Jambor 2012-01-12 13:47:04 UTC --- I think that SRA's part of the fix is what I have just posted to the mailing list: http://gcc.gnu.org/ml/gcc-patches/2012-01/msg00613.html

[Bug tree-optimization/51782] -ftree-sra: Missing address-space information leads to wrong

2012-01-12 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51782 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug tree-optimization/50444] [4.6/4.7 Regression] -ftree-sra ignores alignment

2012-01-18 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50444 --- Comment #14 from Martin Jambor 2012-01-18 11:23:00 UTC --- Created attachment 26362 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26362 patch-in-progress I talked to richi on IRC yesterday and we agreed that because we rely on build_re

[Bug ipa/87615] Possible excessive compile time with -O2

2018-12-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87615 --- Comment #12 from Martin Jambor --- I have just posted the patch for review in: https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00456.html With it the compile time of the testcase goes down from approximately 340 seconds to about 160 seconds (

[Bug ipa/88214] ICE in bitmap_intersect_p() on 32-bit BE platforms

2018-12-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88214 --- Comment #7 from Martin Jambor --- I have posted the patch to the mailing list for review: https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00460.html

[Bug ipa/88214] ICE in bitmap_intersect_p() on 32-bit BE platforms

2018-12-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88214 --- Comment #8 from Martin Jambor --- Author: jamborm Date: Mon Dec 10 12:45:47 2018 New Revision: 266953 URL: https://gcc.gnu.org/viewcvs?rev=266953&root=gcc&view=rev Log: [PR 88214] Check that an argument is a pointer 2018-12-10 Martin Jambo

[Bug ipa/88214] ICE in bitmap_intersect_p() on 32-bit BE platforms

2018-12-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88214 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/85762] [8/9 Regression] range-v3 abstraction overhead not optimized away

2018-12-10 Thread jamborm at gcc dot gnu.org
||2018-12-10 CC||jamborm at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Martin Jambor --- Sure.

[Bug target/84481] [8/9 Regression] 429.mcf with -O2 regresses by ~6% and ~4%, depending on tuning, on Zen compared to GCC 7.2

2018-12-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84481 --- Comment #7 from Martin Jambor --- (In reply to Richard Biener from comment #6) > What's the state on trunk? I should have my own measurements only in January but according to https://lnt.opensuse.org/db_default/v4/SPEC/spec_report/branch the

[Bug target/84490] [8/9 regression] 436.cactusADM regressed by 6-8% percent with -Ofast on Zen and Haswell, compared to gcc 7.2

2018-12-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84490 --- Comment #10 from Martin Jambor --- I should have my own numbers only in January, but according to https://lnt.opensuse.org/db_default/v4/SPEC/spec_report/branch there is a 7% regression at -Ofast and generic march/mtune on Zen.

[Bug ipa/88214] ICE in bitmap_intersect_p() on 32-bit BE platforms

2018-12-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88214 --- Comment #10 from Martin Jambor --- Author: jamborm Date: Thu Dec 20 14:14:22 2018 New Revision: 267298 URL: https://gcc.gnu.org/viewcvs?rev=267298&root=gcc&view=rev Log: [PR 88214] Assert that ptr is a pointer 2018-12-20 Martin Jambor

[Bug c++/87863] [9 Regression] c-c++-common/gomp/gridify-{2,3}.c ICE

2018-12-21 Thread jamborm at gcc dot gnu.org
||2018-12-21 Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Martin Jambor --- Mine.

[Bug ipa/88214] ICE in bitmap_intersect_p() on 32-bit BE platforms

2019-01-16 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88214 --- Comment #11 from Martin Jambor --- Author: jamborm Date: Wed Jan 16 15:37:33 2019 New Revision: 267974 URL: https://gcc.gnu.org/viewcvs?rev=267974&root=gcc&view=rev Log: [PR 88214] Check that an argument is a pointer 2019-01-16 Martin Jamb

[Bug ipa/88214] ICE in bitmap_intersect_p() on 32-bit BE platforms

2019-01-16 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88214 --- Comment #12 from Martin Jambor --- Author: jamborm Date: Wed Jan 16 15:41:07 2019 New Revision: 267975 URL: https://gcc.gnu.org/viewcvs?rev=267975&root=gcc&view=rev Log: [PR 88214] Check that an argument is a pointer 2019-01-16 Martin Jamb

[Bug target/84481] [8/9 Regression] 429.mcf with -O2 regresses by ~6% and ~4%, depending on tuning, on Zen compared to GCC 7.2

2019-01-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84481 --- Comment #8 from Martin Jambor --- And even my own measurements show 6% slowdown at both -O2 and -Ofast with generic march/tuning against GCC 7 and now also 5% slowdown at -Ofast and native march/tuning against GCC 8.

[Bug ipa/87615] Possible excessive compile time with -O2

2019-01-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87615 --- Comment #13 from Martin Jambor --- Author: jamborm Date: Sun Jan 20 20:17:02 2019 New Revision: 268107 URL: https://gcc.gnu.org/viewcvs?rev=268107&root=gcc&view=rev Log: Limit AA walking in IPA summary generation 2019-01-20 Martin Jambor

[Bug ipa/87615] Possible excessive compile time with -O2

2019-01-21 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87615 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|jamborm at gcc

[Bug ipa/88933] ICE: verify_cgraph_node failed (Error: caller edge count does not match BB count)

2019-01-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88933 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug ipa/88933] ICE: verify_cgraph_node failed (Error: caller edge count does not match BB count)

2019-01-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88933 --- Comment #12 from Martin Jambor --- Created attachment 45511 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45511&action=edit Untested fix I'm currently testing this fix.

[Bug ipa/88933] ICE: verify_cgraph_node failed (Error: caller edge count does not match BB count)

2019-01-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88933 --- Comment #13 from Martin Jambor --- (In reply to Jan Hubicka from comment #11) > Actually, looking at Martin's patch, I guess ipcp transfrom should do > the same as inliner - do not cleanup cfg but call > delete_unreachable_blocks_update_callg

[Bug ipa/88933] ICE: verify_cgraph_node failed (Error: caller edge count does not match BB count)

2019-01-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88933 Martin Jambor changed: What|Removed |Added Attachment #45504|0 |1 is obsolete|

[Bug ipa/88933] ICE: verify_cgraph_node failed (Error: caller edge count does not match BB count)

2019-01-25 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88933 --- Comment #17 from Martin Jambor --- OK, I did that too and proposed a patch in https://gcc.gnu.org/ml/gcc-patches/2019-01/msg01525.html

[Bug ipa/88933] ICE: verify_cgraph_node failed (Error: caller edge count does not match BB count)

2019-01-26 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88933 --- Comment #18 from Martin Jambor --- Author: jamborm Date: Sat Jan 26 22:19:17 2019 New Revision: 268305 URL: https://gcc.gnu.org/viewcvs?rev=268305&root=gcc&view=rev Log: [PR ipa/88933] Careful CFG cleanup in IPA-CP function transformation 2

[Bug ipa/88933] ICE: verify_cgraph_node failed (Error: caller edge count does not match BB count)

2019-01-26 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88933 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug hsa/87863] [9 Regression] c-c++-common/gomp/gridify-{2,3}.c ICE

2019-02-01 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87863 --- Comment #5 from Martin Jambor --- Author: jamborm Date: Fri Feb 1 16:22:13 2019 New Revision: 268452 URL: https://gcc.gnu.org/viewcvs?rev=268452&root=gcc&view=rev Log: [PR hsa/87863] Set assembler name of group and global variables early 2

[Bug hsa/87863] [9 Regression] c-c++-common/gomp/gridify-{2,3}.c ICE

2019-02-01 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87863 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/89209] [9 Regression] ICE in build_ref_for_model, at tree-sra.c:1791

2019-02-05 Thread jamborm at gcc dot gnu.org
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #3 from Martin Jambor --- Which I suppose means it is mine.

[Bug tree-optimization/89209] [9 Regression] ICE in build_ref_for_model, at tree-sra.c:1791

2019-02-05 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209 --- Comment #4 from Martin Jambor --- For the record, the following is the most likely fix, but let me think about it a bit more tomorrow before I submit it. diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index e4851daaa3f..7efd0a62ebb 100644 ---

[Bug tree-optimization/89209] [9 Regression] ICE in build_ref_for_model, at tree-sra.c:1791

2019-02-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209 --- Comment #5 from Martin Jambor --- HWell, no. We create a special default-def SSA to insert into the IL the information that an uninitialized value is being loaded but now the SSA has aggregate type, which should not happen, I guess (even tho

[Bug ipa/84149] [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888

2018-04-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149 --- Comment #9 from Martin Jambor --- I have posted a proposed fix to the mailing list as: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00419.html (please ignore the stuff I mistakenly pasted to the subject line).

[Bug ipa/84149] [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888

2018-04-11 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149 --- Comment #10 from Martin Jambor --- Author: jamborm Date: Wed Apr 11 13:30:53 2018 New Revision: 259319 URL: https://gcc.gnu.org/viewcvs?rev=259319&root=gcc&view=rev Log: Improve IPA-CP handling of self-recursive calls 2018-04-11 Martin Jam

[Bug c++/85421] [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405

2018-04-16 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug ipa/85421] [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405

2018-04-16 Thread jamborm at gcc dot gnu.org
||marxin at gcc dot gnu.org Component|c++ |ipa Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #3 from Martin Jambor --- Mine. Fixed by the following: diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index

[Bug ipa/85421] [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405

2018-04-17 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 --- Comment #4 from Martin Jambor --- Author: jamborm Date: Tue Apr 17 08:48:41 2018 New Revision: 259432 URL: https://gcc.gnu.org/viewcvs?rev=259432&root=gcc&view=rev Log: Call expand_all_artificial_thunks in ipa-cp if necessary 2018-04-17 Ma

[Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319

2018-04-18 Thread jamborm at gcc dot gnu.org
at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Jambor --- Confirmed and I guess mine.

[Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319

2018-04-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 Martin Jambor changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #

[Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319

2018-04-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 --- Comment #4 from Martin Jambor --- I guess the best fix is to move the clone-redirecting logic to cgraph::create_clone.

[Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319

2018-04-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 --- Comment #5 from Martin Jambor --- Created attachment 43979 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43979&action=edit Untested WIP fix I have to leave office for a few hours, I'm attaching an untested fix I have so far. I will c

[Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319

2018-04-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 Martin Jambor changed: What|Removed |Added Attachment #43979|0 |1 is obsolete|

[Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319

2018-04-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #4 from Martin Jambor --- OK, I can see a failure with trunk but not with my fix for PR 85447. Looking into IPA-CP dumps of both, I guess that although the mechanism of this bug might be slightly different, the fix will be the same.

[Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319

2018-04-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 --- Comment #7 from Martin Jambor --- Thinking about this a bit more, there can be cases where only a subset (potentially empty) of clones of self-recursive edges of the cloned edges are to be redirected... I will adjust the patch accordingly.

[Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319

2018-04-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #5 from Martin Jambor --- All right, this is a different bug, the description in the summary describes it fairly precisely. To the extent to which I am still awake, I believe the fix is the patch below. I will test it properly tomor

[Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319

2018-04-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #7 from Martin Jambor --- I believe I understand the issue and will prepare a testcase from scratch. Possibly after I test/submit the patch if it takes too long. Thanks for your effort!

[Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319

2018-04-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #8 from Martin Jambor --- I believe I understand the issue and will prepare a testcase from scratch. Possibly after I test/submit the patch if it takes too long. Thanks for your effort!

[Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319

2018-04-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 Martin Jambor changed: What|Removed |Added Attachment #43981|0 |1 is obsolete|

[Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319

2018-04-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #10 from Martin Jambor --- Created attachment 43990 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43990&action=edit Simple testcase This is a simple testcase. Let me prepare the final patch then.

[Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319

2018-04-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 --- Comment #9 from Martin Jambor --- Eventually, we have decided to go for a more limited fix which I have posted to the mailing list: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00995.html

[Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319

2018-04-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #11 from Martin Jambor --- I have posted the following fix to the mailing list: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00996.html

[Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319

2018-04-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319

2018-04-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/82805] [7/8 Regression] SPEC CPU2006 454.calculix ~6% performance deviation in between 6.3 and 7.2

2018-04-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82805 --- Comment #7 from Martin Jambor --- According to my latest numbers. 454.alculix compiled with gcc 7 is 3% slower than gcc 6 at -O2 but trunk (r259234) is as fast as gcc 6.

[Bug ipa/85549] [8/9 Regression] Infinite loop in ilmbase package

2018-04-27 Thread jamborm at gcc dot gnu.org
||2018-04-27 Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Martin Jambor --- Mine

[Bug ipa/85549] [8/9 Regression] Infinite loop in ilmbase package

2018-04-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85549 --- Comment #4 from Martin Jambor --- This is another stupid omission, I forgot that for by-reference aggregate values, one has to check the agg_preserved of the jump function. diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index 1b8f335fd32..4f28a55b

[Bug ipa/85549] [8/9 Regression] Infinite loop in ilmbase package

2018-04-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85549 --- Comment #6 from Martin Jambor --- I have posted the fix to the mailing list: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg01236.html

[Bug ipa/85655] [8/9 Regression] ICE with -flto and -O2 during IPA pass: cp lto1: internal compiler error: Segmentation fault

2018-05-08 Thread jamborm at gcc dot gnu.org
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #2 from Martin Jambor --- Mine.

[Bug ipa/85655] [8/9 Regression] ICE with -flto and -O2 during IPA pass: cp lto1: internal compiler error: Segmentation fault

2018-05-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85655 --- Comment #4 from Martin Jambor --- I have posted a proposed fix to the mailing list: https://gcc.gnu.org/ml/gcc-patches/2018-05/msg00468.html

[Bug target/84201] 549.fotonik3d_r from SPEC2017 fails verification with -mprefer-vector-width=256 or 512 on Zen

2018-05-11 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84201 --- Comment #1 from Martin Jambor --- When benchmarking GCC 8 on an older Ivy Bridge Xeon, I also got 549.fotonik3d_r verification error just with -Ofast -g -march=native -mtune=native

[Bug ipa/85655] [8/9 Regression] ICE with -flto and -O2 during IPA pass: cp lto1: internal compiler error: Segmentation fault

2018-05-11 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85655 --- Comment #5 from Martin Jambor --- Author: jamborm Date: Fri May 11 15:55:15 2018 New Revision: 260165 URL: https://gcc.gnu.org/viewcvs?rev=260165&root=gcc&view=rev Log: Check is_single_const in intersect_with_plats 2018-05-11 Martin Jambor

[Bug ipa/85655] [8/9 Regression] ICE with -flto and -O2 during IPA pass: cp lto1: internal compiler error: Segmentation fault

2018-05-11 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85655 --- Comment #6 from Martin Jambor --- Author: jamborm Date: Fri May 11 15:58:29 2018 New Revision: 260166 URL: https://gcc.gnu.org/viewcvs?rev=260166&root=gcc&view=rev Log: Check is_single_const in intersect_with_plats 2018-05-11 Martin Jambor

[Bug ipa/85655] [8/9 Regression] ICE with -flto and -O2 during IPA pass: cp lto1: internal compiler error: Segmentation fault

2018-05-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85655 --- Comment #8 from Martin Jambor --- The bug is latent on gcc7 and gcc6, I plan to commit the fix there at the end of this week.

[Bug ipa/85655] [8/9 Regression] ICE with -flto and -O2 during IPA pass: cp lto1: internal compiler error: Segmentation fault

2018-05-17 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85655 --- Comment #9 from Martin Jambor --- Author: jamborm Date: Thu May 17 12:18:06 2018 New Revision: 260319 URL: https://gcc.gnu.org/viewcvs?rev=260319&root=gcc&view=rev Log: Check is_single_const in intersect_with_plats 2018-05-17 Martin Jambor

[Bug ipa/85655] [8/9 Regression] ICE with -flto and -O2 during IPA pass: cp lto1: internal compiler error: Segmentation fault

2018-05-17 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85655 --- Comment #10 from Martin Jambor --- Author: jamborm Date: Thu May 17 12:23:34 2018 New Revision: 260320 URL: https://gcc.gnu.org/viewcvs?rev=260320&root=gcc&view=rev Log: Check is_single_const in intersect_with_plats 2018-05-17 Martin Jambo

[Bug ipa/85655] [8/9 Regression] ICE with -flto and -O2 during IPA pass: cp lto1: internal compiler error: Segmentation fault

2018-05-17 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85655 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/82804] [7/8/9 Regression] SPEC CPU2006 470.lbm ~5% performance deviation with r237185

2018-06-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82804 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2018-06-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 82804, which changed state. Bug 82804 Summary: [7/8/9 Regression] SPEC CPU2006 470.lbm ~5% performance deviation with r237185 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82804 What|Removed

[Bug other/84613] [meta-bug] SPEC compiler performance issues

2018-06-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84613 Bug 84613 depends on bug 82804, which changed state. Bug 82804 Summary: [7/8/9 Regression] SPEC CPU2006 470.lbm ~5% performance deviation with r237185 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82804 What|Removed

[Bug target/82805] [7/8/9 Regression] SPEC CPU2006 454.calculix ~6% performance deviation in between 6.3 and 7.2

2018-06-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82805 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2018-06-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 82805, which changed state. Bug 82805 Summary: [7/8/9 Regression] SPEC CPU2006 454.calculix ~6% performance deviation in between 6.3 and 7.2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82805 What|Removed

[Bug other/84613] [meta-bug] SPEC compiler performance issues

2018-06-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84613 Bug 84613 depends on bug 82805, which changed state. Bug 82805 Summary: [7/8/9 Regression] SPEC CPU2006 454.calculix ~6% performance deviation in between 6.3 and 7.2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82805 What|Removed

[Bug tree-optimization/86270] New: Simple loop needs an extra register and an extra instruction

2018-06-21 Thread jamborm at gcc dot gnu.org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Target Milestone: --- Compiling the following simple example with GCC 8 on an x86_64 with just -O2 -S: int *a

[Bug tree-optimization/86270] Simple loop needs an extra register and an extra instruction

2018-06-21 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86270 Martin Jambor changed: What|Removed |Added Target||x86_64-linux CC|

[Bug target/84481] [8/9 Regression] 429.mcf with -O2 regresses by ~6% and ~4%, depending on tuning, on Zen compared to GCC 7.2

2018-06-22 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84481 --- Comment #2 from Martin Jambor --- Regarding the generic tuning issue, the difference comes down to the order of the three instructions at offset 46 in the hottest loop below (left is fast, right is slow, both along with their perf samples):

[Bug ipa/86274] [7/8/9 Regression] SEGFAULT when logging std::to_string(NAN)

2018-06-29 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86274 --- Comment #7 from Martin Jambor --- The IPA (and first tree) dumps look all normal. But even when I patch IPA-CP to create a clone but not to modify it in any way, I still get the segfault. I'll look where we start diverging next.

[Bug ipa/86274] [7/8/9 Regression] SEGFAULT when logging std::to_string(NAN)

2018-06-29 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86274 --- Comment #8 from Martin Jambor --- After a more careful look: The testcase from comment #5 calls __builtin_alloca(1) and then tries to vnsprintf into that memory, so I decided I'd go back to the original testcase. It indeed does segfaults whe

[Bug ipa/86274] [7/8/9 Regression] SEGFAULT when logging std::to_string(NAN)

2018-06-29 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86274 --- Comment #9 from Martin Jambor --- As early as the ssa dump we have, in the same function, : __len_13 = _12; __builtin_va_end (&__args); std::allocator::allocator (&D.122645); _1 = (sizetype) __len_13; _2 = __s_7 + _1; std::__c

[Bug ipa/86274] [7/8/9 Regression] SEGFAULT when logging std::to_string(NAN)

2018-06-29 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86274 --- Comment #10 from Martin Jambor --- And in the previous dump (fixup_cfg1), we have : __len = D.127713; __builtin_va_end (&__args); std::allocator::allocator (&D.122645); _1 = (sizetype) __len; _2 = __s + _1; std::__cxx11::basic

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