[Bug target/119628] Need better mechanisms to manage register saves in callee for tail calls

2025-04-05 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119628 --- Comment #2 from ak at gcc dot gnu.org --- The existing attributes could just handle this case?

[Bug gcov-profile/119375] Some autofdo test cases fail

2025-04-04 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119375 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Commen

[Bug target/119628] New: Need better mechanisms to manage register saves in callee for tail calls

2025-04-04 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119628 Bug ID: 119628 Summary: Need better mechanisms to manage register saves in callee for tail calls Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: enhan

[Bug target/119596] x86: too eager use of rep movsq/rep stosq for inlined ops

2025-04-03 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119596 ak at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|NEW Resolution|DUPLICATE

[Bug target/119596] x86: too eager use of rep movsq/rep stosq for inlined ops

2025-04-03 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119596 --- Comment #11 from ak at gcc dot gnu.org --- #define m_CORE_AVX512 (m_SKYLAKE_AVX512 | m_CANNONLAKE \ | m_ICELAKE_CLIENT | m_ICELAKE_SERVER | m_CASCADELAKE \ | m_TIGERLAKE | m_COOPERLAKE | m_SAPPHIR

[Bug target/119596] x86: too eager use of rep movsq/rep stosq for inlined ops

2025-04-03 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119596 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Commen

[Bug middle-end/119482] slow compilation on ladybird interpreter

2025-04-02 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 --- Comment #13 from ak at gcc dot gnu.org --- This patch gives another 23% speedup due to reducing time handling the linked lists for lazy bitmaps. Probably there is more tuning potential in bitmaps (most of the top 10 hot functions are bitmap r

[Bug middle-end/119482] slow compilation on ladybird interpreter

2025-04-01 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 --- Comment #9 from ak at gcc dot gnu.org --- For the ICE i'm not sure why i'm not seeing it. The input file should have had flatten enabled.

[Bug c++/119387] [14/15 Regression] Regression in performance by a factor of 6 when building with debugging symbols since r14-5979

2025-04-01 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119387 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Commen

[Bug middle-end/119482] slow compilation on ladybird interpreter

2025-04-01 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 --- Comment #8 from ak at gcc dot gnu.org --- The workload does a lot of bitmap manipulations: # 5.62% cc1plus cc1plus [.] bitmap_and_into(bitmap_head*, bitmap_head const*) 5.30% cc1plus cc1plus [.] bitm

[Bug middle-end/114563] ggc_internal_alloc is slow

2025-04-01 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114563 --- Comment #14 from ak at gcc dot gnu.org --- >to do this for entry_size < G.pagesize * GGC_QUIRE_SIZE, this should >avoid fragmenting the virtual address space. Possibly do this only >for USING_MADVISE, not sure. Okay let me test that.

[Bug middle-end/114563] ggc_internal_alloc is slow

2025-04-01 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114563 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Commen

[Bug c++/116285] Compilation of nodejs/v8's v8_base_without_compiler.runtime-temporal.cc is slow

2025-03-29 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116285 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Commen

[Bug middle-end/119482] slow compilation on ladybird interpreter

2025-03-27 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 --- Comment #5 from ak at gcc dot gnu.org --- Also I should add that the Ladybird developers report a 40% performance improvement from adding flatten to clang.

[Bug middle-end/119482] slow compilation on ladybird interpreter

2025-03-27 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 --- Comment #4 from ak at gcc dot gnu.org --- Created attachment 60902 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60902&action=edit input file for clang testing

[Bug middle-end/119482] slow compilation on ladybird interpreter

2025-03-27 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 --- Comment #3 from ak at gcc dot gnu.org --- I ran a full comparison now. There is actually a significant regression between g++-13 and g++-14, but -15 is roughly the same as -14. All are significantly slower than clang: clang++-19 -std=gnu++20

[Bug c++/64500] push_to_top_level() shows up high during build of modern C++ code

2025-03-26 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64500 --- Comment #11 from ak at gcc dot gnu.org --- Okay it's not aliases just all the decls of the scope. I think it would benefit from two lists, one list of marked decls, and another of yet to mark decls. So that the already marked bindings don't n

[Bug c++/64500] push_to_top_level() shows up high during build of modern C++ code

2025-03-26 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64500 --- Comment #10 from ak at gcc dot gnu.org --- I misidentified the hot loop, it's actually this one in store_bindings: for (t = names; t; t = TREE_CHAIN (t)) { if (TREE_CODE (t) == TREE_LIST) id = TREE_PURPOSE (t); else

[Bug tree-optimization/119482] New: slow compilation on

2025-03-26 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 Bug ID: 119482 Summary: slow compilation on Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug c++/64500] push_to_top_level() shows up high during build of modern C++ code

2025-03-25 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64500 --- Comment #9 from ak at gcc dot gnu.org --- I can test it later, but it would surprise me if it helps. The problem is not the computation but the misses. When profiling it I see a lot of cache misses on "cmp" memory load. So likely need to do so

[Bug c++/64500] push_to_top_level() shows up high during Chromium build.

2025-03-23 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64500 ak at gcc dot gnu.org changed: What|Removed |Added Version|5.0 |14.0 Ever confirmed|0

[Bug c++/64500] push_to_top_level() shows up high during Chromium build.

2025-03-23 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64500 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Comment

[Bug middle-end/118864] Add nomerge attribute

2025-02-14 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118864 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Commen

[Bug tree-optimization/116126] vectorize libcpp search_line_fast

2025-01-13 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116126 --- Comment #10 from ak at gcc dot gnu.org --- Okay it looks like the test case just avoids the if (...) return problem by replacing it with if (...) break. I guess the vectorizer should really be able to do that on its own.

[Bug tree-optimization/116126] vectorize libcpp search_line_fast

2025-01-13 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116126 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Commen

[Bug translation/40883] [meta-bug] Translation breakage with trivial fixes

2025-01-12 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40883 Bug 40883 depends on bug 80188, which changed state. Bug 80188 Summary: calls.c: reason argument to maybe_complain_about_tail_call must be marked for translation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80188 What|Removed

[Bug translation/80188] calls.c: reason argument to maybe_complain_about_tail_call must be marked for translation

2025-01-12 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80188 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org

[Bug rtl-optimization/118444] New: [Meta bug] musttail bugs

2025-01-12 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118444 Bug ID: 118444 Summary: [Meta bug] musttail bugs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization

[Bug tree-optimization/118443] New: [Meta bug] Bugs triggered by and blocking more smtgcc testing

2025-01-12 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118443 Bug ID: 118443 Summary: [Meta bug] Bugs triggered by and blocking more smtgcc testing Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/118277] g++ ICEs with depedent inline-asm string

2025-01-02 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118277 --- Comment #6 from ak at gcc dot gnu.org --- Can you expand? None of the other callers of cp_parser_constant_expression seem to do anything special for templates.

[Bug c++/118277] g++ ICEs with depedent inline-asm string

2025-01-02 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118277 ak at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Com

[Bug tree-optimization/118279] gcc fails to eliminate unnecessary guards around switch()

2025-01-02 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118279 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org,

[Bug target/118252] i386 should implement CASE_VECTOR_SHORTEN_MODE

2025-01-02 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118252 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Commen

[Bug tree-optimization/118198] tail merge/cross jump should not merge abort

2025-01-01 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118198 ak at gcc dot gnu.org changed: What|Removed |Added Summary|tail merge should not merge |tail merge/cross jump

[Bug tree-optimization/118198] tail merge should not merge abort

2024-12-31 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118198 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org Ever c

[Bug preprocessor/118168] -Wmisleading-indentation causes 10x+ overhead or higher (visible on mypy-1.13.0)

2024-12-25 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118168 ak at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED CC|

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

2024-12-23 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #29 from ak at gcc dot gnu.org --- We could also implement greedy switch clustering for jump tables I think. Right now it's only for the switch bitmap clustering.

[Bug testsuite/117961] x86 testsuite: scan-assembler[-not] is bogus for inline asm

2024-12-10 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117961 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Commen

[Bug ipa/117350] [15 Regression] ICE with autoprofiledbootstrap and bootstrap-lto after r15-4610-gbf43fe6aa966ea

2024-11-18 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 ak at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/117350] [15 Regression] ICE with autoprofiledbootstrap and bootstrap-lto after r15-4610-gbf43fe6aa966ea

2024-10-31 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #21 from ak at gcc dot gnu.org --- Thanks. I'll see if this patch is enough: diff --git a/gcc/tree.cc b/gcc/tree.cc index b4c059d3b0db..92f99eaccd72 100644 --- a/gcc/tree.cc +++ b/gcc/tree.cc @@ -787,8 +787,9 @@ need_assembler_name

[Bug ipa/117350] [15 Regression] ICE with autoprofiledbootstrap and bootstrap-lto after r15-4610-gbf43fe6aa966ea

2024-10-31 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #18 from ak at gcc dot gnu.org --- Okay I looked into need_assembler_name_p. For __ct function_decl it bails out due to 784 /* If DECL already has its assembler name set, it does not need a 785 new one. */ 786

[Bug ipa/117350] [15 Regression] ICE with autoprofiledbootstrap and bootstrap-lto after r15-4610-gbf43fe6aa966ea

2024-10-31 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #17 from ak at gcc dot gnu.org --- http://firstfloor.org/~andi/fbdata.afdo is the gcov file for the reproducer above.

[Bug ipa/117350] [15 Regression] ICE with autoprofiledbootstrap and bootstrap-lto after r15-4610-gbf43fe6aa966ea

2024-10-31 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #16 from ak at gcc dot gnu.org --- I'm not sure the revision in the subject is right. Given the reproduction in gcc 13 it seems to me this is a latent bug that is just triggered by changes in the bootstrapped input source. Strangely i

[Bug ipa/117350] [15 Regression] ICE with autoprofiledbootstrap and bootstrap-lto after r15-4610-gbf43fe6aa966ea

2024-10-30 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #15 from ak at gcc dot gnu.org --- I guess to debug have to figure what's different about the decl between the non autofdo case and autofdo. I tried to work around it by modifying the urlifier code to avoid the anonymous name space,

[Bug bootstrap/117350] ICE in pretty print during bootstrap

2024-10-29 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #11 from ak at gcc dot gnu.org --- Given that it reproduce with distribution gcc 13.0 I don't think it's a miscompilation.

[Bug bootstrap/117350] ICE in pretty print during bootstrap

2024-10-29 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #10 from ak at gcc dot gnu.org --- The small test case also fails with gcc 13.0 (although it doesn't have the nested ICE). So it's an old latent bug. gcc version 13.3.1 20240913 (Red Hat 13.3.1-3) (GCC) gcc -fauto-profile=fbdata.afd

[Bug bootstrap/117350] ICE in pretty print during bootstrap

2024-10-29 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #8 from ak at gcc dot gnu.org --- It's when reading the profile file, so stage 4 (?) The full log is here: http://firstfloor.org/~andi/l2

[Bug bootstrap/117350] ICE in pretty print during bootstrap

2024-10-29 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 ak at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug bootstrap/117350] ICE in pretty print during bootstrap

2024-10-29 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #5 from ak at gcc dot gnu.org --- Also the ICE had a truncated backtrace. Checking it in gdb gives the full one. The bad mangling happens while autofdo is reading the string table of the afdo file, and trying to generate the asm name

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

2024-10-29 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 ak at gcc dot gnu.org changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug middle-end/117352] New: switch bit test conversion makes comparison code worse

2024-10-29 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117352 Bug ID: 117352 Summary: switch bit test conversion makes comparison code worse Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

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

2024-10-29 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 ak at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug bootstrap/117350] ICE in pretty print during bootstrap

2024-10-29 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 --- Comment #3 from ak at gcc dot gnu.org --- Reduced test case for an Intel platform: gu.cc: template class tuple; template struct tuple<_T1, _T2> { tuple(_T1, _T2); }; struct __uniq_ptr_impl { __uniq_ptr_impl(int __p, int) : _M_t(__p, in

[Bug c++/117351] New: ICE while reporting invalid template error

2024-10-29 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117351 Bug ID: 117351 Summary: ICE while reporting invalid template error Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug other/117350] New: ICE in pretty print during bootstrap

2024-10-29 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350 Bug ID: 117350 Summary: ICE in pretty print during bootstrap Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug target/117312] RFE: x86 (and perhaps others): inline assembly: "red-zone" clobber

2024-10-29 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117312 --- Comment #5 from ak at gcc dot gnu.org --- Peter, can you construct a test case that demonstrates the problem?

[Bug target/117312] RFE: x86 (and perhaps others): inline assembly: "red-zone" clobber

2024-10-27 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117312 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Commen

[Bug rtl-optimization/117297] New: late combine undoes too much

2024-10-25 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117297 Bug ID: 117297 Summary: late combine undoes too much Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization

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

2024-10-16 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 ak at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org ---

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

2024-10-16 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 --- Comment #10 from ak at gcc dot gnu.org --- https://github.com/andikleen/gcc/commit/9a71a4dbdd7094241bcdb0b89d7261c19dcc4b34 fixes the test case by checking early that bit clustering only works when multiple labels point to the same code. It

[Bug middle-end/116510] [15 Regression] ice in decompose, at wide-int.h:1049

2024-10-15 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116510 --- Comment #12 from ak at gcc dot gnu.org --- Like this? It fixes the test case. I'm not sure why you want AND_EXPR, this is a truth formula. Maybe it should be TRUTH_ANDIF_EXPR though to short circuit. diff --git a/gcc/tree-if-conv.cc b/gcc/

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

2024-10-11 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 --- Comment #4 from ak at gcc dot gnu.org --- Here's a patch that enables the slow switch conversions only at -O2. With that the test case builds reasonably quickly. diff --git a/gcc/common.opt b/gcc/common.opt index 12b25ff486de..4af7a94fea42

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

2024-10-11 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 ak at gcc dot gnu.org changed: What|Removed |Added Summary|bit_test_cluster takes |switch clustering takes

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

2024-10-11 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 --- Comment #2 from ak at gcc dot gnu.org --- Minimum patch. Only enable the clustering at -O2. diff --git a/gcc/tree-switch-conversion.cc b/gcc/tree-switch-conversion.cc index 00426d46..468b15f1c461 100644 --- a/gcc/tree-switch-conversion.c

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

2024-10-11 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 ak at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2024-10-11 Summary|co

[Bug tree-optimization/115130] [meta-bug] early break vectorization

2024-09-12 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115130 Bug 115130 depends on bug 115866, which changed state. Bug 115866 Summary: missed optimization vectorizing switch statements. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115866 What|Removed |Added

[Bug tree-optimization/115130] [meta-bug] early break vectorization

2024-09-12 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115130 Bug 115130 depends on bug 116520, which changed state. Bug 116520 Summary: Multiple condition lead to missing vectorization due to missing early break https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116520 What|Removed

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

2024-09-12 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 116520, which changed state. Bug 116520 Summary: Multiple condition lead to missing vectorization due to missing early break https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116520 What|Removed

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

2024-09-12 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 115866, which changed state. Bug 115866 Summary: missed optimization vectorizing switch statements. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115866 What|Removed |Added --

[Bug tree-optimization/115866] missed optimization vectorizing switch statements.

2024-09-12 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115866 ak at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug tree-optimization/116520] Multiple condition lead to missing vectorization due to missing early break

2024-09-12 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116520 ak at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|WAITING Resolution|DUPLI

[Bug testsuite/116080] [15 regression] New tests from r15-2233-g8d1af8f904a0c0 fail

2024-09-03 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116080 ak at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/115130] [meta-bug] early break vectorization

2024-08-26 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115130 Bug 115130 depends on bug 115866, which changed state. Bug 115866 Summary: missed optimization vectorizing switch statements. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115866 What|Removed |Added

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

2024-08-26 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 115866, which changed state. Bug 115866 Summary: missed optimization vectorizing switch statements. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115866 What|Removed |Added --

[Bug tree-optimization/115866] missed optimization vectorizing switch statements.

2024-08-26 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115866 ak at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-23 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 ak at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/115728] Feature Request: inline assembly improvements for C++

2024-07-01 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115728 ak at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug tree-optimization/115274] Bogus -Wstringop-overread in SQLite source code

2024-06-28 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115274 ak at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c/115704] New: -Wstringop-overread and related warnings should print inline stack

2024-06-28 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115704 Bug ID: 115704 Summary: -Wstringop-overread and related warnings should print inline stack Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancem

[Bug preprocessor/79465] infinite #include cycle is not detected

2024-06-26 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79465 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org Res

[Bug target/101989] Fail to optimize (a & b) | (c & ~b) to vpternlog instruction.

2022-09-25 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101989 ak at gcc dot gnu.org changed: What|Removed |Added CC||rth at gcc dot gnu.org --- Comme

[Bug target/93768] Use vpternlog for composite logical operations

2022-09-25 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93768 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org Res