[Bug ipa/113490] [14 Regression] ICE: in propagate_vals_across_arith_jfunc, at ipa-cp.cc:2425 at -O3 since r14-285

2024-01-20 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113490 --- Comment #5 from Martin Jambor --- I have proposed a fix on the mailing list: https://inbox.sourceware.org/gcc-patches/ri6cytv3eyy.fsf@/T/#u

[Bug other/94629] 10 issues located by the PVS-studio static analyzer

2024-01-20 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94629 --- Comment #28 from Martin Jambor --- (In reply to David Binderman from comment #27) > The original article checked gcc-10. > gcc-13 is checked in the following article: > > https://pvs-studio.com/en/blog/posts/cpp/1067/ > > I suspect it would

[Bug ipa/113490] [14 Regression] ICE: in propagate_vals_across_arith_jfunc, at ipa-cp.cc:2425 at -O3 since r14-285

2024-01-19 Thread jamborm at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #3 from Martin Jambor --- Still, let me have a look.

[Bug tree-optimization/110422] asm goto vs SRA

2024-01-19 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110422 --- Comment #5 from Martin Jambor --- Fixed on trunk, I plan to backport to open release branches in the upcoming weeks.

[Bug other/89863] [meta-bug] Issues in gcc that other static analyzers (cppcheck, clang-static-analyzer, PVS-studio) find that gcc misses

2024-01-17 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89863 Bug 89863 depends on bug 94629, which changed state. Bug 94629 Summary: 10 issues located by the PVS-studio static analyzer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94629 What|Removed |Added

[Bug other/94629] 10 issues located by the PVS-studio static analyzer

2024-01-17 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94629 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/110422] asm goto vs SRA

2024-01-17 Thread jamborm at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #3 from Martin Jambor --- Mine.

[Bug ipa/112616] [11/12/13/14 Regression] wrong code at -O{s, 2, 3} on x86_64-linux-gnu since r10-3311

2024-01-16 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112616 --- Comment #6 from Martin Jambor --- (In reply to Andrew Pinski from comment #1) > # q_11 = PHI <0B(2), removed_return.14_14(D)(4), > removed_return.14_14(D)(3)> > _12 = *q_11; > > > WTF Well, _12 is not used anywhere, so the code ex

[Bug ipa/108007] [11/12/13/14 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu since r10-3311-gff6686d2e5f797

2024-01-16 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 --- Comment #20 from Martin Jambor --- I have submitted a slightly modified patch to the mailing list: https://inbox.sourceware.org/gcc-patches/ri6cyu1e9kw.fsf@/T/#u

[Bug target/113296] [14 Regression] SPEC 2006 434.zeusmp segfaults on Aarch64 when built with -Ofast -march=native -flto

2024-01-12 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113296 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

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

2024-01-12 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 113296, which changed state. Bug 113296 Summary: [14 Regression] SPEC 2006 434.zeusmp segfaults on Aarch64 when built with -Ofast -march=native -flto https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113296 What

[Bug tree-optimization/113178] [14 Regression] ice in find_uses_to_rename_use

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113178 Martin Jambor changed: What|Removed |Added Keywords|needs-bisection | --- Comment #6 from Martin Jambor ---

[Bug tree-optimization/107823] [13/14 Regression] Dead Code Elimination Regression at -Os (trunk vs. 12.2.0) since r13-1934-g353fd1ec3df92f

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107823 Martin Jambor changed: What|Removed |Added Keywords|needs-bisection | --- Comment #6 from Martin Jambor ---

[Bug tree-optimization/109744] mesa/panvk: bogus Warray-bounds on gcc 12.2, fixed in 13 branch

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109744 Martin Jambor changed: What|Removed |Added Keywords|needs-bisection | --- Comment #3 from Martin Jambor ---

[Bug c++/109753] [13/14 Regression] pragma GCC target causes std::vector not to compile (always_inline on constructor)

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109753 Martin Jambor changed: What|Removed |Added Keywords|needs-bisection | --- Comment #11 from Martin Jambor --

[Bug target/109780] [12/13/14 Regression] csmith: runtime crash with -O2 -march=znver1

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780 Martin Jambor changed: What|Removed |Added Keywords|needs-bisection | --- Comment #26 from Martin Jambor --

[Bug c++/109823] [11/12/13/14 Regression] ICE with trailing return of decltype of a fold expression in nested generic variadic lambda

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109823 Martin Jambor changed: What|Removed |Added CC||jason at gcc dot gnu.org Keyw

[Bug c/109828] [13/14 Regression] static compound literal with flexible array in initializer leads to invalid size and ICE

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109828 Martin Jambor changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org Keyw

[Bug c++/109918] [11/12/13/14 Regression] Unexpected -Woverloaded-virtual with virtual conversion operators

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109918 Martin Jambor changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug target/110001] [13/14 regression] Suboptimal code generation for branchless binary search

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110001 Martin Jambor changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c++/110065] [11/12/13/14 Regression] [C++20/2b] auto return type in template argument causes ICE, also accepts-invalid

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110065 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug tree-optimization/110091] [12/13/14 Regression] bogus -Wdangling-pointer on non-pointer values

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110091 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug middle-end/110294] [11 Regression] Segmentation fault with '-O3 -fno-dce -fno-toplevel-reorder -fno-tree-dce -fno-tree-pta -fno-tree-sink -ftoplevel-reorder'

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110294 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug tree-optimization/110450] [14 Regression] Dead Code Elimination Regression at -O2 since r14-261-g0ef3756adf0

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
||jamborm at gcc dot gnu.org --- Comment #3 from Martin Jambor --- This has been fixed with r14-4141-gbf6b107e2a3423 (Andrew MacLeod: New early __builtin_unreachable processing).

[Bug ipa/110705] [11/12 Regression] ICE at -O2 and above: in gimplify_modify_expr, at gimplify.cc:6255 (on GCC-12.x)

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110705 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug tree-optimization/110768] [14 Regression] Dead Code Elimination Regression since r14-2623-gc11a3aedec2

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110768 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug libgomp/110842] [14 Regression] Openmp loops with KIND=16 DO loops

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110842 Martin Jambor changed: What|Removed |Added Keywords|needs-bisection | --- Comment #5 from Martin Jambor ---

[Bug tree-optimization/110941] [14 Regression] Dead Code Elimination Regression at -O3 since r14-2379-gc496d15954c

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110941 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug tree-optimization/110942] [14 Regression] Dead Code Elimination Regression at -O3 since r14-1165-g257c2be7ff8

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
||jamborm at gcc dot gnu.org --- Comment #5 from Martin Jambor --- This has been fixed with r14-5109-ga291237b628f41 (Andrew MacLeod: Remove simple ranges from trailing zero bitmasks.)

[Bug tree-optimization/111003] [14 Regression] Dead Code Elimination Regression at -O3 since r14-2161-g237e83e2158

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
||jamborm at gcc dot gnu.org --- Comment #4 from Martin Jambor --- This has been fixed with r14-4786-gd118738e71cf46 (Richi's restrict invariant motion of shifts).

[Bug tree-optimization/111012] [14 Regression] Dead Code Elimination Regression at -O3 since r14-573-g69f1a8af45d

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
||jamborm at gcc dot gnu.org Status|NEW |RESOLVED Keywords|needs-bisection | --- Comment #3 from Martin Jambor --- This has been fixed with Richi's r14-3982-g9ea74d235c7e78 ( better DCE after forwprop). Given the tit

[Bug fortran/111291] ASAN error: heap-use-after-free gcc/fortran/parse.cc:359 in decode_statement

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111291 Martin Jambor changed: What|Removed |Added CC|mjambor at suse dot cz |mikael at gcc dot gnu.org --- C

[Bug tree-optimization/110841] [14 Regression] Dead Code Elimination Regression since r14-2675-gef28aadad6e

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
||jamborm at gcc dot gnu.org --- Comment #3 from Martin Jambor --- The testcase has been fixed with r14-4141-gbf6b107e2a3423 (New early __builtin_unreachable processing.)

[Bug ipa/113197] [14 Regression] ICE in in handle_call_arg, at tree-ssa-structalias.cc:4119

2024-01-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113197 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug target/113296] New: SPEC 2006 434.zeusmp segfaults on Aarch64 when built with -Ofast -march=native -flto

2024-01-09 Thread jamborm at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Blocks: 26163 Target Milestone: --- Host: aarch64-linux Target: aarch64-linux Our Aarch64

[Bug target/113295] New: SPEC 2006 416.gamess miscompares on Aarch64 when built with -Ofast -march=native -flto

2024-01-09 Thread jamborm at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Blocks: 26163 Target Milestone: --- Host: aarch64-linux Target: aarch64-linux Our Aarch64

[Bug tree-optimization/113144] [14 regression] ICE when building dpkg-1.21.15 in verify_dominators (error: dominator of 9 should be 48, not 12)

2024-01-09 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113144 --- Comment #13 from Martin Jambor --- The testcase below segfaults when compiled with master configured with release checking. However, it is very likely affected by this bug (it fails with checking compiler like testcases for this issue do) a

[Bug ipa/112616] [11/12/13/14 Regression] wrong code at -O{s, 2, 3} on x86_64-linux-gnu since r10-3311

2024-01-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112616 Martin Jambor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org

[Bug tree-optimization/113145] [14 regression] ICE in verify_dominators when building mit-krb5-1.21.2 since r14-6822-g01f4251b8775c8

2024-01-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
||2024-01-05 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC||jamborm at gcc dot gnu.org --- Comment #2 from Martin Jambor --- This has been introduced with r14-6822-g01f4251b8775c8

[Bug tree-optimization/113237] New: [14 Regression] ICE verify_ssa failed when building 500.perlbench_r since r14-6822-g01f4251b8775c8

2024-01-04 Thread jamborm at gcc dot gnu.org via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: tnfchris at gcc dot gnu.org Blocks: 26163 Target Milestone

[Bug middle-end/109849] suboptimal code for vector walking loop

2024-01-03 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849 --- Comment #34 from Martin Jambor --- (In reply to Jan Hubicka from comment #32) > > /tmp/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/stl_algobase.h:437: > > warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' > > w

[Bug tree-optimization/112822] [14 regression] ICE: invalid RHS for gimple memory store after r14-5831-gaae723d360ca26

2023-12-12 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112822 --- Comment #9 from Martin Jambor --- Thank you, I have proposed the patch on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2023-December/640356.html If it is approved, I'd also like you to add the testcase to the testsuite as a

[Bug middle-end/112822] [14 regression] ICE: invalid RHS for gimple memory store after r14-5831-gaae723d360ca26

2023-12-11 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112822 --- Comment #5 from Martin Jambor --- The following should fix it. I'll try a bit more to come up with a testcase that would not require __builtin_vec_vsx_st but so far my simple attempts failed. diff --git a/gcc/tree-sra.cc b/gcc/tree-sra.c

[Bug middle-end/112822] [14 regression] ICE: invalid RHS for gimple memory store after r14-5831-gaae723d360ca26

2023-12-11 Thread jamborm at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #4 from Martin Jambor --- Mine.

[Bug target/112922] New: 465.tonto from SPECFP 2006 fails train run on Aarch64-linux with -O2 and -flto

2023-12-08 Thread jamborm at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Blocks: 26163 Target Milestone: --- Host: aarch64-linux Target: aarch64-linux At some point between r14

[Bug middle-end/88345] -Os overrides -falign-functions=N on the command line

2023-12-07 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88345 --- Comment #22 from Martin Jambor --- Just to clarify, the case where this causes us problems is (indeed on Aarch64) with option -fpatchable-function-entry (and NOT necessarily -flive-patching). But I agree that a separate orthogonal option for

[Bug tree-optimization/112711] [14 Regression] SRA seems to ignore writes when using __builtin_assume_aligned since r14-5831-gaae723d360ca26

2023-11-29 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112711 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/112721] [14 Regression] Wrong code at -O1/s on x86_64-linux-gnu since r14-5831-gaae723d360c

2023-11-29 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112721 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/112697] [14 Regression] 30-40% exec time regression of 433.milc on zen2 since r14-4972-g8aa47713701b1f

2023-11-29 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112697 --- Comment #7 from Martin Jambor --- Created attachment 56720 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56720&action=edit Perf annotate of milc built with r14-4972-g8aa47713701b1f commit r14-4972-g8aa47713701b1f: $ perf stat taskse

[Bug middle-end/112697] [14 Regression] 30-40% exec time regression of 433.milc on zen2 since r14-4972-g8aa47713701b1f

2023-11-29 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112697 --- Comment #6 from Martin Jambor --- Created attachment 56719 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56719&action=edit Perf annotate of milc built with r14-4971-g0beb1611754742 commit r14-4971-g0beb1611754742: $ perf stat taskse

[Bug middle-end/109849] suboptimal code for vector walking loop

2023-11-28 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849 --- Comment #27 from Martin Jambor --- (In reply to Jonathan Wakely from comment #26) > (In reply to GCC Commits from comment #23) > > https://gcc.gnu.org/g:aae723d360ca26cd9fd0b039fb0a616bd0eae363 > > > > commit r14-5831-gaae723d360ca26cd9fd0b

[Bug tree-optimization/112711] [14 Regression] SRA seems to ignore writes when using __builtin_assume_aligned since r14-5831-gaae723d360ca26

2023-11-27 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112711 --- Comment #6 from Martin Jambor --- I have proposed a fix on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2023-November/638318.html

[Bug tree-optimization/112721] [14 Regression] Wrong code at -O1/s on x86_64-linux-gnu since r14-5831-gaae723d360c

2023-11-27 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112721 --- Comment #2 from Martin Jambor --- I have proposed a fix on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2023-November/638318.html

[Bug tree-optimization/112721] [14 Regression] Wrong code at -O1/s on x86_64-linux-gnu since r14-5831-gaae723d360c

2023-11-27 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112721 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org Last

[Bug tree-optimization/112711] [14 Regression] SRA seems to ignore writes when using __builtin_assume_aligned since r14-5831-gaae723d360ca26

2023-11-27 Thread jamborm at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #5 from Martin Jambor --- (In reply to Richard Biener from comment #4) > Possibly fails to handle RETURNS_ARG_*? Most likely. Mine.

[Bug middle-end/112697] [14 Regression] 30-40% exec time regression of 433.milc on zen2

2023-11-24 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112697 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug middle-end/109849] suboptimal code for vector walking loop

2023-11-24 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849 --- Comment #25 from Martin Jambor --- (In reply to Richard Biener from comment #7) > There is nothing to sink really, loop header copying introduces a PHI and > there's not partial redundancies but only partial-partial and those are not > obvio

[Bug tree-optimization/108351] [13/14 Regression] Dead Code Elimination Regression at -O3 since r13-4240-gfeeb0d68f1c708

2023-11-24 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108351 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/111844] missed optimization

2023-11-16 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111844 --- Comment #3 from Martin Jambor --- (In reply to Richard Biener from comment #2) > It seems to me this is a task for SRA (again...) which should be more > forgiving to select stmts requiring address-taking of locals but only > when they are n

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

2023-11-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 110302, which changed state. Bug 110302 Summary: libquantum regression on zen3 with LTO and PGO https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110302 What|Removed |Added --

[Bug tree-optimization/110302] libquantum regression on zen3 with LTO and PGO

2023-11-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110302 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug tree-optimization/111572] [14 Regression] Wrong code at -O2 on x86_64-linux-gnu since r14-301-gf2d6beb7a4d

2023-11-06 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111572 --- Comment #6 from Martin Jambor --- (In reply to Andrew Pinski from comment #5) > Hmm, this works on the trunk now. Would be a good idea to figure out what > "fixed" it. If my simple test is correct, the error disappeared with r14-4790-g96923

[Bug tree-optimization/111878] [14 Regression] ICE: in get_loop_exit_edges, at cfgloop.cc:1204 with -O3 -fgraphite-identity -fsave-optimization-record/-fdump-tree-graphite/-fopt-info

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111878 --- Comment #4 from Martin Jambor --- I am not 100% certain if it is the same bug (I am happy to open a separate bug report if not), but I'm getting an ICE on the same spot, also with graphite, when running gfortran ~/gcc/trunk/src/libgomp/test

[Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 57, which changed state. Bug 57 Summary: [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57

[Bug target/112300] New: Cross compiling to mipsisa64r2-sde-elf fails because "HEAP_TRAMPOLINES_INIT was not declared in this scope" since r14-4821-g28d8c680aaea46

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: aburgess at gcc dot gnu.or

[Bug target/112299] New: Cross compiling to loongarch64-linux-gnuf64 fails because "HAVE_AS_TLS was not declared" after r14-4925-g1b30ef7cea773e

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
oduct: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: chenxiaolong at loongson dot cn Target

[Bug ipa/111922] [11/12/13/14 Regression] ICE in cp with -O2 -fno-tree-fre

2023-10-23 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111922 Martin Jambor changed: What|Removed |Added CC||aldyh at gcc dot gnu.org --- Comment #3

[Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-10-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 --- Comment #9 from Martin Jambor --- I have proposed a fix on the mailing list consisting of: - https://gcc.gnu.org/pipermail/gcc-patches/2023-October/632042.html and - https://gcc.gnu.org/pipermail/gcc-patches/2023-October/632044.html and

[Bug ipa/108007] [11/12/13/14 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2023-10-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 Martin Jambor changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug bootstrap/111688] [14 regression] bootstrap failure after r14-4382-g1be18ea110a2d6

2023-10-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111688 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug bootstrap/111688] [14 regression] bootstrap failure after r14-4382-g1be18ea110a2d6

2023-10-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111688 Martin Jambor changed: What|Removed |Added Summary|[14 regression] bootstrap |[14 regression] bootstrap

[Bug bootstrap/111688] [14 regression] bootstrap failure after r14-4383-g14d0c509898b03

2023-10-04 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111688 --- Comment #5 from Martin Jambor --- Yeah, that seems to be it. If I cannot fix this tomorrow I'll revert the patch from master.

[Bug bootstrap/111688] [14 regression] bootstrap failure after r14-4383-g14d0c509898b03

2023-10-04 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111688 Martin Jambor changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug bootstrap/111688] [14 regression] bootstrap failure after r14-4383-g14d0c509898b03

2023-10-04 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111688 --- Comment #2 from Martin Jambor --- I made a mistake checking out the correct commit, so please disregard comment #1, I'm trying again.

[Bug bootstrap/111688] [14 regression] bootstrap failure after r14-4383-g14d0c509898b03

2023-10-04 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111688 --- Comment #1 from Martin Jambor --- I was not able to reproduce this error on gcc112 on compile farm (powerpc64le-unknown-linux-gnu).

[Bug ipa/108007] [11/12/13/14 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2023-10-03 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/111610] Cannot build cross compiler to darwin targets after r14-4108-g47346acb72b50d

2023-09-27 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111610 --- Comment #2 from Martin Jambor --- (In reply to Iain Sandoe from comment #1) > As a matter of record, we do not really support cross-compilers targeting an > unknown Darwin version (the idea of xxx-apple-darwin [without a specific > version]

[Bug target/111610] New: Cannot build cross compiler to darwin targets after r14-4108-g47346acb72b50d

2023-09-27 Thread jamborm at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: iains at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux Target: x86_64-apple-darwin We

[Bug middle-end/110148] [14 Regression] TSVC s242 regression between g:c0df96b3cda5738afbba3a65bb054183c5cd5530 and g:e4c986fde56a6248f8fbe6cf0704e1da34b055d8

2023-09-26 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110148 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2023-09-26 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 110148, which changed state. Bug 110148 Summary: [14 Regression] TSVC s242 regression between g:c0df96b3cda5738afbba3a65bb054183c5cd5530 and g:e4c986fde56a6248f8fbe6cf0704e1da34b055d8 https://gcc.gnu.org/bugzilla/show_bu

[Bug tree-optimization/111571] [13/14 Regression] ICE in modify_call, at ipa-param-manipulation.cc:656

2023-09-24 Thread jamborm at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org CC||jamborm at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 --- Comment #1 from Martin Jambor --- Clearly mine.

[Bug middle-end/110148] [14 Regression] TSVC s242 regression between g:c0df96b3cda5738afbba3a65bb054183c5cd5530 and g:e4c986fde56a6248f8fbe6cf0704e1da34b055d8

2023-09-23 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110148 --- Comment #6 from Martin Jambor --- I believe this has been fixed?

[Bug bootstrap/111505] New: Asan (address-sanitizer) bootstrap fails since r14-4003-geaa8e8541349df

2023-09-20 Thread jamborm at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: dmalcolm at gcc dot gnu.org, fkastl at suse dot cz Blocks: 86656 Target Milestone: --- Host: x86_64

[Bug ipa/108007] [11/12/13/14 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2023-09-20 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 Martin Jambor changed: What|Removed |Added CC||19373742 at buaa dot edu.cn --- Comment

[Bug ipa/111490] [12/13/14 Regression] runtime Segmentation fault with '-O3 -fno-dce -fno-tree-dce -fno-tree-dse -fno-tree-sink'

2023-09-20 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111490 Martin Jambor changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug target/111371] New: ICE in curr_insn_transform, at lra-constraints.cc:4290 on pp64le with -mcpu=power5+ -mpower10-fusion -Os

2023-09-11 Thread jamborm at gcc dot gnu.org via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux Target: ppc64le-linux-gnu With a cross compiler

[Bug target/111225] New: ICE in curr_insn_transform, unable to generate reloads for xor, since r14-2447-g13c556d6ae84be

2023-08-29 Thread jamborm at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: crazylht at gmail dot com, fkastl at suse dot cz Target Milestone: --- Host: x86_64-linux

[Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-08-28 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 --- Comment #7 from Martin Jambor --- (In reply to Jan Hubicka from comment #4) > So here ipa-modref declares the field dead, while ipa-prop determines its > value even if it is unused and makes it used later? This is what I wanted to ask about

[Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-08-28 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 --- Comment #6 from Martin Jambor --- (In reply to Richard Biener from comment #5) > I think if IPA modref declares the argument dead at the call site then IPA > CP/SRA cannot declare it known constant. It is declared "killed" by the function.

[Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-08-25 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 --- Comment #3 from Martin Jambor --- Simple C testcase: -- pr57_0.c -- /* { dg-lto-do run } */ /* { dg-lto-options { { -O2 -flto=auto } } } */ /* { dg-extra-ld-options { -flto-partition=1to1 } } */ extern __attribute__((no

[Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-08-25 Thread jamborm at gcc dot gnu.org via Gcc-bugs
dot gnu.org |jamborm at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2023-08-25 --- Comment #2 from Martin Jambor --- With the propagation, PRE performs the following: void point.constprop.isra (double ISRA.1740

[Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-08-25 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 --- Comment #1 from Martin Jambor --- interestingly, the issue goes away with -flto-partition=one It is triggered by propagating 0 as the last parameter of point.constprop.isra which however looks correct, all four calls to the function (in dif

[Bug ipa/111157] New: 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-08-25 Thread jamborm at gcc dot gnu.org via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: marxin at gcc dot gnu.org Blocks: 26163 Target Milestone: --- Host: x86_64

[Bug middle-end/110973] 9% 444.namd regression between g:c2a447d840476dbd (2023-08-03 18:47) and g:73da34a538ddc2ad (2023-08-09 20:17)

2023-08-24 Thread jamborm at gcc dot gnu.org via Gcc-bugs
, ||jamborm at gcc dot gnu.org --- Comment #3 from Martin Jambor --- There was also a 7.7% regression on zen3 with generic march (these measurements are without LTO): https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=466.120.0

[Bug target/97807] ICE in output_move_double, at config/arm/arm.c:19689

2023-08-23 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97807 --- Comment #3 from Martin Jambor --- I believe our tester has hit this again recently: arm-linux-gnueabi-gcc /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.c-torture/compile/packed-aligned-1.c -mcpu=cortex-r4f -fno-tree-c

[Bug ipa/111088] useless 'xor eax,eax' inserted when a value is not returned and icf

2023-08-23 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111088 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug ipa/78790] Disable IPA-VRP for noclone functions.

2023-08-18 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78790 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org

[Bug ipa/103227] [12 Regression] 58% exchange2 regression with -Ofast -march=native on zen3 since r12-5223-gecdf414bd89e6ba251f6b3f494407139b4dbae0e

2023-08-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103227 Bug 103227 depends on bug 92497, which changed state. Bug 92497 Summary: Aggregate IPA-CP and inlining do not play well together, transformation is lost https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92497 What|Removed

[Bug ipa/92497] Aggregate IPA-CP and inlining do not play well together, transformation is lost

2023-08-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92497 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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