[Bug target/85919] Incomplete transition to IFNs for scatter/gather support, drop vectorize.builtin_{gather,scatter} target hooks

2025-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85919 Richard Biener changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #

[Bug target/121412] [16 Regression] AArch64 SVE VLS vs VLA ICE building Pytorch with LTO

2025-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121412 --- Comment #4 from Richard Biener --- (In reply to Richard Biener from comment #3) > -msve-vector-bits is not specially handled in lto-wrapper and thus it will > go the "default" and ferry that over to the link command. > > The flag should get

[Bug target/121412] [16 Regression] AArch64 SVE VLS vs VLA ICE building Pytorch with LTO

2025-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121412 Richard Biener changed: What|Removed |Added Target Milestone|--- |16.0 Version|15.0

[Bug target/121412] [16 Regression] AArch64 SVE VLS vs VLA ICE building Pytorch with LTO

2025-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121412 --- Comment #3 from Richard Biener --- -msve-vector-bits is not specially handled in lto-wrapper and thus it will go the "default" and ferry that over to the link command. The flag should get into the function-specific target attribute but glob

[Bug tree-optimization/121382] [15/16 Regression] wrong code at -O2 on x86_64-linux-gnu since r15-6657

2025-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121382 Richard Biener changed: What|Removed |Added Assignee|tnfchris at gcc dot gnu.org|rguenth at gcc dot gnu.org

[Bug target/121410] [16 Regression] ICE: in expand_set_or_cpymem_prologue_epilogue_by_misaligned_moves, at config/i386/i386-expand.cc:8872 with -O2 -mavx512f -mstore-max=128

2025-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121410 Richard Biener changed: What|Removed |Added Target Milestone|--- |16.0

[Bug tree-optimization/121405] [13/14/15/16 Regression] Another missed VN via a copy (but via an int copy)

2025-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121405 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug tree-optimization/121405] [13/14/15/16 Regression] Another missed VN via a copy (but via an int copy)

2025-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121405 --- Comment #7 from Richard Biener --- Created attachment 62054 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62054&action=edit another related old patch

[Bug tree-optimization/121405] [13/14/15/16 Regression] Another missed VN via a copy (but via an int copy)

2025-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121405 --- Comment #6 from Richard Biener --- Created attachment 62053 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62053&action=edit old patch I think this one, originally done for PR92645, but there's a related one for PR93507.

[Bug tree-optimization/121405] [13/14/15/16 Regression] Another missed VN via a copy (but via an int copy)

2025-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121405 --- Comment #5 from Richard Biener --- : MEM [(struct vec_char_16 *)&D.3024] = t0_7(D); MEM [(struct vec_char_16 *)&D.3024 + 1B] = t1_8(D); a_20 = MEM[(struct vec_char_16 *)&D.3024]; MEM [(char * {ref-all})&b] = a_20; _15 = BIT_F

[Bug debug/121399] objdump -S broken with -gsplit-dwarf and -O2 and above

2025-08-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121399 Richard Biener changed: What|Removed |Added Resolution|--- |MOVED Status|UNCONFIRMED

[Bug tree-optimization/121382] [15/16 Regression] wrong code at -O2 on x86_64-linux-gnu since r15-6657

2025-08-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121382 Richard Biener changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/121370] [13/14/15/16 regression] wrong code at -O{s,2,3} on x86_64-linux-gnu since r0-123105

2025-08-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121370 --- Comment #4 from Richard Biener --- it's SCEV I believe: (set_scalar_evolution instantiated_below = 2 (scalar = e_8) (scalar_evolution = {2147483647, +, 2147483647(OVF)}_1)) SCEV happily combines the -2147483647 and -2 increment. Fur

[Bug tree-optimization/121370] [13/14/15/16 regression] wrong code at -O{s,2,3} on x86_64-linux-gnu since r0-123105

2025-08-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121370 --- Comment #3 from Richard Biener --- most of the time such things happen because of failed reset of niter info.

[Bug tree-optimization/121395] [15/16 Regression] gcc.dg/vect/pr59984.c fails to vectorize two loops

2025-08-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Keywords||missed-optimization Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 Target Milestone|--- |15.2

[Bug tree-optimization/121395] New: [15/16 Regression] gcc.dg/vect/pr59984.c fails to vectorize two loops

2025-08-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- The two loops containing SIMD calls without a LHS fail to vectorize with forced SLP since there's no SLP disc

[Bug target/121392] [16 Regression] GCN offloading: 'libgomp.c/simd-math-1.c' execution test timeouts

2025-08-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121392 Richard Biener changed: What|Removed |Added Target Milestone|--- |16.0

[Bug target/121393] [16 Regression] GCN gfx1100 offloading: 'libgomp.c-c++-common/for-{11,12,3,5,6,9}.c' execution tests

2025-08-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121393 Richard Biener changed: What|Removed |Added Target Milestone|--- |16.0

[Bug tree-optimization/121362] SCCVN (FRE) sometimes does not read through aggregate copies

2025-08-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121362 Richard Biener changed: What|Removed |Added Target Milestone|--- |16.0 Resolution|---

[Bug tree-optimization/121383] if-convert lacks support for && conditions

2025-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121383 --- Comment #2 from Richard Biener --- if-conversion does nothing to loops with multiple exits. One could think to sub-divide its work, but in this case there's a lack of PHIs and the expected if-conversion is on control dependences rather than

[Bug tree-optimization/121378] [16 regression] wrong code at -O2 on x86_64-linux-gnu since r16-1594-gb03e0d69b37f6e

2025-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121378 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/121362] SCCVN (FRE) sometimes does not read through aggregate copies

2025-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121362 --- Comment #4 from Richard Biener --- Created attachment 62036 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62036&action=edit preliminary patch

[Bug tree-optimization/121362] SCCVN (FRE) sometimes does not read through aggregate copies

2025-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121362 --- Comment #3 from Richard Biener --- Related: struct s1 { int t, t1; }; struct s3 { struct s1 t; }; struct s2 { struct s3 t; }; void f(int, int); void l(); void g(int a, int b, int *p) { struct s2 c; { struct s1 tmp = {a,b};

[Bug tree-optimization/121378] [16 regression] wrong code at -O2 on x86_64-linux-gnu

2025-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121378 Richard Biener changed: What|Removed |Added Version|unknown |16.0 Last reconfirmed|

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2025-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 90242, which changed state. Bug 90242 Summary: [UBSAN]: in vn_reference_compute_hash https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90242 What|Removed |Added --

[Bug tree-optimization/90242] [UBSAN]: in vn_reference_compute_hash

2025-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90242 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/121362] SCCVN (FRE) sometimes does not read through aggregate copies

2025-08-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
||2025-08-02 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED --- Comment #2 from Richard Biener --- FRE1 gets to see struct s3 * t; struct s1 tmp; struct s2 c; int _1; int _2

[Bug target/121358] [15/16 Regression] SVE ICE compiling highway since r15-4235

2025-08-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121358 --- Comment #2 from Richard Biener --- __attribute__((target ("+sve"))) void foo () { struct A t; ;; basic block 2, loop depth 0 ;;pred: ENTRY MEM [(int *)&t] = { 0, POLY_INT_CST [2, 2] }; f (t); [tail call] expands t

[Bug tree-optimization/90242] [UBSAN]: in vn_reference_compute_hash

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED --- Comment #5 from Richard Biener --- I'm testing a patch.

[Bug tree-optimization/121350] [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121350 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/120351] [15 regression] Assemble failure on armv7-a with -mfpu=neon (ldrex r1, [s14], invalid use of NEON registers) since r15-1579-g792f97b44ffc5e

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120351 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/121351] [15/16 Regression] Ambiguous resolution of constrained overloads imported from base class

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121351 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Target Milestone|---

[Bug tree-optimization/121350] [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121350 --- Comment #7 from Richard Biener --- diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc index 83b35608c60..5b363bb6a4d 100644 --- a/gcc/tree-vect-stmts.cc +++ b/gcc/tree-vect-stmts.cc @@ -8245,7 +8245,7 @@ vectorizable_store (vec_inf

[Bug tree-optimization/121350] [16 regression] Segfault in aarch64.cc for SLP_TREE_MEMORY_ACCESS_TYPE since r16-2663-ga5aa73e547d738

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Target Milestone|--- |16.0 Last reconfirmed||2025-08-01 --- Comment #6 from Richard Biener --- I'll fixup the remainder. d_lsm

[Bug tree-optimization/121349] New: scalar_cond_masked_set optimization fails to consider all SLP lanes

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- We record a scalar operand in vect_record_loop_mask: void vect_record_loop_mask (loop_vec_info loop_vinfo

[Bug tree-optimization/121338] UBSAN error in ivopts (signed integer overflow: 9223372036854775805 + 26 cannot be represented in type 'long int')

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121338 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 121338, which changed state. Bug 121338 Summary: UBSAN error in ivopts (signed integer overflow: 9223372036854775805 + 26 cannot be represented in type 'long int') https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121338

[Bug tree-optimization/106883] SLSR may generate signed wrap

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106883 --- Comment #4 from Richard Biener --- diff --git a/gcc/gimple-ssa-strength-reduction.cc b/gcc/gimple-ssa-strength-reduction.cc index 55ee0ca33e4..6c85480364c 100644 --- a/gcc/gimple-ssa-strength-reduction.cc +++ b/gcc/gimple-ssa-strength-reduct

[Bug c/119950] __builtin_constant_p warning with -Wdeprecated-non-prototype inconsistent

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119950 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug tree-optimization/121323] UBSAN error in ao_ref_init_from_ptr_and_range (signed integer overflow: -9223372036854775808 * 8 cannot be represented in type 'long int')

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121323 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.2

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 121320, which changed state. Bug 121320 Summary: UBSAN error in tree-ssa-sccvn (signed integer overflow: 2305843009213693952 * 8 cannot be represented in type 'long int') https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12132

[Bug tree-optimization/121320] UBSAN error in tree-ssa-sccvn (signed integer overflow: 2305843009213693952 * 8 cannot be represented in type 'long int')

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121320 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.2 Status|ASSIGNED

[Bug tree-optimization/121323] UBSAN error in ao_ref_init_from_ptr_and_range (signed integer overflow: -9223372036854775808 * 8 cannot be represented in type 'long int')

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121323 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 121323, which changed state. Bug 121323 Summary: UBSAN error in ao_ref_init_from_ptr_and_range (signed integer overflow: -9223372036854775808 * 8 cannot be represented in type 'long int') https://gcc.gnu.org/bugzilla/sho

[Bug rtl-optimization/120424] [14/15 regression] lra-elimination issues when fp2sp elimination is disabled part-way through lra

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120424 Richard Biener changed: What|Removed |Added Target Milestone|15.2|14.4

[Bug c/121111] [13/14/15/16 Regression] ICE: Segmentation fault with vector_size on array

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.5

[Bug rtl-optimization/120424] [14/15 regression] lra-elimination issues when fp2sp elimination is disabled part-way through lra

2025-08-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120424 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.2

[Bug tree-optimization/121338] UBSAN error in ivopts (signed integer overflow: 9223372036854775805 + 26 cannot be represented in type 'long int')

2025-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Last reconfirmed||2025-08-01 --- Comment #3 from Richard Biener --- Interesting. uint64_t niters = (uint64_t) avg_loop_niter (data->current_l

[Bug target/121334] riscv: ICE compiling 523.xalancbmk_r with -fno-vect-cost-model

2025-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121334 Richard Biener changed: What|Removed |Added Target||riscv --- Comment #2 from Richard Bien

[Bug tree-optimization/121323] UBSAN error in ao_ref_init_from_ptr_and_range (signed integer overflow: -9223372036854775808 * 8 cannot be represented in type 'long int')

2025-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121323 Richard Biener changed: What|Removed |Added Keywords||wrong-code Known to work|

[Bug tree-optimization/121320] UBSAN error in tree-ssa-sccvn (signed integer overflow: 2305843009213693952 * 8 cannot be represented in type 'long int')

2025-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121320 Richard Biener changed: What|Removed |Added Known to work||16.0 --- Comment #6 from Richard Biene

[Bug tree-optimization/121323] UBSAN error in ao_ref_init_from_ptr_and_range (signed integer overflow: -9223372036854775808 * 8 cannot be represented in type 'long int')

2025-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Last reconfirmed||2025-07-31 --- Comment #4 from Richard Biener --- I have a fix.

[Bug tree-optimization/121320] UBSAN error in tree-ssa-sccvn (signed integer overflow: 2305843009213693952 * 8 cannot be represented in type 'long int')

2025-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #4 from Richard Biener --- I will figure how to do this cast.

[Bug tree-optimization/121332] [16 Regression] 8-16% slowdown of 519.lbm_r on AMD Zen 2 since r16-2601-ge8a51144c02e1c

2025-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121332 Richard Biener changed: What|Removed |Added Target Milestone|--- |16.0

[Bug middle-end/121321] UBSAN error in get_object_alignment_2 (signed integer overflow: 2305843009213694039 * 8 cannot be represented in type 'long int')

2025-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121321 --- Comment #4 from Richard Biener --- (In reply to Andrew Pinski from comment #2) > bitpos += mem_ref_offset (exp).force_shwi () * BITS_PER_UNIT; > > 2305843009213694039 here is 0x2057 . > > This code seems undefined a

[Bug target/121121] [15 regression] [RISC-V] Wrong unwind info with -fstack-clash-protection

2025-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121121 --- Comment #2 from Richard Biener --- Andreas, is this also needed on the branch?

[Bug c++/119969] [13/14/15/16 regression] incorrectly omitted initialization at -O2 with pointer to member functions

2025-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119969 Richard Biener changed: What|Removed |Added Known to fail||16.0 Summary|[13/14/15 regr

[Bug testsuite/119382] [15 Regression] gcc.target/powerpc/vsx-builtin-7.c fail starting with r15-7961-gdc47161c1f32c3

2025-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119382 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug tree-optimization/121130] [15 Regression] ICE at O2: in operator[], at vec.h:911 since r15-3509

2025-07-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121130 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/121315] Missed LDP/STP fusion opportunity

2025-07-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121315 --- Comment #2 from Richard Biener --- (In reply to Andrew Pinski from comment #1) > Confirmed. > > At .optimization GCC produces: > ``` > vect__5.13_42 = MEM [(int *)src_3(D) + ivtmp.34_19 * 1]; > _4 = src_3(D) + 16; > vect__5.14_44 = M

[Bug tree-optimization/121130] [15/16 Regression] ICE at O2: in operator[], at vec.h:911 since r15-3509

2025-07-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121130 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/121304] tree-vect-stmts.cc:2222:8: runtime error: load of value 3026314944, which is not a valid value for type 'vect_memory_access_type'

2025-07-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121304 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2025-07-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 121304, which changed state. Bug 121304 Summary: tree-vect-stmts.cc::8: runtime error: load of value 3026314944, which is not a valid value for type 'vect_memory_access_type' https://gcc.gnu.org/bugzilla/show_bug.cgi?

[Bug tree-optimization/121304] tree-vect-stmts.cc:2222:8: runtime error: load of value 3026314944, which is not a valid value for type 'vect_memory_access_type'

2025-07-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121304 Richard Biener changed: What|Removed |Added CC||rdapp at gcc dot gnu.org --- Comment #

[Bug tree-optimization/121304] tree-vect-stmts.cc:2222:8: runtime error: load of value 3026314944, which is not a valid value for type 'vect_memory_access_type'

2025-07-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 --- Comment #7 from Richard Biener --- This shouldn't happen, let me have a look.

[Bug target/120941] [16 Regression] 24-40% slowdown of 519.lbm_r on Zen2 and 470.lbm on Zen5 since r16-1644-gaba3b9d3a48a07

2025-07-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941 --- Comment #35 from Richard Biener --- (In reply to H.J. Lu from comment #33) > Created attachment 61995 [details] > An updated patch > > Please try this. Looking at the patch I do wonder about static void ix86_place_single_vector_set (rtx

[Bug tree-optimization/121298] [16 Regression] Missed bswap and rotate detection from r16-2601-ge8a51144c02e1c

2025-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121298 Richard Biener changed: What|Removed |Added Last reconfirmed||2025-07-29 Ever confirmed|0

[Bug tree-optimization/121298] [16 Regression] Missed bswap and rotate detection from r16-2601-ge8a51144c02e1c

2025-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121298 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target Milestone

[Bug tree-optimization/121298] New: [16 Regression] Missed bswap and rotate detection from r16-2601-ge8a51144c02e1c

2025-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- FAIL: gcc.target/i386/pr115102.c scan-assembler bswaphisi2_lowpart FAIL: gcc.target/i386/xchg-4.c scan

[Bug target/121296] Conversion from float vector to short/int8 vector not optimized (AVX512, AVX2, and SSE2)

2025-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121296 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/120687] RISC-V: very poor vector code gen for LMbench bw_mem test case

2025-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120687 --- Comment #9 from Richard Biener --- So some cases fixed, but not the LMbench one using signed integers.

[Bug target/120941] [16 Regression] 24-40% slowdown of 519.lbm_r on Zen2 and 470.lbm on Zen5 since r16-1644-gaba3b9d3a48a07

2025-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941 --- Comment #31 from Richard Biener --- - basic block if it is in a recursive call. */ - || !recursive_call_p) + basic block if it is in a recursive call or in + a

[Bug tree-optimization/120687] RISC-V: very poor vector code gen for LMbench bw_mem test case

2025-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120687 --- Comment #6 from Richard Biener --- (In reply to Richard Biener from comment #5) > The issue is that we somehow fail to SLP discover the reduction chain. I > will have a look to check why. Reassoc improvements disturb the reduction chain la

[Bug tree-optimization/121290] [16 regression] Regressions in TSVC s119, s3113, s312, s313, s314, s315, s316 since r16-2159-g3bf2aa834e1270

2025-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121290 --- Comment #2 from Richard Biener --- Note the change wasn't intended to cause any changes, but it did allow for some more vectorization. So what would be interesting is to compare -fopt-info-vec before/after for the cases that regressed in pe

[Bug testsuite/121288] [15/16 Regression] vect/pr117888-1.c fails on s390x since introduction in r15-6097

2025-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121288 Richard Biener changed: What|Removed |Added Summary|[15/16] vect/pr117888-1.c |[15/16 Regression] |

[Bug testsuite/121286] [15/16 Regression] pr112325.c failing on s390x since it was introduced in r15-919

2025-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121286 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.2 Summary|[15/16] pr1123

[Bug tree-optimization/121284] [14/15/16 Regression] unnecessary memory operations on vector conversion from double to int

2025-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121284 --- Comment #2 from Richard Biener --- (In reply to Andrew Pinski from comment #1) > trunk: > _3 = {_8, _9, _10, _11, _12, _13, _14, _15}; > _16 = BIT_FIELD_REF <_3, 256, 0>; > _17 = BIT_FIELD_REF <_3, 256, 256>; > _18 = VEC_PACK_FIX_TRU

[Bug tree-optimization/121279] [14/15/16 Regression] wrong code due to load of a bool from an union being pulled out of loop

2025-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121279 Richard Biener changed: What|Removed |Added Last reconfirmed||2025-07-29 Priority|P3

[Bug target/121274] [14/15/16 Regression] xmm extraction from zmm vector emits unnecessary vpextrq/vpinsrq sequence

2025-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121274 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/121274] [14/15/16 Regression] xmm extraction from zmm vector emits unnecessary vpextrq/vpinsrq sequence

2025-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121274 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.4 Keywords|

[Bug debug/121093] Missed location of inlined function

2025-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121093 --- Comment #6 from Richard Biener --- (In reply to Jan Hubicka from comment #4) > > in the end I'm not sure what's "wrong" here and why you think you are > > missing > p2 - p2 is not executed, you shouldn't get any profile on it. > > Seems we

[Bug c/121270] New diagnostic: -Wsizeof-array

2025-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121270 Richard Biener changed: What|Removed |Added Severity|normal |enhancement

[Bug c/121271] New dialect flag: -fconst-array-parameters

2025-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121271 Richard Biener changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/121256] [13/14/15 Regression] ffmpeg miscompiled with -O2 -march=znver2 since r13-3327-g46a8e017d048ec

2025-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121256 Richard Biener changed: What|Removed |Added Summary|[13/14/15/16 regression]|[13/14/15 Regression]

[Bug tree-optimization/121264] [15/16 Regression] ifcombine wrong code with byte offset 0x20000000 since r15-6173-ge8febb641415fd

2025-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121264 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/121256] [13/14/15/16 regression] ffmpeg miscompiled with -O2 -march=znver2

2025-07-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121256 --- Comment #5 from Richard Biener --- (In reply to Richard Biener from comment #4) > Nope, it seems the initial recurrence vector is bogus: > > vect_cst__84 = {blue_lsm.10_58, blue_lsm.10_58, blue_lsm.10_58, > blue_lsm.10_58, blue_lsm.10_58,

[Bug tree-optimization/121256] [13/14/15/16 regression] ffmpeg miscompiled with -O2 -march=znver2

2025-07-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121256 --- Comment #4 from Richard Biener --- Nope, it seems the initial recurrence vector is bogus: vect_cst__84 = {blue_lsm.10_58, blue_lsm.10_58, blue_lsm.10_58, blue_lsm.10_58, blue_lsm.10_58, blue_lsm.10_58, blue_lsm.10_58, blue_lsm.10_58}; ..

[Bug tree-optimization/121258] Missed optimization with 'while' loop that can be converted to 'do-while'

2025-07-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121258 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #1 fro

[Bug tree-optimization/121256] [13/14/15/16 regression] ffmpeg miscompiled with -O2 -march=znver2

2025-07-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
gcc dot gnu.org |rguenth at gcc dot gnu.org Last reconfirmed||2025-07-27 Ever confirmed|0 |1 Target||x86_64-*-* Keywords||needs-bisection

[Bug rtl-optimization/121253] [14/15/16 Regression] aarch64 inline asm: 128-bit output operands use clobbered registers

2025-07-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121253 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c/121252] No way to return large _BitInt with gimpleFE

2025-07-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121252 Richard Biener changed: What|Removed |Added Last reconfirmed||2025-07-27 Status|UNCONFIR

[Bug gcov-profile/121243] [GCOV] [[fallthrough]] leads wrong cov for case-statement.

2025-07-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121243 --- Comment #1 from Richard Biener --- I think we merge the case labels w/o any way to recover coverage.

[Bug debug/121093] Missed location of inlined function

2025-07-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121093 --- Comment #3 from Richard Biener --- t.c.047t.cddce1:Marking useful stmt: # DEBUG INLINE_ENTRY p2 t.c.047t.cddce1:Marking useful stmt: # DEBUG INLINE_ENTRY p1 t.c.047t.cddce1: # DEBUG INLINE_ENTRY p1D.2958 we eliminate the inline scope becau

[Bug target/121230] x86: Inefficient code generation with -m3dnow -msse since GCC 12

2025-07-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121230 --- Comment #1 from Richard Biener --- Try -fexcess-precision=fast or -std=gnu11?

[Bug c++/121231] [10->trunk] miscompile with brace-initialized constant template parameter perhaps due to function coalescing

2025-07-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121231 Richard Biener changed: What|Removed |Added Keywords||wrong-code Last reconfirmed|

[Bug tree-optimization/121202] [15 Regression] ICE on valid code at -O3 with -fno-tree-copy-prop on x86_64-linux-gnu: in vect_schedule_slp_node, at tree-vect-slp.cc:11381

2025-07-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121202 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/121227] dot_prodv16siv64qi uses unsupported insn

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121227 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Keywords|

[Bug target/121227] New: dot_prodv16siv64qi uses unsupported insn

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- I see > /spc/abuild/rguenther/obj-gcc-g/gcc/xgcc > -B/spc/abuild/rguenther/obj-gcc-g/gcc/ > /space/rguenther/src/gcc/gcc/testsuite/gcc.target/i386/vnni-auto-vect

[Bug tree-optimization/121225] Missed autovectorization of bswap8 in a loop

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121225 Richard Biener changed: What|Removed |Added Blocks||53947 Last reconfirmed|

[Bug target/121224] auto-vectorizer generates aligned accesses to potentially unaligned memory

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121224 Richard Biener changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Comment #

  1   2   3   4   5   6   7   8   9   10   >