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?
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
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
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
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
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
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
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.
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
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
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.
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
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
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.
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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.
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
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,
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118168
ak at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
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.
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350
ak at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
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
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
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.
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
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,
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.
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
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091
ak at gcc dot gnu.org changed:
What|Removed |Added
Resolution|FIXED |---
Status|RESOLVED
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091
ak at gcc dot gnu.org changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
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
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++
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
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?
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
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
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
---
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
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/
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
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
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
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
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
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
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
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
--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115866
ak at gcc dot gnu.org changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116080
ak at gcc dot gnu.org changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
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
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
--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115866
ak at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324
ak at gcc dot gnu.org changed:
What|Removed |Added
Resolution|--- |FIXED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115728
ak at gcc dot gnu.org changed:
What|Removed |Added
Resolution|--- |FIXED
CC|
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
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
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
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
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
82 matches
Mail list logo