[Bug tree-optimization/118353] Implement greedy algorithm for switch jump table cluster finding

2025-01-08 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118353 --- Comment #4 from Filip Kastl --- Huh. Then either a) We spend a lot of time in the jump table finding algorithm. That would mean that there are large switch statements in GCC code specific for those architectures. Btw, those switch statem

[Bug tree-optimization/118032] [15 regression] Bootstrap slowdown for risc-v

2025-01-08 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #36 from Filip Kastl --- (In reply to Mark Wielaard from comment #35) > Shall we close this bug or keep it open for implementing greedy switch > clustering for jump tables as suggested in comment #29 ? I think that it would be bette

[Bug tree-optimization/118353] New: Implement greedy algorithm for switch jump table cluster finding

2025-01-08 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118353 Bug ID: 118353 Summary: Implement greedy algorithm for switch jump table cluster finding Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/118250] missed optimization in multiple integer comparisons (like errno tests)

2025-01-03 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118250 --- Comment #3 from Filip Kastl --- With the modification I plan for Stage 1 the DP alg will be as powerful as the greedy alg here. By LLVM code being better I suppose you mean this lower bound check: cmp eax, 1 jle .L4

[Bug tree-optimization/118032] [15 regression] Bootstrap slowdown for risc-v

2024-12-24 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #30 from Filip Kastl --- (In reply to Mark Wielaard from comment #28) > I haven't tried yet, but do you mean something like the following? > - /* Note: l + 1 is the number of cases of the switch. */ > - if (l + 1 > (unsigned) para

[Bug tree-optimization/118032] [15 regression] Bootstrap slowdown for risc-v

2024-12-21 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #24 from Filip Kastl --- Thanks for the preprocessed file! I've looked at -ftime-report to see if the extra time was spent in switch lowering and found out it is not! Apparently the change in behavior of switch lowering has an effe

[Bug tree-optimization/118032] [15 regression] Bootstrap slowdown for risc-v

2024-12-19 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #20 from Filip Kastl --- Hm, I don't see any memory leak. And if this was about memory leak in the switch lowering pass I guess the issue would pop up on other architectures too and someone would notice that.

[Bug target/118125] [15 Regression] 7-16% slowdown of 510.parest_r on x86-64(-v3) since r15-6110-g92e0e0f8177530

2024-12-19 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118125 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/118125] New: [15 Regression] 7-16% slowdown of 510.parest_r on x86-64(-v3) since r15-6110-g92e0e0f8177530

2024-12-19 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118125 Bug ID: 118125 Summary: [15 Regression] 7-16% slowdown of 510.parest_r on x86-64(-v3) since r15-6110-g92e0e0f8177530 Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/118123] [15 Regression] Some vms crosscompilers don't build since r15-5823-g4ed189854eae2d

2024-12-19 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118123 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/118123] New: [15 Regression] Some vms crosscompilers don't build since r15-5823-g4ed189854eae2d

2024-12-19 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118123 Bug ID: 118123 Summary: [15 Regression] Some vms crosscompilers don't build since r15-5823-g4ed189854eae2d Product: gcc Version: 15.0 Status: UNCONFIRMED Keywo

[Bug tree-optimization/118032] [15 regression] Bootstrap slowdown for risc-v

2024-12-19 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #19 from Filip Kastl --- (In reply to Andreas Schwab from comment #17) > r15-6120-g56946c801a7cf3 is causing out-of-memory when compiling > insn-attrtab.cc in a cross riscv64 build on 32-bit x86. > > https://build.opensuse.org/packa

[Bug middle-end/117091] switch clustering takes extensive time with large switches even at -O0

2024-12-16 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 Filip Kastl changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug fortran/118059] [15 Regression] ubsan instrumented gcc: valid value for type 'expr_t' in gcc/fortran/trans-expr.cc

2024-12-16 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118059 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug fortran/118059] New: [15 Regression] ubsan instrumented gcc: valid value for type 'expr_t' in gcc/fortran/trans-expr.cc

2024-12-16 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118059 Bug ID: 118059 Summary: [15 Regression] ubsan instrumented gcc: valid value for type 'expr_t' in gcc/fortran/trans-expr.cc Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug middle-end/117091] switch clustering takes extensive time with large switches even at -O0

2024-12-12 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 --- Comment #23 from Filip Kastl --- (In reply to Sam James from comment #22) > Are we keeping this one open for the improvement mentioned in > https://inbox.sourceware.org/gcc-patches/z1gdhpphod-5m...@fkdesktop.suse.cz/? I wanted to close this

[Bug middle-end/117352] [15 Regression] switch bit test conversion makes comparison code worse on aarch64 and x86_64 with APX due to not generating ccmp

2024-12-11 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117352 Filip Kastl changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/26854] Inordinate compile times on large routines

2024-12-05 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26854 --- Comment #154 from Filip Kastl --- > I suggest you file a new bugreport for the regression. Ok, it is now pr117922

[Bug tree-optimization/117922] New: [15 Regression] 1000% compilation time slow down on the testcase from pr26854

2024-12-05 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117922 Bug ID: 117922 Summary: [15 Regression] 1000% compilation time slow down on the testcase from pr26854 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/26854] Inordinate compile times on large routines

2024-12-05 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26854 Filip Kastl changed: What|Removed |Added CC||pheeck at gcc dot gnu.org --- Comment #152

[Bug tree-optimization/117919] [14/15 Regression] ICE: in propagate, at gimple-ssa-sccopy.cc:625 with -O -fno-tree-forwprop -fnon-call-exceptions --param=early-inlining-insns=192

2024-12-05 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117919 Filip Kastl changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pheeck at gcc dot gnu.org --- Com

[Bug tree-optimization/117830] [15 Regression] Miscompilation of 464.h264ref at -O2 -march=generic since r15-5563-g1c4d39ada33d36

2024-11-28 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117830 Filip Kastl changed: What|Removed |Added Summary|[15 Regression] |[15 Regression] |Miscom

[Bug tree-optimization/117830] [15 Regression] Miscompilation of 464.h264ref at -O2 -march=generic

2024-11-28 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117830 --- Comment #2 from Filip Kastl --- I just re-checked and it definitely *is* on current trunk.

[Bug tree-optimization/117830] [15 Regression] Miscompilation of 464.h264ref at -O2 -march=generic

2024-11-28 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117830 --- Comment #1 from Filip Kastl --- Actually, let me recheck that this really still happens on current trunk. I may have made a mistake.

[Bug tree-optimization/117830] New: [14 Regression] Miscompilation of 464.h264ref at -O2 -march=generic

2024-11-28 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117830 Bug ID: 117830 Summary: [14 Regression] Miscompilation of 464.h264ref at -O2 -march=generic Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: needs-bise

[Bug middle-end/117352] [15 Regression] switch bit test conversion makes comparison code worse on aarch64 and x86_64 with APX due to not generating ccmp

2024-11-15 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117352 --- Comment #4 from Filip Kastl --- It took me longer than I expected but I've submitted the patch. https://gcc.gnu.org/pipermail/gcc-patches/2024-November/668911.html

[Bug target/56504] -mveclibabi=... Support AMD's LibM 3.0 (sucessor of ACML)

2024-11-14 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56504 Filip Kastl changed: What|Removed |Added Resolution|--- |FIXED Last reconfirmed|2013-03-04 00:00:

[Bug target/117576] New: -mveclibabi=aocl: Support vectorized array functions and maybe also sincos

2024-11-14 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117576 Bug ID: 117576 Summary: -mveclibabi=aocl: Support vectorized array functions and maybe also sincos Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: mis

[Bug target/117576] -mveclibabi=aocl: Support vectorized array functions and maybe also sincos

2024-11-14 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117576 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/56504] -mveclibabi=... Support AMD's LibM 3.0 (sucessor of ACML)

2024-11-13 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56504 Filip Kastl changed: What|Removed |Added CC||pheeck at gcc dot gnu.org --- Comment #5 f

[Bug target/117562] [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103

2024-11-13 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117562 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/117562] New: [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103

2024-11-13 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117562 Bug ID: 117562 Summary: [15 Regression] 40% slowdown of 482.sphinx3 on Zen4, Zen5 since r15-5120-g9a62c149589103 Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug middle-end/117352] [15 Regression] switch bit test conversion makes comparison code worse on aarch64 and x86_64 with APX due to not generating ccmp

2024-11-11 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117352 Filip Kastl changed: What|Removed |Added CC||pheeck at gcc dot gnu.org --- Comment #3

[Bug middle-end/115805] 436.cactusADM and 507.cactuBSSN_r miscompilation with -O2 generic -flto and some hardening options

2024-11-06 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115805 --- Comment #3 from Filip Kastl --- I've just tried this on some older commits but still didn't find a commit without this behavior so I don't have evidence that this is a regression. The oldest commit I know where this behavior is present is r1

[Bug testsuite/117428] pr55153.c:11:3: warning: invalid thi rd argument to '__builtin_prefetch'; using zero

2024-11-04 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117428 Filip Kastl changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/117270] [15 Regression] 9% exec time slowdown of 538.imagick_r on aarch64

2024-10-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117270 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/117270] New: [15 Regression] 9% exec time slowdown of 538.imagick_r on aarch64

2024-10-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117270 Bug ID: 117270 Summary: [15 Regression] 9% exec time slowdown of 538.imagick_r on aarch64 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optim

[Bug target/116759] [15 Regression] ~2.5% exec time slowdown of 538.imagick_r on aarch64

2024-10-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116759 Filip Kastl changed: What|Removed |Added Summary|[15 Regression] 5% exec |[15 Regression] ~2.5% exec

[Bug middle-end/117123] [14/15 regression] Generated code at -Os on trunk is larger than GCC 14.4 since r14-6536-gcd794c39610177 (sccopy)

2024-10-21 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 --- Comment #10 from Filip Kastl --- I've looked at the pre-details dumps for runs with and without sccopy1 (I'm compiling the reduced testcase with -Os). Even when I adjust for different SSA name versions, there are many differences in the dum

[Bug middle-end/117123] [14/15 regression] Generated code at -Os on trunk is larger than GCC 14.4 since r14-6536-gcd794c39610177 (sccopy)

2024-10-17 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 --- Comment #9 from Filip Kastl --- Btw, here is a reduced testcase: - struct Potato { bool isMashed; }; void dont_be_here(); int patatino_a; void patatino() { if (patatino_a && patatino_a % 2 == 0 && patatino_a

[Bug middle-end/117091] switch clustering takes extensive time with large switches even at -O0

2024-10-17 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 --- Comment #12 from Filip Kastl --- (In reply to Andi Kleen from comment #9) > Yes I guess we should keep better switches at -O1 because machine generated > code may have lot of switches. > > I don't think we need perfect clustering? Perhaps t

[Bug middle-end/117123] [14/15 regression] Generated code at -Os on trunk is larger than GCC 14.4 since r14-6536-gcd794c39610177 (sccopy)

2024-10-16 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 --- Comment #7 from Filip Kastl --- It is not in a loop. I guess I'll double-check that there aren't any differences which I didn't notice. There is one here: 57 # spud$size_22 = PHI <10(4), a_24(D)(2), a_24(D)(3)> 44 # spud$size_55 = PHI

[Bug middle-end/117123] [14/15 regression] Generated code at -Os on trunk is larger than GCC 14.4 since r14-6536-gcd794c39610177 (sccopy)

2024-10-16 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 --- Comment #5 from Filip Kastl --- PRE is the pass that should be able to optimize most of the code in the testcase away. It doesn't remove the code if sccopy1 has run. I looked at gimple dumps before PRE for compiler runs with sccopy1 and wi

[Bug middle-end/117123] [14/15 regression] Generated code at -Os on trunk is larger than GCC 14.4 since r14-6536-gcd794c39610177 (sccopy)

2024-10-16 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117123 Filip Kastl changed: What|Removed |Added Last reconfirmed||2024-10-16 Ever confirmed|0

[Bug tree-optimization/116758] [15 Regression] 25-40% binary size increase and up to 177% compile time increase for SPEC CPU wrf with Ofast since r15-3529-g506417dbc8b1cb

2024-10-16 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116758 Filip Kastl changed: What|Removed |Added Summary|[15 Regression] 25-40% |[15 Regression] 25-40%

[Bug middle-end/117091] switch clustering takes extensive time with large switches even at -O0

2024-10-14 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 --- Comment #8 from Filip Kastl --- I've looked into analyze_switch_statement(), find_bit_tests() and find_jump_tables() and did some perf-ing. Some observations: 1) I don't think that the code in SNIPPET 1 is responsible for the slowness. Th

[Bug tree-optimization/116998] [15 Regression] 5% slowdown of 400.perlbench on AMD Zen3/4 since r15-3986-g3e1bd6470e4deb

2024-10-07 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116998 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/116998] New: [15 Regression] 5% slowdown of 400.perlbench on AMD Zen3/4 since r15-3986-g3e1bd6470e4deb

2024-10-07 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116998 Bug ID: 116998 Summary: [15 Regression] 5% slowdown of 400.perlbench on AMD Zen3/4 since r15-3986-g3e1bd6470e4deb Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug tree-optimization/116985] [15 Regression] ICE in vectorizer with --param=vect-partial-vector-usage=2 -mavx512vbmi2 since r15-2097-gdb3c8c9726d0ba

2024-10-05 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116985 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/116985] New: [15 Regression] ICE in vectorizer with --param=vect-partial-vector-usage=2 -mavx512vbmi2 since r15-2097-gdb3c8c9726d0ba

2024-10-05 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116985 Bug ID: 116985 Summary: [15 Regression] ICE in vectorizer with --param=vect-partial-vector-usage=2 -mavx512vbmi2 since r15-2097-gdb3c8c9726d0ba Product: gcc Vers

[Bug other/116948] bootstrap-ubsan should set UBSAN_OPTIONS to abort on error

2024-10-03 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116948 --- Comment #5 from Filip Kastl --- We run the ubsan bootstrap roughly every week. We also have a simple script that searches the logs for errors. It looks like this find gcc/testsuite -name "*.log" | xargs cat | ... here we pipe output thro

[Bug middle-end/116878] [15 regression] libcall emitted unnecessarily for __popcountdi2

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116878 --- Comment #2 from Filip Kastl --- Yeah, sorry about that. I just pushed the patch that Andrew linked. That should fix this. I'll close this PR if no one objects.

[Bug tree-optimization/116616] [15 Regression] Linux kernel fails to build on aarch64 due to r15-3256-g1c4b9826bd0d5a

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116616 --- Comment #5 from Filip Kastl --- The patch I pushed to trunk should fix this issue. I will wait a bit and then close this PR. Btw, as a follow-up to this, one could modify some RTL pass to pattern match (var ^ (var - 1)) > (var - 1) to some

[Bug other/116936] [UBSAN] gcc/diagnostic.cc: null pointer passed as argument

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116936 --- Comment #2 from Filip Kastl --- To replicate this bug, you can do for example gcc -x c++-header ./gcc/testsuite/g++.dg/header.C or gcc -x c-header ./gcc/testsuite/gcc.dg/header.c There are many more GCC testsuite testcases that produce t

[Bug other/116936] [UBSAN] gcc/diagnostic.cc: null pointer passed as argument

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116936 --- Comment #1 from Filip Kastl --- This is the configuration of the UBSAN-instrumented GCC: Reading specs from ./specs COLLECT_GCC=./xgcc COLLECT_LTO_WRAPPER=./lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /home/worker/buildworker/t

[Bug other/116936] [UBSAN] gcc/diagnostic.cc: null pointer passed as argument

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116936 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug other/116936] New: [UBSAN] gcc/diagnostic.cc: null pointer passed as argument

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116936 Bug ID: 116936 Summary: [UBSAN] gcc/diagnostic.cc: null pointer passed as argument Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pr

[Bug target/115966] [15 Regression] Miscompilation of 403.gcc with -Ofast -march=native on x86_64

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115966 Filip Kastl 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-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 115966, which changed state. Bug 115966 Summary: [15 Regression] Miscompilation of 403.gcc with -Ofast -march=native on x86_64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115966 What|Removed

[Bug target/116309] ICE unrecognizable insn while compiling pr111821.c for s390

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116309 Filip Kastl 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-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 112916, which changed state. Bug 112916 Summary: [14/15 Regression] ~4-7% exec time regression of 433.milc on AMD Zen2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112916 What|Removed |

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

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 113832, which changed state. Bug 113832 Summary: [14/15 Regression] 6% exec time regression of 464.h264ref on aarch64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113832 What|Removed |A

[Bug target/113832] [14/15 Regression] 6% exec time regression of 464.h264ref on aarch64

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113832 Filip Kastl 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-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 115856, which changed state. Bug 115856 Summary: [15 Regression] 7% slowdown of 433.milc on Zen3 since r15-1735-ge62ea4fb8ffcab https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115856 What|Removed

[Bug target/112916] [14/15 Regression] ~4-7% exec time regression of 433.milc on AMD Zen2

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112916 Filip Kastl changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

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

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 112549, which changed state. Bug 112549 Summary: [14/15 Regression] 9% exec time regression of 436.cactusADM on Aarch64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112549 What|Removed

[Bug middle-end/112549] [14/15 Regression] 9% exec time regression of 436.cactusADM on Aarch64

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112549 Filip Kastl changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/115856] [15 Regression] 7% slowdown of 433.milc on Zen3 since r15-1735-ge62ea4fb8ffcab

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115856 Filip Kastl changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/111875] With -Og ubsan check inserted even though __builtin_assume_aligned guarantees no UB

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111875 Filip Kastl changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug debug/82738] [meta-bug] issues with the -Og optimization level

2024-10-02 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82738 Bug 82738 depends on bug 111875, which changed state. Bug 111875 Summary: With -Og ubsan check inserted even though __builtin_assume_aligned guarantees no UB https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111875 What|Removed

[Bug target/116078] [15 Regression] 10-12% slowdown of 436.cactusADM on AMD Zen2 since r15-2187-g838999bb23303e

2024-09-26 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116078 --- Comment #6 from Filip Kastl --- Or maybe one binary has some expensive instructions which the other one doesn't. I didn't notice anything like that while looking through the perf results but I'm still learning to use perf effectively.

[Bug target/116078] [15 Regression] 10-12% slowdown of 436.cactusADM on AMD Zen2 since r15-2187-g838999bb23303e

2024-09-26 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116078 --- Comment #5 from Filip Kastl --- I've double checked that the slowdown really happens on this commit. It realy does. I've also double checked that the resulting binary is different. I've seen this slowdown on 2 separate Zen 2 machines. I'

[Bug target/116078] [15 Regression] 10-12% slowdown of 436.cactusADM on AMD Zen2 since r15-2187-g838999bb23303e

2024-09-24 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116078 Filip Kastl changed: What|Removed |Added CC||pault at gcc dot gnu.org Keywor

[Bug target/116076] [15 Regression] 4.5% slowdown of 433.milc on AMD Zen4 since r15-2054-g1e3aa9c9278db6

2024-09-24 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116076 --- Comment #4 from Filip Kastl --- Should I leave this bug open or close it, then? What do you think, Richard?

[Bug target/116076] [15 Regression] 4.5% slowdown of 433.milc on AMD Zen4 since r15-2054-g1e3aa9c9278db6

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116076 Filip Kastl changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug tree-optimization/116761] [15 Regression] 4-6% slowdown of 465.tonto on AMD Zen3/4 since r15-3509-gd34cda72098867

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116761 Filip Kastl changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/116760] [15 Regression] 6-11% slowdown of 416.gamess on AMD Zen3 and Zen4 since r15-3509-gd34cda72098867

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116760 Filip Kastl changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Sum

[Bug target/116309] ICE unrecognizable insn while compiling pr111821.c for s390

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116309 --- Comment #1 from Filip Kastl --- This ICE no longer occurs. If no one objects, I'll close this PR.

[Bug target/115966] [15 Regression] Miscompilation of 403.gcc with -Ofast -march=native on x86_64

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115966 --- Comment #5 from Filip Kastl --- This miscompilation no longer happens. If no one objects, I'll close this PR.

[Bug middle-end/116790] [15 Regression] 6% slowdown of 454.calculix on AMD Zen 3 since r15-3509-gd34cda72098867

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116790 --- Comment #3 from Filip Kastl --- (In reply to Richard Biener from comment #2) > I will eventually have a look. LNT indeed only has zen3 regressing in this > unusal config (-O2 -flto + PGO), but maybe Zen3 is the only machine testing > this c

[Bug target/113847] [14/15 Regression] 10% slowdown of 462.libquantum on AMD Ryzen 7700X and Ryzen 7900X

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113847 --- Comment #9 from Filip Kastl --- If you look at the graph, it looks like the slowdown went away. Should I close this PR?

[Bug target/113832] [14/15 Regression] 6% exec time regression of 464.h264ref on aarch64

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113832 --- Comment #8 from Filip Kastl --- If you look at the graph, you can see that the slowdown went away (well, it returned a few times but currently the benchmark is fast). If no one objects, I'll close this PR.

[Bug target/112916] [14/15 Regression] ~4-7% exec time regression of 433.milc on AMD Zen2

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112916 --- Comment #5 from Filip Kastl --- I've looked at the graph again and it is true that the graph is very noisy. If no one objects, I'm going to close this PR.

[Bug middle-end/112549] [14/15 Regression] 9% exec time regression of 436.cactusADM on Aarch64

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112549 --- Comment #5 from Filip Kastl --- The slowdown I reported originally disappeared. If you look at the graph, you can see that the benchmark currently runs slower than on g:ada871cfadd3f496 but it's now unclear where the slowdown occured (it was

[Bug middle-end/116790] [15 Regression] 6% slowdown of 454.calculix on AMD Zen 3 since r15-3509-gd34cda72098867

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116790 Filip Kastl changed: What|Removed |Added Summary|[15 Regression] 6% slowdown |[15 Regression] 6% slowdown

[Bug target/115856] [15 Regression] 7% slowdown of 433.milc on Zen3 since r15-1735-ge62ea4fb8ffcab

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115856 --- Comment #2 from Filip Kastl --- Looks like the slowdown went away. If no one objects, I'll close this PR.

[Bug middle-end/111875] With -Og ubsan check inserted even though __builtin_assume_aligned guarantees no UB

2024-09-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111875 --- Comment #4 from Filip Kastl --- Ok, I see. There's not much point in optimizing everything on -Og -fsanitize and it can also lead to sanitizer checks not working properly. If no one objects, I'll mark this as RESOLVED INVALID.

[Bug middle-end/116790] [15 Regression] 6% slowdown of 454.calculix on AMD Zen 3

2024-09-20 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116790 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug middle-end/116790] New: [15 Regression] 6% slowdown of 454.calculix on AMD Zen 3

2024-09-20 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116790 Bug ID: 116790 Summary: [15 Regression] 6% slowdown of 454.calculix on AMD Zen 3 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization,

[Bug target/116763] 14-19% slowdown of 436.cactusADM on aarch64

2024-09-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116763 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/116763] New: 14-19% slowdown of 436.cactusADM on aarch64

2024-09-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116763 Bug ID: 116763 Summary: 14-19% slowdown of 436.cactusADM on aarch64 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization, needs-bisection Severit

[Bug tree-optimization/116761] [15 Regression] 4-6% slowdown of 465.tonto on AMD Zen3/4

2024-09-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116761 --- Comment #1 from Filip Kastl --- This graph plots results of -march=x86_64v3 -Ofast -flto. https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=1119.230.0 A spike can be seen in this graph too so maybe this is a general x86_64 slowdown? H

[Bug tree-optimization/116761] [15 Regression] 4-6% slowdown of 465.tonto on AMD Zen3/4

2024-09-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116761 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/116761] New: [15 Regression] 4-6% slowdown of 465.tonto on AMD Zen3/4

2024-09-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116761 Bug ID: 116761 Summary: [15 Regression] 4-6% slowdown of 465.tonto on AMD Zen3/4 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization,

[Bug tree-optimization/116760] [15 Regression] 6-11% slowdown of 416.gamess on AMD Zen3 and Zen4

2024-09-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116760 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/116760] New: [15 Regression] 6-11% slowdown of 416.gamess on AMD Zen3 and Zen4

2024-09-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116760 Bug ID: 116760 Summary: [15 Regression] 6-11% slowdown of 416.gamess on AMD Zen3 and Zen4 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optim

[Bug target/116759] [15 Regression] 5% exec time slowdown of 538.imagick_r on aarch64

2024-09-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116759 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/116759] New: [15 Regression] 5% exec time slowdown of 538.imagick_r on aarch64

2024-09-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116759 Bug ID: 116759 Summary: [15 Regression] 5% exec time slowdown of 538.imagick_r on aarch64 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: needs-bisect

[Bug other/116758] [15 Regression] 25-40% binary size increase and up to 177% compile time increase for SPEC CPU wrf with Ofast

2024-09-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116758 --- Comment #1 from Filip Kastl --- Btw I looked and didn't see any execution time speedups of wrf that would balance out these regressions.

[Bug other/116758] [15 Regression] 25-40% binary size increase and up to 177% compile time increase for SPEC CPU wrf with Ofast

2024-09-18 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116758 Filip Kastl changed: What|Removed |Added Target Milestone|--- |15.0

  1   2   3   >