[Bug tree-optimization/121003] Sometimes __builtin_unreachable is still there before the vectorizer

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

[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-08 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941 --- Comment #16 from Filip Kastl --- Ok, I'll try to extract a smaller testcase.

[Bug middle-end/121000] __builtin_dynamic_object_size should work for FAM with VLA element when annotated with counted_by

2025-07-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121000 --- Comment #2 from Richard Biener --- (In reply to qinzhao from comment #1) > with gcc -O1 -fdump-tree-all t.c, in a-t.c.112t.objsz1, we see the object > size is generated as _22: > > sizetype _26(D); > > _12 = &p_18->n; > _23 = MEM [(

[Bug tree-optimization/120358] [14 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-07-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 Richard Biener changed: What|Removed |Added Known to work||15.1.1 Summary|[15 regressi

[Bug middle-end/118443] [Meta bug] Bugs triggered by and blocking more smtgcc testing

2025-07-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118443 Bug 118443 depends on bug 118669, which changed state. Bug 118669 Summary: Misaligned store after vectorization without using misaligned type with SVE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118669 What|Removed

[Bug tree-optimization/118669] Misaligned store after vectorization without using misaligned type with SVE

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

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

2025-07-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 120927, which changed state. Bug 120927 Summary: [15 Regression] 510.parest_r segfaults built with -Ofast -march=znver4 --param vect-partial-vector-usage=1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120927 W

[Bug tree-optimization/120927] [15 Regression] 510.parest_r segfaults built with -Ofast -march=znver4 --param vect-partial-vector-usage=1

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

[Bug fortran/120843] [15/16-Regression, Coarray] Inconsistent ranks for operator reported when coarray ranks differ

2025-07-08 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120843 Andre Vehreschild changed: What|Removed |Added Status|REOPENED|WAITING --- Comment #11 from Andre

[Bug tree-optimization/120358] [15 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-07-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #39 from GCC Commits --- The releases/gcc-15 branch has been updated by Richard Biener : https://gcc.gnu.org/g:0f1e4dd1f9354ea962113e066152d0a77209f732 commit r15-9944-g0f1e4dd1f9354ea962113e066152d0a77209f732 Author: Richard Biene

[Bug tree-optimization/120927] [15 Regression] 510.parest_r segfaults built with -Ofast -march=znver4 --param vect-partial-vector-usage=1

2025-07-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120927 --- Comment #9 from GCC Commits --- The releases/gcc-15 branch has been updated by Richard Biener : https://gcc.gnu.org/g:b8599692a336b29851bdc5d8506a51d57521595c commit r15-9940-gb8599692a336b29851bdc5d8506a51d57521595c Author: Richard Biener

[Bug tree-optimization/118669] Misaligned store after vectorization without using misaligned type with SVE

2025-07-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118669 --- Comment #15 from GCC Commits --- The releases/gcc-15 branch has been updated by Richard Biener : https://gcc.gnu.org/g:c625bc9c7c294ef2851ae42d4a5b6cc899fecb5e commit r15-9943-gc625bc9c7c294ef2851ae42d4a5b6cc899fecb5e Author: Richard Biene

[Bug tree-optimization/120817] [13/14/15 Regression] Wrong code when compiled with -O1 -ftree-loop-vectorize for AArch64 target

2025-07-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120817 --- Comment #22 from GCC Commits --- The releases/gcc-15 branch has been updated by Richard Biener : https://gcc.gnu.org/g:77066fec7ae3b57806c5d8fed9429c7db9ee446b commit r15-9942-g77066fec7ae3b57806c5d8fed9429c7db9ee446b Author: Tamar Christi

[Bug tree-optimization/120817] [13/14/15 Regression] Wrong code when compiled with -O1 -ftree-loop-vectorize for AArch64 target

2025-07-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120817 --- Comment #21 from GCC Commits --- The releases/gcc-15 branch has been updated by Richard Biener : https://gcc.gnu.org/g:0ebeed53983dbcefcf7b950895c9d88c85342cf4 commit r15-9941-g0ebeed53983dbcefcf7b950895c9d88c85342cf4 Author: Richard Biene

[Bug tree-optimization/120944] [12/13/14/15 Regression] Incorrect optimization with accessing a volatile structure member

2025-07-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120944 --- Comment #4 from GCC Commits --- The releases/gcc-15 branch has been updated by Richard Biener : https://gcc.gnu.org/g:2c23368ed910a911e72af5decfc39bef11a9efac commit r15-9939-g2c23368ed910a911e72af5decfc39bef11a9efac Author: Richard Biener

[Bug c++/121008] [16 Regression] Error on 'this' inside noexcept specifier of lambda capturing 'this' inside noexcept specifier

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121008 Andrew Pinski changed: What|Removed |Added Known to fail||16.0 Keywords|

[Bug c++/121008] [16 Regression] Error on 'this' inside noexcept specifier of lambda capturing 'this' inside noexcept specifier

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121008 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/121010] Error on lambda in fold expression in lambda capturing pack

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121010 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/103876] Parameter pack not expanded in lambda within static_assert in a fold-expression of a lambda

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103876 Andrew Pinski changed: What|Removed |Added CC||eczbek.void at gmail dot com --- Commen

[Bug tree-optimization/120996] [16 regression][AArch64] 15% regression in microBUDE since r16-1108-gb7960a3f966a0f

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120996 --- Comment #5 from Andrew Pinski --- (In reply to Dhruv Chawla from comment #4) > Also added https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109154, which is a > previous case where a similar issue occurred. With almost exactly the same code even

[Bug tree-optimization/121011] Bad optimizations by GCC 15.0.1 from Fedora

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121011 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-07-09 Component|target

[Bug c++/121012] [16 Regression] Error on lambda with auto parameter as template argument

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121012 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Status|UNCO

[Bug c++/120917] warning: use of 'auto' in template argument only available with '-fconcepts-ts'

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120917 --- Comment #27 from Andrew Pinski --- (In reply to GCC Commits from comment #19) > The trunk branch has been updated by Jason Merrill : > > https://gcc.gnu.org/g:8abc2e66be72a34db8c3cc97e4fbd90b7abae61d > > commit r16-2065-g8abc2e66be72a34db8

[Bug c++/121012] [16 Regression] Error on lambda with auto parameter as template argument

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121012 Andrew Pinski changed: What|Removed |Added Summary|Error on lambda with auto |[16 Regression] Error on

[Bug libgomp/121009] [libgomp]fwrite return value ignored in libgomp/error.c causes build failure with -Werror=unused-result

2025-07-08 Thread dongjianqiang2 at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121009 --- Comment #2 from John Dong --- (In reply to Andrew Pinski from comment #1) > Glibc was fixed 13 years ago. > https://sourceware.org/bugzilla/show_bug.cgi?id=11959 > > So closing as won't fix. Thank you, Andrew, for the quick clarification a

[Bug c++/121012] New: Error on lambda with auto parameter as template argument

2025-07-08 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121012 Bug ID: 121012 Summary: Error on lambda with auto parameter as template argument Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Prio

[Bug tree-optimization/120996] [16 regression][AArch64] 15% regression in microBUDE since r16-1108-gb7960a3f966a0f

2025-07-08 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120996 Dhruv Chawla changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/121011] New: Bad optimizations by GCC 15.0.1 from Fedora

2025-07-08 Thread vda.linux at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121011 Bug ID: 121011 Summary: Bad optimizations by GCC 15.0.1 from Fedora Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree

[Bug c++/121010] New: Error on lambda in fold expression in lambda capturing pack

2025-07-08 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121010 Bug ID: 121010 Summary: Error on lambda in fold expression in lambda capturing pack Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal P

[Bug libgomp/121009] [libgomp]fwrite return value ignored in libgomp/error.c causes build failure with -Werror=unused-result

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121009 Andrew Pinski changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRMED

[Bug libgomp/121009] New: [libgomp]fwrite return value ignored in libgomp/error.c causes build failure with -Werror=unused-result

2025-07-08 Thread dongjianqiang2 at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121009 Bug ID: 121009 Summary: [libgomp]fwrite return value ignored in libgomp/error.c causes build failure with -Werror=unused-result Product: gcc Version: 14.3.0

[Bug c++/121008] New: Error on 'this' inside noexcept specifier of lambda capturing 'this' inside noexcept specifier

2025-07-08 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121008 Bug ID: 121008 Summary: Error on 'this' inside noexcept specifier of lambda capturing 'this' inside noexcept specifier Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug other/120905] Unable to compile GCC 6.5.0 with GCC 5.5.0 on Solaris 10 SPARC (linker error?)

2025-07-08 Thread tch at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120905 --- Comment #17 from TCH --- Okay, GCC6 now compiles and the resulting compiler can compile too. So, this is the right way to do: untxz gcc-6.5.0.tar.xz cd gcc-6.5.0 patch -p0 < ../gcc6_solaris10.patch cd .. mkdir gcc6 cd gcc6 export LD_LIBRARY

[Bug rtl-optimization/120983] recog violates earlyclobber with user-defined hard register before reload (causing ICE on gcc.target/loongarch/bitwise-shift-reassoc-clobber.c)

2025-07-08 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120983 --- Comment #7 from Xi Ruoyao --- https://gcc.gnu.org/pipermail/gcc-patches/2025-July/689000.html

[Bug target/121007] [15/16 Regression] compiler hangs when building ffpmeg with -mcpu=power9 on ppc64le

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121007 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/121007] [15/16 Regression] compiler hangs when building ffpmeg with -mcpu=power9 on ppc64le

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121007 Andrew Pinski changed: What|Removed |Added Target Milestone|16.0|15.2 Summary|[Regression 15]

[Bug target/121007] [Regression 15] compiler hangs when building ffpmeg with -mcpu=power9 on ppc64le

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121007 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org

[Bug target/121007] New: [Regression 15] compiler hangs when building ffpmeg with -mcpu=power9 on ppc64le

2025-07-08 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121007 Bug ID: 121007 Summary: [Regression 15] compiler hangs when building ffpmeg with -mcpu=power9 on ppc64le Product: gcc Version: 15.1.0 Status: UNCONFIRMED Sever

[Bug target/120957] [16 Regression] 6% slowdown of 503.bwaves_r on Zen2 since r16-1647-gc06979ff957485

2025-07-08 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120957 --- Comment #5 from Hongtao Liu --- (In reply to Filip Kastl from comment #3) > I've bisected this on Zen2. It is possible that this is actually two > different slowdowns and only the Zen2 slowdown is caused by r16-1647. I'll > bisect on Zen3.

[Bug target/120993] powerpc64le with ibm128 long double LDBL_NORM_MAX does not conform to C23

2025-07-08 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120993 --- Comment #3 from Paul Eggert --- Thanks for following up. I understand the backward-compatibility argument for leaving things alone in this messy area, even if the resulting macros don't conform to C23. Should this conformance issue be docum

[Bug target/117468] [12/13/14/15/16 Regression] arm thumb1 high reg restoration trashes register reserved with -ffixed-reg

2025-07-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117468 --- Comment #2 from Sam James --- (In reply to Matt Parks from comment #1) > gcc-patches e-mail with changelog/test case/patch posted here but no > replies: https://gcc.gnu.org/pipermail/gcc-patches/2025-June/687629.html Just reply to it with "

[Bug target/117468] [12/13/14/15/16 Regression] arm thumb1 high reg restoration trashes register reserved with -ffixed-reg

2025-07-08 Thread matt.parks--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117468 --- Comment #1 from Matt Parks --- gcc-patches e-mail with changelog/test case/patch posted here but no replies: https://gcc.gnu.org/pipermail/gcc-patches/2025-June/687629.html

[Bug target/117366] [12/13/14/15/16 regression] arm thumb1 epilogue size optimizer violates -ffixed

2025-07-08 Thread matt.parks--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117366 --- Comment #6 from Matt Parks --- (In reply to Sam James from comment #5) > (In reply to Matt Parks from comment #4) > > gcc-patches e-mail: > > https://gcc.gnu.org/pipermail/gcc-patches/2025-June/686685.html > > See https://gcc.gnu.org/contri

[Bug libstdc++/118681] [C++17] unsynchronized_pool_resource may fail to respect alignment

2025-07-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118681 --- Comment #12 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:eb412029f5cec52275d14956fe01473015a9ce0e commit r16-2115-geb412029f5cec52275d14956fe01473015a9ce0e Author: Jonathan Wakely Date

[Bug tree-optimization/121004] float_var*0.0f if we know a is finite be just done as copysign(0.0, a)

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121004 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > (In reply to Andrew Pinski from comment #4) > > (In reply to Harald van Dijk from comment #3) > > > I think comment #0's f could be optimised even more to just r

[Bug tree-optimization/121006] New: if (float_var == CST || float_var== -CST) is known to be true, __builtin_copysignf(CST, float_var) can be optimized to just float_var

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121006 Bug ID: 121006 Summary: if (float_var == CST || float_var== -CST) is known to be true, __builtin_copysignf(CST, float_var) can be optimized to just float_var Product: gcc

[Bug tree-optimization/121004] float_var*0.0f if we know a is either -0.0 or 0.0 can be just done as copysign(0.0, a)

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121004 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > (In reply to Harald van Dijk from comment #3) > > I think comment #0's f could be optimised even more to just return a; > > True. But that is also a missing co

[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-08 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941 H.J. Lu changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #15 fr

[Bug middle-end/121005] New: TREE_LANG_FLAG_* does not have a check for !INTEGER_CST and !VECTOR_CST

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121005 Bug ID: 121005 Summary: TREE_LANG_FLAG_* does not have a check for !INTEGER_CST and !VECTOR_CST Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: intern

[Bug tree-optimization/121004] float_var*0.0f if we know a is either -0.0 or 0.0 can be just done as copysign(0.0, a)

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121004 --- Comment #4 from Andrew Pinski --- (In reply to Harald van Dijk from comment #3) > I think comment #0's f could be optimised even more to just return a; True.

[Bug tree-optimization/121004] float_var*0.0f if we know a is either -0.0 or 0.0 can be just done as copysign(0.0, a)

2025-07-08 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121004 --- Comment #3 from Harald van Dijk --- I think comment #0's f could be optimised even more to just return a;

[Bug tree-optimization/121004] float_var*0.0f if we know a is either -0.0 or 0.0 can be just done as copysign(0.0, a)

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121004 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > I am not 100% sure if this happens in PR 120996 but there is a possibility. It does seem like it is happening there for LLVM code generation but I have not look

[Bug tree-optimization/121004] float_var*0.0f if we know a is either -0.0 or 0.0 can be just done as copysign(0.0, a)

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121004 --- Comment #1 from Andrew Pinski --- Actually LLVM transforms a*0.0f into copysign if it knows that a is finite. That is: ``` float f0(float a) { if (__builtin_isnan(a) || __builtin_isinf(a)) __builtin_unreachable(); float t = a*0.f;

[Bug tree-optimization/121004] New: float_var*0.0f if we know a is either -0.0 or 0.0 can be just done as copysign(0.0, a)

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121004 Bug ID: 121004 Summary: float_var*0.0f if we know a is either -0.0 or 0.0 can be just done as copysign(0.0, a) Product: gcc Version: 16.0 Status: UNCONFIRMED K

[Bug tree-optimization/121003] New: Sometimes __builtin_unreachable is still there before the vectorizer

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121003 Bug ID: 121003 Summary: Sometimes __builtin_unreachable is still there before the vectorizer Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: missed-op

[Bug libstdc++/118681] [C++17] unsynchronized_pool_resource may fail to respect alignment

2025-07-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118681 --- Comment #11 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ac2fb60a67d6d1de6446c25c5623b8a1389f4770 commit r16-2112-gac2fb60a67d6d1de6446c25c5623b8a1389f4770 Author: Jonathan Wakely Date

[Bug c++/83469] union is not accepted as a valid class-key in template name resolution

2025-07-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83469 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/93809] bogus error class tag used in naming union on typedef typename ::U U2

2025-07-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93809 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/93809] bogus error class tag used in naming union on typedef typename ::U U2

2025-07-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93809 --- Comment #7 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:7d11ae1dd95a0296eeb5c14bfe3a5d4ec8873e3b commit r16-2111-g7d11ae1dd95a0296eeb5c14bfe3a5d4ec8873e3b Author: Marek Polacek Date: Tue

[Bug c++/83469] union is not accepted as a valid class-key in template name resolution

2025-07-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83469 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:7d11ae1dd95a0296eeb5c14bfe3a5d4ec8873e3b commit r16-2111-g7d11ae1dd95a0296eeb5c14bfe3a5d4ec8873e3b Author: Marek Polacek Date: Tue

[Bug d/121002] New: d: -Wno-error=deprecated does not overwrite a previous -Werror

2025-07-08 Thread a.horodniceanu at proton dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121002 Bug ID: 121002 Summary: d: -Wno-error=deprecated does not overwrite a previous -Werror Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/85316] [meta-bug] VRP range propagation missed cases

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85316 Bug 85316 depends on bug 121001, which changed state. Bug 121001 Summary: frange on float_var*0.f includes NaN even if float_var does not include NaN https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121001 What|Removed

[Bug tree-optimization/121001] frange on float_var*0.f includes NaN even if float_var does not include NaN

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121001 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/121001] frange on float_var*0.f includes NaN even if float_var does not include NaN

2025-07-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121001 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug middle-end/121000] __builtin_dynamic_object_size should work for FAM with VLA element when annotated with counted_by

2025-07-08 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121000 qinzhao at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/121000] __builtin_dynamic_object_size should work for FAM with VLA element when annotated with counted_by

2025-07-08 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121000 --- Comment #1 from qinzhao at gcc dot gnu.org --- with gcc -O1 -fdump-tree-all t.c, in a-t.c.112t.objsz1, we see the object size is generated as _22: sizetype _26(D); _12 = &p_18->n; _23 = MEM [(void *)_12]; _24 = MAX_EXPR <_23, 0>;

[Bug tree-optimization/121001] New: frange on float_var*0.f includes NaN even if float_var does not include NaN

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121001 Bug ID: 121001 Summary: frange on float_var*0.f includes NaN even if float_var does not include NaN Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: mi

[Bug fortran/120843] [15/16-Regression, Coarray] Inconsistent ranks for operator reported when coarray ranks differ

2025-07-08 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120843 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|

[Bug tree-optimization/120996] [16 regression][AArch64] 15% regression in microBUDE since r16-1108-gb7960a3f966a0f

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120996 --- Comment #3 from Andrew Pinski --- So one thing I noticed is we simplify float_var*1.f into float_var . That seems to mess up things slightly. While float_var * 0.f is not. I didn't fully look but is suspect this code does not have any nans

[Bug c++/119838] optional template keyword with global namespace causing error

2025-07-08 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119838 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/117784] [C++26] P2686R4 - constexpr structured bindings and references to constexpr variables

2025-07-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117784 --- Comment #3 from Jakub Jelinek --- As the commit message says, so far partially implemented. One can declare structured bindings constexpr as long as the C++23-ish constant expression handling allows that.

[Bug c++/117784] [C++26] P2686R4 - constexpr structured bindings and references to constexpr variables

2025-07-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117784 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c81447d969f27a8653ebb1a450372f0d25a2e628 commit r16-2108-gc81447d969f27a8653ebb1a450372f0d25a2e628 Author: Jakub Jelinek Date: T

[Bug tree-optimization/120996] [16 regression][AArch64] 15% regression in microBUDE since r16-1108-gb7960a3f966a0f

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120996 --- Comment #2 from Andrew Pinski --- ``` if (distbb_185 < elcdst_261) goto ; [15.25%] else goto ; [84.75%] [local count: 47574280]: _584 = chrg_init_176 * iftmp.5_190; goto ; [100.00%] [local count: 264301551]: _582 =

[Bug fortran/120843] [15/16-Regression, Coarray] Inconsistent ranks for operator reported when coarray ranks differ

2025-07-08 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120843 --- Comment #9 from anlauf at gcc dot gnu.org --- (In reply to GCC Commits from comment #6) > The master branch has been updated by Andre Vehreschild : > > https://gcc.gnu.org/g:15413e05eb9cde976b8890cd9b597d0a41a8eb27 > > commit r16-1967-g1541

[Bug tree-optimization/120996] [16 regression][AArch64] 15% regression in microBUDE since r16-1108-gb7960a3f966a0f

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120996 --- Comment #1 from Andrew Pinski --- Created attachment 61820 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61820&action=edit source from the git repo Just attaching it just in case the git repo goes away later on.

[Bug c++/120776] [C++26] P1306R5 - Expansion statements

2025-07-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120776 Jakub Jelinek changed: What|Removed |Added Attachment #61817|0 |1 is obsolete|

[Bug cobol/120772] gcobc requires explicit -fPIC

2025-07-08 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120772 --- Comment #4 from Simon Sobisch --- While I agree with Sam that this commit was much too big, consisting of too different things that would better have been split... this issue can be closed now.

[Bug libstdc++/119861] std::formatter specialization for map-like range has set_separator()/set_brackets()

2025-07-08 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119861 --- Comment #4 from Tomasz Kamiński --- Fixed in v16.

[Bug libstdc++/119861] std::formatter specialization for map-like range has set_separator()/set_brackets()

2025-07-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119861 --- Comment #3 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:70bd97e89ddf8fcb8c14e84a8fd580404536eeb1 commit r16-2107-g70bd97e89ddf8fcb8c14e84a8fd580404536eeb1 Author: Tomasz KamiÅski Date:

[Bug libstdc++/120997] std::span::subspan returns initializer list

2025-07-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120997 --- Comment #4 from Jonathan Wakely --- Thanks for submitting the issue! I'll add the link here once it gets created.

[Bug libstdc++/120914] [C++26] P3029R1 Better mdspan's CTAD

2025-07-08 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120914 --- Comment #5 from Tomasz Kamiński --- The constant wrapper contains a changes to the concept used here, so we should consider applying them: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2781r8.html.

[Bug libstdc++/120914] [C++26] P3029R1 Better mdspan's CTAD

2025-07-08 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120914 Tomasz Kamiński changed: What|Removed |Added Target Milestone|--- |16.0 --- Comment #4 from Tomasz Kamiń

[Bug libstdc++/120914] [C++26] P3029R1 Better mdspan's CTAD

2025-07-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120914 --- Comment #3 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:9c600a7e6cc588d2ee79d764cbf69ad677b1bac5 commit r16-2106-g9c600a7e6cc588d2ee79d764cbf69ad677b1bac5 Author: Luc Grosheintz Date:

[Bug libstdc++/119740] [C++26] Implement P2714R1, Bind front and back to NTTP callables

2025-07-08 Thread ncm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119740 Nathan Myers changed: What|Removed |Added Target Milestone|--- |16.0 CC|

[Bug libstdc++/119739] [C++26] Implement P0952R2, A new specification for std::generate_canonical

2025-07-08 Thread ncm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119739 Nathan Myers changed: What|Removed |Added CC||ncm at gcc dot gnu.org Target Mileston

[Bug sanitizer/120992] ICE on x86_64-linux-gnu: in ubsan_instrument_division, at c-family/c-ubsan.cc:51 with ubsan and may_alias

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120992 Andrew Pinski changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code See Also|

[Bug sanitizer/120992] ICE on x86_64-linux-gnu: in ubsan_instrument_division, at c-family/c-ubsan.cc:51 with ubsan and may_alias

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120992 --- Comment #2 from Andrew Pinski --- /* At this point both operands should have the same type, because they are already converted to RESULT_TYPE. Use TYPE_MAIN_VARIANT since typedefs can confuse us. */ tree top0 = TYPE_MAIN_VARIA

[Bug sanitizer/120992] ICE on x86_64-linux-gnu: in ubsan_instrument_division, at c-family/c-ubsan.cc:51 with ubsan and may_alias

2025-07-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120992 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[Bug middle-end/121000] New: __builtin_dynamic_object_size should work for FAM with VLA element when annotated with counted_by

2025-07-08 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121000 Bug ID: 121000 Summary: __builtin_dynamic_object_size should work for FAM with VLA element when annotated with counted_by Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug target/120930] [16 Regression] RISC-V: Miscompile at -O[23] with zvl256b -mrvv-vector-bits=zvl since r16-1645-g309dbcea2ca

2025-07-08 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120930 Robin Dapp changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rdapp at gcc dot gnu.org --- Commen

[Bug tree-optimization/120980] Vectorizer (early exit) introduces out-of-bounds memory access

2025-07-08 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120980 --- Comment #10 from Tamar Christina --- Could we perhaps emit additional annotation into gimple to describe what the vectorizer thinks is safe? And the tool verifies the claims?

[Bug tree-optimization/120980] Vectorizer (early exit) introduces out-of-bounds memory access

2025-07-08 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120980 --- Comment #11 from rguenther at suse dot de --- On Tue, 8 Jul 2025, tnfchris at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120980 > > --- Comment #10 from Tamar Christina --- > Could we perhaps emit additional ann

[Bug tree-optimization/120916] debug line info for IV increment is lost

2025-07-08 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120916 --- Comment #9 from Jan Hubicka --- Created attachment 61818 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61818&action=edit create_gcov path

[Bug tree-optimization/120916] debug line info for IV increment is lost

2025-07-08 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120916 --- Comment #8 from Jan Hubicka --- Patching create_gcov to account all of debug statements associated with a given address instead of just the last one gets me: test total:4350509 head:8642 1: 4484 // { 2: 4484 // for ( 3: 4484

[Bug target/120461] ICE: in gen_reg_rtx, at emit-rtl.cc:1189 with -mcpu=xt-c920 -mrvv-vector-bits=zvl -fzero-call-used-regs=all

2025-07-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120461 --- Comment #2 from GCC Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:dab5951af891c58aa4dd60755edb49df882b680a commit r16-2102-gdab5951af891c58aa4dd60755edb49df882b680a Author: Robin Dapp Date: Tue Jul

[Bug tree-optimization/120980] Vectorizer (early exit) introduces out-of-bounds memory access

2025-07-08 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120980 --- Comment #9 from rguenther at suse dot de --- On Tue, 8 Jul 2025, kristerw at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120980 > > --- Comment #8 from Krister Walfridsson --- > (In reply to rguent...@suse.de fro

[Bug target/120999] New: Assembler warning about MOVPRFX generation for NBSL instructions

2025-07-08 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120999 Bug ID: 120999 Summary: Assembler warning about MOVPRFX generation for NBSL instructions Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: aarch64-sve

[Bug libstdc++/106749] Implement C++23 library features

2025-07-08 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106749 Bug 106749 depends on bug 107761, which changed state. Bug 107761 Summary: Implement C++23 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107761 What|Removed |Added --

[Bug libstdc++/110352] [C++26] P2630R4 submdspan

2025-07-08 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110352 Bug 110352 depends on bug 107761, which changed state. Bug 107761 Summary: Implement C++23 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107761 What|Removed |Added --

[Bug libstdc++/119128] [C++26] Implement P1673R13 A free function linear algebra interface based on the BLAS

2025-07-08 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119128 Bug 119128 depends on bug 107761, which changed state. Bug 107761 Summary: Implement C++23 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107761 What|Removed |Added --

  1   2   >