[Bug tree-optimization/91181] New: Failing as_as type conversion in vect_build_slp_tree_1

2019-07-16 Thread jamborm at gcc dot gnu.org
Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux Target: x86_64-linux When compiling C snippet: enum { a, b, c

[Bug ipa/89330] IPA inliner touches released cgraph_edges

2019-07-25 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89330 --- Comment #13 from Martin Jambor --- I have proposed this patch on the mailing list: https://gcc.gnu.org/ml/gcc-patches/2019-07/msg01648.html

[Bug ipa/89330] IPA inliner touches released cgraph_edges

2019-07-26 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89330 --- Comment #14 from Martin Jambor --- Author: jamborm Date: Fri Jul 26 08:44:51 2019 New Revision: 273825 URL: https://gcc.gnu.org/viewcvs?rev=273825&root=gcc&view=rev Log: [PR 89330] Remove non-useful speculations from new_edges 2019-07-26 M

[Bug ipa/89330] IPA inliner touches released cgraph_edges

2019-08-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89330 Martin Jambor changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug ipa/91468] Suspicious codes in ipa-prop.c and ipa-cp.c

2019-08-26 Thread jamborm at gcc dot gnu.org
||kugan.vivekanandarajah@lina ||ro.org Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #1 from Martin Jambor --- (In reply to Feng Xue from comment #0) > Some might be a bug, and s

[Bug ipa/91468] Suspicious codes in ipa-prop.c and ipa-cp.c

2019-08-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91468 --- Comment #3 from Martin Jambor --- I have proposed a patch on the mailing list: https://gcc.gnu.org/ml/gcc-patches/2019-08/msg01820.html

[Bug tree-optimization/91579] New: tailr1 pass creates redundant phi nodes

2019-08-28 Thread jamborm at gcc dot gnu.org
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux Target: x86_64-linux When compiling the following testcase (at least at -O2 and higher), the early tail-call pass creates

[Bug ipa/91468] Suspicious codes in ipa-prop.c and ipa-cp.c

2019-08-28 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91468 --- Comment #4 from Martin Jambor --- Author: jamborm Date: Wed Aug 28 14:26:45 2019 New Revision: 274992 URL: https://gcc.gnu.org/viewcvs?rev=274992&root=gcc&view=rev Log: [PR 91468] Small fixes in ipa-cp.c and ipa-prop.c 2019-08-28 Martin Ja

[Bug ipa/91468] Suspicious codes in ipa-prop.c and ipa-cp.c

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

[Bug tree-optimization/91579] tailr1 pass creates redundant phi nodes

2019-08-29 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91579 --- Comment #1 from Martin Jambor --- I proposed a patch on the mailing list: https://gcc.gnu.org/ml/gcc-patches/2019-08/msg01949.html

[Bug ipa/91832] [10 Regression] ICE in scan_expr_access, at ipa-sra.c:1695 since r275982

2019-09-23 Thread jamborm at gcc dot gnu.org
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #2 from Martin Jambor --- Obviously mine.

[Bug ipa/91835] [10 regression] ipa-sra in section names breaks with Solaris/x86 as

2019-09-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91835 --- Comment #4 from Martin Jambor --- Thanks a lot

[Bug testsuite/91842] new test case gcc.dg/ipa/ipa-sra-19.c in r275982 has compilation error

2019-09-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91842 --- Comment #1 from Martin Jambor --- I don't see this in my test results. If your architecture is not x86_64-linux (and even if it is), please fill in the host and target Bugzilla fields appropriately. Grepping GCC sources, it seems it is some

[Bug ipa/91831] [10 Regression] ICE in expand_expr_real_1, at expr.c:10062 after r275982

2019-09-23 Thread jamborm at gcc dot gnu.org
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #1 from Martin Jambor --- I'm testing a patch

[Bug ipa/91853] [10 Regression] ICE in gimplify_modify_expr, at gimplify.c:5902 since r275982

2019-09-23 Thread jamborm at gcc dot gnu.org
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #2 from Martin Jambor --- (In reply to Richard Biener from comment #1) > Bonus: do w/o gimplification... I'll see what I can do.

[Bug ipa/91832] [10 Regression] ICE in scan_expr_access, at ipa-sra.c:1695 since r275982

2019-09-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91832 --- Comment #3 from Martin Jambor --- I proposed a simple fix on the mailing list: https://gcc.gnu.org/ml/gcc-patches/2019-09/msg01338.html

[Bug ipa/91853] [10 Regression] ICE in gimplify_modify_expr, at gimplify.c:5902 since r275982

2019-09-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91853 --- Comment #3 from Martin Jambor --- IPA-SRA transformation code gets confused by type mismatch in the K&R C input, the call has an int where the function has a pointer parameter and as a consequence we try to obtain an ADDR_EXPR of an SSA name.

[Bug ipa/91831] [10 Regression] ICE in expand_expr_real_1, at expr.c:10062 after r275982

2019-09-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91831 --- Comment #2 from Martin Jambor --- I proposed a fix on the mailing list: https://gcc.gnu.org/ml/gcc-patches/2019-09/msg01345.html

[Bug ipa/91832] [10 Regression] ICE in scan_expr_access, at ipa-sra.c:1695 since r275982

2019-09-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91832 --- Comment #4 from Martin Jambor --- Author: jamborm Date: Tue Sep 24 11:16:57 2019 New Revision: 276093 URL: https://gcc.gnu.org/viewcvs?rev=276093&root=gcc&view=rev Log: [PR 91832] Do not ICE on negative offsets in ipa-sra Hi, IPA-SRA asser

[Bug ipa/91831] [10 Regression] ICE in expand_expr_real_1, at expr.c:10062 after r275982

2019-09-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91831 --- Comment #3 from Martin Jambor --- Author: jamborm Date: Tue Sep 24 11:20:57 2019 New Revision: 276094 URL: https://gcc.gnu.org/viewcvs?rev=276094&root=gcc&view=rev Log: [PR 91831] Copy PARM_DECLs of artificial thunks Hi, I am quite surpris

[Bug ipa/91831] [10 Regression] ICE in expand_expr_real_1, at expr.c:10062 after r275982

2019-09-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91831 Martin Jambor changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #4 f

[Bug ipa/91872] [10 Regression] ICE in insert_vi_for_tree, at tree-ssa-structalias.c:2877, or ICE in expand_expr_real_1, at expr.c:10062

2019-09-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91872 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/91894] [10 Regression] ICE in tree check: expected tree that contains ‘decl common’ structure, have ‘integer_cst’ in tree_could_trap_p, at tree-eh.c:2679 since r275982

2019-09-25 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91894 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/91853] [10 Regression] ICE in gimplify_modify_expr, at gimplify.c:5902 since r275982

2019-09-25 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91853 --- Comment #4 from Martin Jambor --- *** Bug 91894 has been marked as a duplicate of this bug. ***

[Bug lto/70929] [7/8/9/10 regression] Cross-module inlining for functions having argument passed by reference is no longer working.

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

[Bug ipa/91853] [10 Regression] ICE in gimplify_modify_expr, at gimplify.c:5902 since r275982

2019-09-30 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91853 --- Comment #5 from Martin Jambor --- Author: jamborm Date: Mon Sep 30 08:18:59 2019 New Revision: 276296 URL: https://gcc.gnu.org/viewcvs?rev=276296&root=gcc&view=rev Log: [PR 91853] Prevent IPA-SRA ICEs on type-mismatched calls 2019-09-30 Ma

[Bug ipa/91853] [10 Regression] ICE in gimplify_modify_expr, at gimplify.c:5902 since r275982

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

[Bug testsuite/91842] new test case gcc.dg/ipa/ipa-sra-19.c in r275982 has compilation error

2019-10-02 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91842 --- Comment #3 from Martin Jambor --- Author: jamborm Date: Wed Oct 2 15:09:37 2019 New Revision: 276465 URL: https://gcc.gnu.org/viewcvs?rev=276465&root=gcc&view=rev Log: [PR testsuite/91842] Skip gcc.dg/ipa/ipa-sra-19.c on power 2019-10-02

[Bug testsuite/91842] new test case gcc.dg/ipa/ipa-sra-19.c in r275982 has compilation error

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

[Bug gcov-profile/91969] New: Compiling testsuite/g++.dg/ipa/pr85421.C with -fdump-ipa-inline ICEs

2019-10-02 Thread jamborm at gcc dot gnu.org
Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux Target: x86_64-linux If you

[Bug preprocessor/91991] New: ICE in linemap_macro_map_lookup when LTO-building SQLite after r275402

2019-10-04 Thread jamborm at gcc dot gnu.org
Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: hubicka at gcc dot gnu.org, nathan at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux

[Bug ipa/60243] IPA is slow on large cgraph tree

2019-10-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60243 --- Comment #26 from Martin Jambor --- With new IPA-SRA, the situation has improved quite a bit, see below where old-ipa-sra is trunk r275981 and new-ipa-sra is trunk r275982 (arrival of new IPA-SRA): $ /usr/bin/time -f 'real=%e user=%U' taskset

[Bug middle-end/92037] [10 Regression] LTO bootstrap broken in selftests

2019-10-10 Thread jamborm at gcc dot gnu.org
||2019-10-10 CC||dmalcolm at gcc dot gnu.org, ||hubicka at gcc dot gnu.org, ||jamborm at gcc dot gnu.org Ever confirmed|0

[Bug target/81616] Update -mtune=generic for the current Intel and AMD processors

2017-12-13 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81616 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug target/81616] Update -mtune=generic for the current Intel and AMD processors

2017-12-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81616 --- Comment #40 from Martin Jambor --- (In reply to Sebastian Peryt from comment #39) > I have tested it on SKX with SPEC2006INT and SPEC2017INT and don't see any > regressions. I should have written that the patch only affects znver1 tuning by

[Bug tree-optimization/83329] internal compiler error: in vectorizable_store, at tree-vect-stmts.c:6327

2017-12-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83329 --- Comment #3 from Martin Jambor --- Author: jamborm Date: Tue Dec 19 10:43:00 2017 New Revision: 255814 URL: https://gcc.gnu.org/viewcvs?rev=255814&root=gcc&view=rev Log: Added testcase for PR 83329 2017-12-19 Martin Jambor PR tre

[Bug tree-optimization/83329] internal compiler error: in vectorizable_store, at tree-vect-stmts.c:6327

2017-12-19 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83329 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/82027] [7/8 Regression] wrong code with -O3 -flto

2017-12-21 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82027 --- Comment #9 from Martin Jambor --- We create an "artificial_thunk" for an IPA-CP clone, which is really nothing but a thunk with skipped arguments but we do not stream its args_to_skip because output_cgraph_opt_summary_p returns false because

[Bug ipa/82027] [7/8 Regression] wrong code with -O3 -flto

2017-12-21 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82027 --- Comment #10 from Martin Jambor --- OK, so I did not realize that duplicate_thunk_for_node does not set clone_of but former_clone of, which is of course what it must do. I have checked and this is the only place where we currently set former_

[Bug lto/82027] [7/8 Regression] wrong code with -O3 -flto

2017-12-21 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82027 --- Comment #12 from Martin Jambor --- Thanks, I have submitted the patch to the mailing list: https://gcc.gnu.org/ml/gcc-patches/2017-12/msg01457.html

[Bug debug/83378] [8 regression] gcc.dg/guality/pr54970.c xpass

2017-12-22 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83378 --- Comment #3 from Martin Jambor --- Not necessarily errorneous. In this particular case, we simply lack the ability to tell deja-gnu to expect this to pass at -O0 but expect it to fail at any higher level. We have consciously decided to cope

[Bug lto/82027] [7/8 Regression] wrong code with -O3 -flto

2017-12-22 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82027 --- Comment #13 from Martin Jambor --- Author: jamborm Date: Fri Dec 22 17:03:16 2017 New Revision: 255978 URL: https://gcc.gnu.org/viewcvs?rev=255978&root=gcc&view=rev Log: [PR 82027] Also stream opt_info of former_clones 2017-12-22 Martin Ja

[Bug lto/82027] [7/8 Regression] wrong code with -O3 -flto

2017-12-22 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82027 --- Comment #14 from Martin Jambor --- Author: jamborm Date: Fri Dec 22 18:28:59 2017 New Revision: 255983 URL: https://gcc.gnu.org/viewcvs?rev=255983&root=gcc&view=rev Log: [PR 82027] Also stream opt_info of former_clones 2017-12-22 Martin Ja

[Bug ipa/83178] [8 regression] g++.dg/ipa/devirt-22.C fail

2018-01-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83178 --- Comment #7 from Martin Jambor --- We create an additional clone because the edge that brings the context now satisfies maybe_hot_p and previously it didn't. The reason is that the caller (which is called sort) now has frequency NODE_FREQUENC

[Bug target/81616] Update -mtune=generic for the current Intel and AMD processors

2018-01-12 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81616 --- Comment #44 from Martin Jambor --- Author: jamborm Date: Fri Jan 12 14:06:10 2018 New Revision: 256581 URL: https://gcc.gnu.org/viewcvs?rev=256581&root=gcc&view=rev Log: Deferring FMA transformations in tight loops 2018-01-12 Martin Jambor

[Bug target/81616] Update -mtune=generic for the current Intel and AMD processors

2018-01-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81616 --- Comment #51 from Martin Jambor --- (In reply to Andrew Roberts from comment #50) > with the matrix.c benchmark on Ryzen and looking at the other options when > using -march=znver1 and -mtune=znver1 > > mult took 225281 clocks -march=znver1 -

[Bug c++/83990] [7/8 Regression] Spurious "potential null pointer dereference" warning regression from 7.1 onwards

2018-01-25 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83990 --- Comment #7 from Martin Jambor --- (In reply to Jakub Jelinek from comment #4) > > ... > > The statement on which on the original testcase it warns indeed has no > location, that was created during IPA optimizations: > ipa_modify_call_argumen

[Bug c++/83990] [7/8 Regression] Spurious "potential null pointer dereference" warning regression from 7.1 onwards

2018-01-25 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83990 --- Comment #11 from Martin Jambor --- I was indeed looking at the testcase from comment #4, sorry. I will look at the new ones (and check with the original one).

[Bug c++/83990] [7/8 Regression] Spurious "potential null pointer dereference" warning regression from 7.1 onwards

2018-01-26 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83990 --- Comment #12 from Martin Jambor --- Created attachment 43254 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43254&action=edit Lost location fix I'm testing this patch which does what Jakub suggested in comment #4. With the patch, -fno-

[Bug middle-end/84200] New: r256888 causes 30% performance regression of 519.lbm_r at -Ofast generic tuning on Zen

2018-02-04 Thread jamborm at gcc dot gnu.org
Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Target Milestone: --- Revision 256888 caused 30% run-time regression of 519.lbm_r when compiled with -Ofast (with generic march and

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

2018-02-04 Thread jamborm at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Target Milestone: --- I'm not sure if I can post any more details than what the subject says. On AMD EPYC and Ryzen machine

[Bug lto/84213] New: 521.wrf_r from SPEC 2017 fails to build (link) with LTO

2018-02-05 Thread jamborm at gcc dot gnu.org
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- 521.wrf_r from the SPEC 2017 suite fails to link when built with -O2 -g -flto=8 (or -Ofast -g -flto=8

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

2018-02-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82805 --- Comment #6 from Martin Jambor --- January trunk revision 257023 improved a little but still loses 3.25% on gcc 6 (on Zen).

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

2019-02-11 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85762 --- Comment #4 from Martin Jambor --- My apologies, I forgot about this bug. I will have a look this week.

[Bug tree-optimization/42970] Missed unused function return value elimination

2019-02-11 Thread jamborm at gcc dot gnu.org
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #5 from Martin Jambor --- I have posted a WIP patch as: https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01765.html I am in the process of cleaning it up for final submission once stage 1 opens again.

[Bug hsa/89302] New: libgomp.c-c++-common/for-11.c fails when offloaded to HSA

2019-02-12 Thread jamborm at gcc dot gnu.org
Priority: P3 Component: hsa Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: jamborm at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- I can see the following two libgomp failures when the testsuite is run

[Bug ipa/89330] IPA inliner touches released cgraph_edges

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

[Bug ipa/89330] IPA inliner touches released cgraph_edges

2019-02-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89330 --- Comment #6 from Martin Jambor --- Created attachment 45730 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45730&action=edit Untested fix I'm testing the attached fix.

[Bug ipa/89330] IPA inliner touches released cgraph_edges

2019-02-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89330 Martin Jambor changed: What|Removed |Added Assignee|hubicka at gcc dot gnu.org |jamborm at gcc dot gnu.org

[Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2

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

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

2019-02-16 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209 --- Comment #6 from Martin Jambor --- I have proposed a fix on the mailing list: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01315.html

[Bug ipa/87254] Inlining clones in trivial wrappers

2019-02-16 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87254 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2019-02-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209 --- Comment #7 from Martin Jambor --- Author: jamborm Date: Mon Feb 18 08:59:04 2019 New Revision: 268980 URL: https://gcc.gnu.org/viewcvs?rev=268980&root=gcc&view=rev Log: [PR 89209] Avoid segfault in a peculiar corner case in SRA 2019-02-18

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

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

[Bug hsa/89302] libgomp.c-c++-common/for-11.c fails when offloaded to HSA

2019-02-21 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89302 --- Comment #1 from Martin Jambor --- Author: jamborm Date: Thu Feb 21 11:00:47 2019 New Revision: 269066 URL: https://gcc.gnu.org/viewcvs?rev=269066&root=gcc&view=rev Log: [omp] Move NE_EXPR handling to omp_adjust_for_condition 2019-02-21 Mar

[Bug hsa/89302] libgomp.c-c++-common/for-11.c fails when offloaded to HSA

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

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

2019-02-22 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85762 --- Comment #6 from Martin Jambor --- The problem is that we now consider MEM_REFs loading a different type than the one of the underlying DECL as V_C_E and are equally careful about it. I this particular case, we have statements like. MEM[(str

[Bug tree-optimization/87008] [8/9 Regression] gimple mem-to-mem assignment badly optimized

2019-02-22 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87008 --- Comment #7 from Martin Jambor --- (In reply to Marc Glisse from comment #1) > struct A { double a, b; }; > struct B : A {}; > templatevoid cp(T&a,T const&b){a=b;} > double f(B x){ > B y; cp(y,x); > B z; cp(z,x); > return y.a - z.a; > }

[Bug tree-optimization/85459] [8/9 Regression] Larger code generated from GMP template meta-programming

2019-02-22 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85459 --- Comment #9 from Martin Jambor --- Given that this is related to r255510, I tried out the proof-of concept patch from PR 85762 first too and it shrunk text size (compiled with -O3 and Monday trunk) from 901 to 417. So very likely the same iss

[Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2

2019-02-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87525 --- Comment #21 from Martin Jambor --- After a bit more thinking, I found a better spot where to treat extern inline functions differently, I have proposed a patch in the mailing list: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg02049.html

[Bug ipa/88235] [7/8/9 Regression] ICE: verify_cgraph_node failed (error: edge points to wrong declaration)

2019-02-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235 --- Comment #2 from Martin Jambor --- I have looked at this a bit more and the problem is that thunk inlining expands a thunk which then makes the clone_of_p() part of cgraph_edge::verify_corresponds_to_fndecl() fail. I must say that I found the

[Bug ipa/88235] [7/8/9 Regression] ICE: verify_cgraph_node failed (error: edge points to wrong declaration)

2019-02-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235 --- Comment #3 from Martin Jambor --- Created attachment 45841 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45841&action=edit Heavy handed fix This patch fixes the verification because it stores to cgraph_node information that the node i

[Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510

2019-03-01 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546 --- Comment #4 from Martin Jambor --- (In reply to Jakub Jelinek from comment #3) > ...But in the sra pass dump that possibility is gone: I am still double checking because it is easy to make a mistake but I have seen a (potential) path in the s

[Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510

2019-03-02 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546 --- Comment #7 from Martin Jambor --- Right, I must have been looking at output of a patched compiler. Anyway, I believe I tracked it down to a bug in how SRA propagates write flag (since r247604). In one specific case, an access structure is no

[Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members

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

[Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members

2019-03-04 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567 --- Comment #5 from Martin Jambor --- (In reply to Eyal Rozenberg from comment #4) > > In the first excample, the interproceudral constant propagation pass > > (IPA-CP) found that foo1 is so small that copying all of it might be > > worth not pas

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

2019-03-05 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85762 --- Comment #8 from Martin Jambor --- (In reply to Jakub Jelinek from comment #7) > Do you really want to match type of any field whatsoever, or better look for > the type of a field at the particular position? I was thinking about exactly this

[Bug ipa/88235] [7/8/9 Regression] ICE: verify_cgraph_node failed (error: edge points to wrong declaration)

2019-03-06 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235 --- Comment #5 from Martin Jambor --- I have proposed such patch on the mailing list: https://gcc.gnu.org/ml/gcc-patches/2019-03/msg00262.html

[Bug ipa/88235] [7/8/9 Regression] ICE: verify_cgraph_node failed (error: edge points to wrong declaration)

2019-03-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235 --- Comment #6 from Martin Jambor --- Author: jamborm Date: Thu Mar 7 16:03:34 2019 New Revision: 269462 URL: https://gcc.gnu.org/viewcvs?rev=269462&root=gcc&view=rev Log: Relax cgraph_node::clone_of_p to also look through former clones 2019-0

[Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2

2019-03-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87525 --- Comment #22 from Martin Jambor --- Author: jamborm Date: Thu Mar 7 16:42:20 2019 New Revision: 269464 URL: https://gcc.gnu.org/viewcvs?rev=269464&root=gcc&view=rev Log: Zero local estimated benefit for cloning extern inline function 2019-0

[Bug ipa/88235] [7/8/9 Regression] ICE: verify_cgraph_node failed (error: edge points to wrong declaration)

2019-03-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235 --- Comment #7 from Martin Jambor --- Author: jamborm Date: Fri Mar 8 22:55:20 2019 New Revision: 269517 URL: https://gcc.gnu.org/viewcvs?rev=269517&root=gcc&view=rev Log: Relax cgraph_node::clone_of_p to also look through former clones 2019-0

[Bug ipa/88235] [7 Regression] ICE: verify_cgraph_node failed (error: edge points to wrong declaration)

2019-03-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235 Martin Jambor changed: What|Removed |Added Version|9.0 |7.0 Summary|[7/8/9 Regression

[Bug tree-optimization/85459] [8/9 Regression] Larger code generated from GMP template meta-programming

2019-03-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85459 --- Comment #10 from Martin Jambor --- Author: jamborm Date: Sun Mar 10 16:20:06 2019 New Revision: 269556 URL: https://gcc.gnu.org/viewcvs?rev=269556&root=gcc&view=rev Log: Make SRA less strict with memcpy performing MEM_REFs 2019-03-10 Marti

[Bug tree-optimization/87008] [8/9 Regression] gimple mem-to-mem assignment badly optimized

2019-03-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87008 --- Comment #8 from Martin Jambor --- Author: jamborm Date: Sun Mar 10 16:20:06 2019 New Revision: 269556 URL: https://gcc.gnu.org/viewcvs?rev=269556&root=gcc&view=rev Log: Make SRA less strict with memcpy performing MEM_REFs 2019-03-10 Martin

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

2019-03-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85762 --- Comment #9 from Martin Jambor --- Author: jamborm Date: Sun Mar 10 16:20:06 2019 New Revision: 269556 URL: https://gcc.gnu.org/viewcvs?rev=269556&root=gcc&view=rev Log: Make SRA less strict with memcpy performing MEM_REFs 2019-03-10 Martin

[Bug tree-optimization/89697] SRA prevents -Wuninitialized warning

2019-03-13 Thread jamborm at gcc dot gnu.org
||2019-03-13 Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Jambor --- This is because we set TREE_NO_WARNING in generate_subtree_copies. I'll remove it, see

[Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510

2019-03-13 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546 --- Comment #8 from Martin Jambor --- Created attachment 45964 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45964&action=edit x86_64 testcase It took me four or five evenings and is quite fragile, but finally I have an x86_64-linux testc

[Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510

2019-03-14 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546 --- Comment #9 from Martin Jambor --- I have proposed the patch on the mailing list: https://gcc.gnu.org/ml/gcc-patches/2019-03/msg00708.html

[Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2

2019-03-14 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87525 --- Comment #23 from Martin Jambor --- Author: jamborm Date: Thu Mar 14 16:50:50 2019 New Revision: 269687 URL: https://gcc.gnu.org/viewcvs?rev=269687&root=gcc&view=rev Log: Zero local estimated benefit for cloning extern inline function 2019-0

[Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2

2019-03-14 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87525 --- Comment #24 from Martin Jambor --- Author: jamborm Date: Thu Mar 14 16:54:43 2019 New Revision: 269688 URL: https://gcc.gnu.org/viewcvs?rev=269688&root=gcc&view=rev Log: Zero local estimated benefit for cloning extern inline function 2019-0

[Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2

2019-03-14 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87525 --- Comment #25 from Martin Jambor --- My work is done here. I'm not sure if it means that we can close this, given that the underlying problem is not "really fixed(TM)."

[Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510

2019-03-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546 --- Comment #10 from Martin Jambor --- Author: jamborm Date: Mon Mar 18 11:28:01 2019 New Revision: 269761 URL: https://gcc.gnu.org/viewcvs?rev=269761&root=gcc&view=rev Log: Add forgotten requeing in propagate_subaccesses_across_link 2019-03-18

[Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510

2019-03-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546 --- Comment #11 from Martin Jambor --- Author: jamborm Date: Mon Mar 18 11:31:52 2019 New Revision: 269762 URL: https://gcc.gnu.org/viewcvs?rev=269762&root=gcc&view=rev Log: Add forgotten requeing in propagate_subaccesses_across_link 2019-03-18

[Bug ipa/89693] [9 Regression] ICE: verify_cgraph_node failed (error: edge points to wrong declaration)

2019-03-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89693 --- Comment #3 from Martin Jambor --- True. the node that IPA-CP clones is itself a former thunk, expanded at symbol_table::finalize_compilation_unit time (which I admit is something I did not anticipate), all the thunk information is copied to

[Bug rtl-optimization/89853] New: Regression of 525.x264_r at -O2 (and generic tuning) on AMD EPYC

2019-03-27 Thread jamborm at gcc dot gnu.org
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Target Milestone: --- I have detected a 7% regression of 525.x264_r from SPEC INTrate 2017 at -O2 and generic march/tuning on AMD EPYC (znver1) CPUs

[Bug rtl-optimization/89853] Regression of 525.x264_r at -O2 (and generic tuning) on AMD EPYC

2019-03-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89853 --- Comment #2 from Martin Jambor --- Doh, yes, copy-paste error, sorry. The data should have been: FAST: Performance counter stats for 'numactl -C 0 -l specinvoke': 495413.105450 task-clock:u (msec) #0.999 CPUs utilized

[Bug rtl-optimization/89853] Regression of 525.x264_r at -O2 (and generic tuning) on AMD EPYC

2019-03-28 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89853 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)

2019-03-28 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 89853, which changed state. Bug 89853 Summary: Regression of 525.x264_r at -O2 (and generic tuning) on AMD EPYC https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89853 What|Removed |Added --

[Bug ipa/89693] [9 Regression] ICE: verify_cgraph_node failed (error: edge points to wrong declaration)

2019-04-11 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89693 --- Comment #5 from Martin Jambor --- I have proposed a patch (keeping the verifier, at least for now) on the mailing list: https://gcc.gnu.org/ml/gcc-patches/2019-04/msg00445.html

[Bug middle-end/90056] New: 548.exchange2_r regressions on AMD Zen

2019-04-12 Thread jamborm at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org Blocks: 26163 Target Milestone: --- Host: x86_64-linux Target: x86_64-linux As of

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