[Bug target/121699] [16 regression] ICE when building mesa-25.1.8 with -march=znver4

2025-08-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121699 --- Comment #1 from Sam James --- ``` typedef struct { int u32; } nir_const_value; nir_const_value *evaluate_prmt_nv__dst_val; int evaluate_prmt_nv__src_0, evaluate_prmt_nv_src; void evaluate_prmt_nv (unsigned num_components) { for (unsig

[Bug sanitizer/92474] Sanitizer breaks tail-recursion optimization

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

[Bug tree-optimization/90883] Generated code is worse if returned struct is unnamed

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 --- Comment #37 from Andrew Pinski --- (In reply to Marc Glisse from comment #1) > I am surprised the C++ FE doesn't do copy elision in either case. Anyway, > slow gives: > > MEM[(struct C *)&D.26222 + 7B] = {}; > D.26222.a = {}; > D.29804

[Bug tree-optimization/90883] Generated code is worse if returned struct is unnamed

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926 Bug 101926 depends on bug 90883, which changed state. Bug 90883 Summary: Generated code is worse if returned struct is unnamed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 What|Removed |Added

[Bug target/121699] [16 regression] ICE when building mesa-25.1.8 with -march=znver4

2025-08-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121699 Sam James changed: What|Removed |Added Target Milestone|--- |16.0 CC|

[Bug target/121699] New: [16 regression] ICE when building mesa-25.1.8 with -march=znver4

2025-08-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
ie --enable-host-pie --enable-host-bind-now --enable-default-ssp --disable-fixincludes --with-gxx-libcxx-include-dir=/usr/include/c++/v1 --enable-linker-build-id --with-build-config='bootstrap-O3 bootstrap-cet' Thread model: posix Supported LTO compression algorithms

[Bug tree-optimization/42586] load-modify-store on x86 should be a single instruction

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42586 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.6.0 Status|NEW

[Bug target/121096] [16 Regression] ICE: in store_by_pieces, at expr.cc:1847 with -Os -mtune=... -mstringop-strategy=vector_loop

2025-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121096 H.J. Lu changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hjl.tools at gmail dot com

[Bug fortran/114611] H edit descriptor should flag as error with -std-f95 (or higher)

2025-08-27 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114611 Jerry DeLisle changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/120981] Vectorizer introduces UB address calculation

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120981 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/121108] [16 Regression] ICE: in setmem_epilogue_gen_val, at config/i386/i386-expand.cc:8438 with -mstringop-strategy=rep_4byte

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

[Bug tree-optimization/121698] [16 Regression] FAIL: g++.dg/opt/pr94589-2.C

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121698 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |16.0 Last reconfirmed|

[Bug target/121096] [16 Regression] ICE: in store_by_pieces, at expr.cc:1847 with -Os -mtune=... -mstringop-strategy=vector_loop

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121096 Andrew Pinski changed: What|Removed |Added CC||hjl at gcc dot gnu.org --- Comment #4 f

[Bug c++/121698] New: [16 Regression] FAIL: g++.dg/opt/pr94589-2.C

2025-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121698 Bug ID: 121698 Summary: [16 Regression] FAIL: g++.dg/opt/pr94589-2.C Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/121096] [16 Regression] ICE: in store_by_pieces, at expr.cc:1847 with -Os -mtune=... -mstringop-strategy=vector_loop

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

[Bug target/121096] [16 Regression] ICE: in store_by_pieces, at expr.cc:1847 with -Os -mtune=... -mstringop-strategy=vector_loop

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121096 Andrew Pinski changed: What|Removed |Added Attachment #61879|0 |1 is obsolete|

[Bug libffi/117635] Update in-tree copy of libffi to libffi-3.4.8

2025-08-27 Thread pietro at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117635 --- Comment #3 from pietro --- libffi 3.5.1 downgraded the autoconf requirement to 2.69. This is an attempt to sync it to the tree: https://forge.sourceware.org/gcc/gcc-TEST/pulls/69

[Bug testsuite/121684] [16 regression] c-c++-common/hwasan/unprotected-allocas-1.c regression since r16-101-g132d01d96ea9d6

2025-08-27 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121684 --- Comment #5 from Thiago Jung Bauermann --- Thank you!

[Bug fortran/121697] ASAN reports heap-use-after-free at fortran/simplify.cc:133 when compiling testsuite/gfortran.dg/pdt_39.f03

2025-08-27 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121697 Jerry DeLisle changed: What|Removed |Added Last reconfirmed||2025-08-27 CC|

[Bug target/120933] Turn on -mtls-dialect=gnu2 by default on x86-64

2025-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120933 --- Comment #19 from H.J. Lu --- (In reply to Sam James from comment #18) > Created attachment 62184 [details] > 0001-i386-default-to-mtls-dialect-gnu2-if-appropriate.patch > > Good idea, done. New patch attached. Looks good. You can remove "#

[Bug target/121694] Redundant TLSCALL

2025-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
bar, 8 bar: .zero 8 .align 8 .type foo, @object .size foo, 8 foo: .zero 8 .ident "GCC: (GNU) 16.0.0 20250827 (experimental)" .section.note.GNU-stack,"",@progbits [hjl@gnu-zen4-1 pr121668]$

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

2025-08-27 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121392 --- Comment #11 from Tobias Burnus --- (In reply to Tobias Burnus from comment #10) > (In reply to Andrew Stubbs from comment #9) > > I have submitted a Newlib patch for the related issue. > > Namely, https://sourceware.org/pipermail/newlib/202

[Bug target/120522] [16 Regression] RISC-V: Miscompile at -O3 since r16-449-gd884e9c5c74

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120522 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #3 from And

[Bug c++/121677] Lambda implementation leaks out to user code

2025-08-27 Thread csaba_22 at yahoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121677 --- Comment #3 from Csaba Ráduly --- (In reply to Jonathan Wakely from comment #2) > Your code has undefined behaviour because you're using a reserved identifier. Thanks. Now at least I can tell my colleague why he shouldn't have written that.

[Bug fortran/114611] H edit descriptor should flag as error with -std-f95 (or higher)

2025-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114611 --- Comment #6 from GCC Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:3fb7bedb212bc7a9aee091fe20941412af689832 commit r16-3420-g3fb7bedb212bc7a9aee091fe20941412af689832 Author: Jerry DeLisle Date: T

[Bug fortran/121697] New: ASAN reports heap-use-after-free at fortran/simplify.cc:133 when compiling testsuite/gfortran.dg/pdt_39.f03

2025-08-27 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121697 Bug ID: 121697 Summary: ASAN reports heap-use-after-free at fortran/simplify.cc:133 when compiling testsuite/gfortran.dg/pdt_39.f03 Product: gcc Version: 16.0

[Bug target/121696] __VSX__ is defined on Darwin, where it cannot possibly be supported

2025-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121696 --- Comment #3 from Iain Sandoe --- it is certainly not enabled by design, I guess some external factor: #define TARGET_OS_CPP_BUILTINS()\ do\ {

[Bug ipa/92938] constprop function is assigned to a different section than the original function

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92938 --- Comment #11 from Andrew Pinski --- (In reply to jcmvbkbc from comment #10) > The issue is not about special semantics. Semantic correctness is taken care > of by the kernel developers. It's about gcc making references that are not > present i

[Bug tree-optimization/121695] [16 Regression] RISC-V: ICE in ifcvt tree check: expected class 'type', have 'exceptional'

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

[Bug target/121696] __VSX__ is defined on Darwin, where it cannot possibly be supported

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

[Bug target/121696] __VSX__ is defined on Darwin, where it cannot possibly be supported

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121696 --- Comment #1 from Andrew Pinski --- Have you tried GCC 15? There has been some fixes with respect to `#pragma GCC target` in GCC 15 with respect to C++ for defines. I almost suspect that should fix it.

[Bug tree-optimization/121695] [16 Regression] RISC-V: ICE in ifcvt tree check: expected class 'type', have 'exceptional'

2025-08-27 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121695 --- Comment #7 from Edwin Lu --- (In reply to Andrew Pinski from comment #6) > Fixed sorry for the failure. No problem. Thanks for fixing it quickly :)

[Bug target/121696] New: __VSX__ is defined on Darwin, where it cannot possibly be supported

2025-08-27 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121696 Bug ID: 121696 Summary: __VSX__ is defined on Darwin, where it cannot possibly be supported Product: gcc Version: 14.3.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/121695] [16 Regression] RISC-V: ICE in ifcvt tree check: expected class 'type', have 'exceptional'

2025-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121695 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:a78f34b6d21da299429f2432b309781ad717c596 commit r16-3419-ga78f34b6d21da299429f2432b309781ad717c596 Author: Andrew Pinski Date: We

[Bug libobjc/121624] Invoking method returning floating point type on a nil receiver returns garbage value instead of 0

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

[Bug libobjc/121624] Invoking method returning floating point type on a nil receiver returns garbage value instead of 0

2025-08-27 Thread kaloian at doganov dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121624 --- Comment #6 from Kaloian Doganov --- My copyright assignment process with the FSF is complete.

[Bug tree-optimization/121695] [16 Regression] RISC-V: ICE in ifcvt tree check: expected class 'type', have 'exceptional'

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121695 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > I see my typo: > ``` > gimple_phi_arg (phi, 0)->def = new_arg0; > gimple_phi_arg (phi, 0)->def = new_arg1; > ``` > > Should be: > ``` > gimple_phi_arg (ph

[Bug target/121695] [16 Regression] RISC-V: ICE in ifcvt tree check: expected class 'type', have 'exceptional'

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121695 --- Comment #3 from Andrew Pinski --- I see my typo: ``` gimple_phi_arg (phi, 0)->def = new_arg0; gimple_phi_arg (phi, 0)->def = new_arg1; ``` Should be: ``` gimple_phi_arg (phi, 0)->def = new_arg0; gimple_phi_arg (phi, 1)->def = new_ar

[Bug target/121695] [16 Regression] RISC-V: ICE in ifcvt tree check: expected class 'type', have 'exceptional'

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121695 Andrew Pinski changed: What|Removed |Added Target|riscv aarch64 |riscv aarch64 x86_64 --- Comment #2 fro

[Bug target/121695] [16 Regression] RISC-V: ICE in ifcvt tree check: expected class 'type', have 'exceptional'

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

[Bug target/121695] [16 Regression] RISC-V: ICE in ifcvt tree check: expected class 'type', have 'exceptional'

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121695 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |16.0 Target|

[Bug target/121695] New: [16 Regression] RISC-V: ICE in ifcvt tree check: expected class 'type', have 'exceptional'

2025-08-27 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121695 Bug ID: 121695 Summary: [16 Regression] RISC-V: ICE in ifcvt tree check: expected class 'type', have 'exceptional' Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug fortran/107421] problematic interaction of 'common' and 'threadprivate'

2025-08-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107421 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2025-08-27 Ever confirme

[Bug fortran/99709] [PDT] VALUE attribute for an object with nonconstant length parameter

2025-08-27 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99709 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Commen

[Bug target/111023] missing extendv4siv4hi (and friends)

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111023 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/121685] Failure to vectorize because of failed invariant motion

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121685 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

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

2025-08-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110352 --- Comment #3 from Jonathan Wakely --- Also: Padded mdspan layouts https://wg21.link/p2642r6

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

2025-08-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119128 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2025-08-27 Ever confirmed|0

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 --- Comment #11 from Andrew Pinski --- So here is what I think happens. the \n happens at the end of the buffer so it is changed into \n\r into the buffer and then the next character from the tty is \r. This sounds like an expect or a dejagnu b

[Bug c/88662] Document trap representations of _Bool

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88662 --- Comment #19 from Andrew Pinski --- (In reply to Vincent Lefèvre from comment #17) > (In reply to Joseph S. Myers from comment #16) > > It's for the psABI to document the valid representations of bool on a given > > platform. > > But GCC does

[Bug target/121520] [16 regression] g++.dg/DRs/dr2575.C FAIL

2025-08-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121520 Jakub Jelinek changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c/121691] -Wcomma-within-single-parentheses: New diagnostic for non-robust uses of the comma operator

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121691 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug ipa/121692] Inlining fails with builtin_constant_p and cold attribute

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121692 Andrew Pinski changed: What|Removed |Added Summary|Inlining fails with |Inlining fails with |

[Bug ipa/121692] Inlining fails with builtin_constant_p

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121692 --- Comment #2 from Andrew Pinski --- Without `__attribute__((__cold__))` on tmigr_init the inlining happens

[Bug target/121681] -mno-scalar-strict-align doesn't work on rv64 (memcpy is not optimized like on x86_64 and aarch64)

2025-08-27 Thread sergey at lobanov dot in via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121681 --- Comment #1 from Sergey V. Lobanov --- BTW, I've found that spacemit's GCC generates optimized code with unaligned access if I set mcpu=spacemit-x60, but unfortunately they don't provide GCC source code (at least I can't find source for their

[Bug c/88662] Document trap representations of _Bool

2025-08-27 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88662 --- Comment #18 from Joseph S. Myers --- What aspects of the psABI for bool do you say GCC does not respect? For memory representations, the ABI says "Booleans\index{boolean}, when stored in a memory object, are stored as single byte objects the

[Bug tree-optimization/121693] forgets to clear the padding bits when converting a _BitInt(1) on x86_64 at -O1+ (SRA)

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121693 Andrew Pinski changed: What|Removed |Added Summary|forgets to clear the|forgets to clear the

[Bug c/82318] -fexcess-precision=standard has no effect on a libm function call

2025-08-27 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82318 --- Comment #10 from Vincent Lefèvre --- (In reply to Rich Felker from comment #9) > a bug against the psABI should probably be opened. I've just done this: https://gitlab.com/x86-psABIs/i386-ABI/-/issues/7

[Bug target/121694] Redundant TLSCALL

2025-08-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121694 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org Last reconfirme

[Bug tree-optimization/121693] forgets to clear the padding bits when converting a _BitInt(1) on x86_64

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

[Bug c++/107953] Greater-than operator misparsed inside a lambda expression used as a template argument

2025-08-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107953 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Assi

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 --- Comment #10 from Iain Sandoe --- NOTE (in case there's any doubt) macOS, itself, has not used \r as a line terminator for > 25 years (i.e. since the transition to MacOSX). The line terminator is \n as for other *nix variations.

[Bug target/121694] New: Redundant TLSCALL

2025-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121694 Bug ID: 121694 Summary: Redundant TLSCALL Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: una

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

2025-08-27 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121392 --- Comment #10 from Tobias Burnus --- (In reply to Andrew Stubbs from comment #9) > I have submitted a Newlib patch for the related issue. Namely, https://sourceware.org/pipermail/newlib/2025/022100.html

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-08-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 --- Comment #9 from Jonathan Wakely --- (In reply to Sam James from comment #2) > (In reply to Andrew Pinski from comment #1) > > I remember hearing about some issue in this area before too. > > Two things come to mind: > 1) An issue NightStrik

[Bug target/121693] forgets to clear the padding bits when converting a _BitInt(1) on x86_64

2025-08-27 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121693 --- Comment #1 from Vincent Lefèvre --- Note: my initial testcase was with T v; volatile unsigned char c = 2; v.c = c; v.b = v.i; printf ("%d\n", (int) v.c); (which should give 0, not 2). This could also be useful for the testsuite.

[Bug target/121693] New: forgets to clear the padding bits when converting a _BitInt(1) on x86_64

2025-08-27 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121693 Bug ID: 121693 Summary: forgets to clear the padding bits when converting a _BitInt(1) on x86_64 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: norma

[Bug fortran/103394] Bad object code for structure constructor

2025-08-27 Thread neil.n.carlson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103394 --- Comment #3 from Neil Carlson --- Ignore comment 2; it was meant for another PR.

[Bug fortran/121683] Data corruption with sourced allocation from constructor

2025-08-27 Thread neil.n.carlson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121683 --- Comment #3 from Neil Carlson --- I was able to strip this down to a much simpler example, which I hope is more digestible. The sanitizer output points to the ALLOCATE call causing the generated finalizer for T1 being called on the variable X

[Bug fortran/103394] Bad object code for structure constructor

2025-08-27 Thread neil.n.carlson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103394 --- Comment #2 from Neil Carlson --- I was able to strip this down to a much simpler example, which I hope is more digestible. The sanitizer output points to the ALLOCATE call causing the generated finalizer for T1 being called on the variable X

[Bug target/120233] [16 Regression] FAIL: gcc.target/i386/pr108938-3.c scan-assembler-times bswap[\t ]+ 3 by r16-531-g37e61c793c1b22

2025-08-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120233 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/120499] import std: indirect use of an exported class using a vector yields undefined symbol

2025-08-27 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120499 Nathaniel Shead changed: What|Removed |Added Target Milestone|16.0|15.3

[Bug c++/120499] import std: indirect use of an exported class using a vector yields undefined symbol

2025-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120499 --- Comment #5 from GCC Commits --- The releases/gcc-15 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:3d14459c28280d2a2cbf8463207c85de28f5f7b0 commit r15-10265-g3d14459c28280d2a2cbf8463207c85de28f5f7b0 Author: Nathaniel Sh

[Bug c/88662] Document trap representations of _Bool

2025-08-27 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88662 --- Comment #17 from Vincent Lefèvre --- (In reply to Joseph S. Myers from comment #16) > It's for the psABI to document the valid representations of bool on a given > platform. But GCC does not honor the psABI for the AMD64 (x86-64) architectur

[Bug ipa/121692] Inlining fails with builtin_constant_p

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

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 --- Comment #8 from Iain Sandoe --- (In reply to Iain Sandoe from comment #7) > (In reply to Torbjorn SVENSSON from comment #6) > > (In reply to Iain Sandoe from comment #5) > > > Please could you identify which tests have regressed - then I can

[Bug ipa/121692] New: Inlining fails with builtin_constant_p

2025-08-27 Thread jchrist at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121692 Bug ID: 121692 Summary: Inlining fails with builtin_constant_p Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa

[Bug c++/117613] [modules] using-directive not exported

2025-08-27 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117613 Nathaniel Shead changed: What|Removed |Added Target Milestone|--- |16.0 CC|

[Bug c++/103524] [meta-bug] modules issue

2025-08-27 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 117613, which changed state. Bug 117613 Summary: [modules] using-directive not exported https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117613 What|Removed |Added

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 --- Comment #7 from Iain Sandoe --- (In reply to Torbjorn SVENSSON from comment #6) > (In reply to Iain Sandoe from comment #5) > > Please could you identify which tests have regressed - then I can compare > > with my results across the various

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 --- Comment #5 from Iain Sandoe --- Please could you identify which tests have regressed - then I can compare with my results across the various versions I test) [x86 darwin9, 17, 18, 19, 20, 21, 23, 24 aarch64 darwin 21 23 ]

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-08-27 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 --- Comment #6 from Torbjorn SVENSSON --- (In reply to Iain Sandoe from comment #5) > Please could you identify which tests have regressed - then I can compare > with my results across the various versions I test) [x86 darwin9, 17, 18, > 19, 20,

[Bug target/121520] [16 regression] g++.dg/DRs/dr2575.C FAIL

2025-08-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121520 --- Comment #17 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f707c093dee0468a3ef837a6c40afcf4c7fa7e46 commit r16-3413-gf707c093dee0468a3ef837a6c40afcf4c7fa7e46 Author: Jakub Jelinek Date:

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-08-27 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 --- Comment #4 from Iain Sandoe --- (In reply to Andrew Pinski from comment #1) > This sounds like some kernel buffering issue dealing with expect. > > What exactly version of the xnu kernel are you seeing this with? > > I remember hearing ab

[Bug tree-optimization/121689] [15/16 regression] gcc-15.2 makes qemu riscv emulation on ppc64 jump into an if (false) when -fgcse is enabled.

2025-08-27 Thread christian.ehrhardt at canonical dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121689 --- Comment #1 from Christian Ehrhardt --- Due to optimization the function riscv_pmu_icount_update_priv gets inlined into its only caller riscv_pmu_update_fixed_ctrs. I was able to extract an objectdump of that function and will attach good (wi

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-08-27 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 --- Comment #3 from Torbjorn SVENSSON --- I've seen it on 2 different systems (only have these two to try it on): $ uname -a Darwin run-mac-x86_64 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-08-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 --- Comment #2 from Sam James --- (In reply to Andrew Pinski from comment #1) > I remember hearing about some issue in this area before too. Two things come to mind: 1) An issue NightStrike had some long thread with Jacob on (the dejagnu mainta

[Bug modula2/121629] Where to install 3rd party library .def files

2025-08-27 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121629 --- Comment #2 from Gaius Mulley --- Created attachment 62215 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62215&action=edit Proposed fix for 3rd party library modules This proposed fix adds /usr/include/m2 (prefix/include/m2) to the d

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 --- Comment #1 from Andrew Pinski --- This sounds like some kernel buffering issue dealing with expect. What exactly version of the xnu kernel are you seeing this with? I remember hearing about some issue in this area before too.

[Bug c/121691] New: -Wcomma-within-single-parentheses: New diagnostic for non-robust uses of the comma operator

2025-08-27 Thread foss+gcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121691 Bug ID: 121691 Summary: -Wcomma-within-single-parentheses: New diagnostic for non-robust uses of the comma operator Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-08-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 Sam James changed: What|Removed |Added Summary|Regression for dg-output|[13/14/15/16 regression]

[Bug testsuite/121690] New: Regression for dg-output checks on macOS

2025-08-27 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 Bug ID: 121690 Summary: Regression for dg-output checks on macOS Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tests

[Bug debug/119367] [15 Regression][gcn] libgomp.fortran/target1.f90 with '-O2 -g': '.2byte .LM6-.LM5' – error: ... out of range – since r15-8047-gadb14c7625178b

2025-08-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119367 --- Comment #14 from Jakub Jelinek --- Untested fix: 2025-08-27 Jakub Jelinek PR debug/119367 * dwarf2out.cc (output_one_line_info_table) : If HAVE_AS_LEB128, use DW_LNS_advance_pc with dw2_asm_output_delta_uleb128

[Bug c/88662] Document trap representations of _Bool

2025-08-27 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88662 --- Comment #16 from Joseph S. Myers --- "non-value representation" is simply a newer name for what used to be called "trap representation"; there is no distinction of meaning. It's for the psABI to document the valid representations of bool on

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

2025-08-27 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121392 --- Comment #9 from Andrew Stubbs --- I have submitted a Newlib patch for the related issue.

[Bug c/88662] Document trap representations of _Bool

2025-08-27 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88662 --- Comment #15 from Vincent Lefèvre --- Some clarification to what I've said: I mean that GCC should document that nonzero padding bits for _Bool give non-value representations (such representations are not necessarily trap representations, cont

[Bug c/88662] Document trap representations of _Bool

2025-08-27 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88662 Vincent Lefèvre changed: What|Removed |Added CC||vincent-gcc at vinc17 dot net --- Comm

[Bug tree-optimization/121679] Takes 2 DSE to remove some dead calls in some cases

2025-08-27 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121679 --- Comment #6 from rguenther at suse dot de --- On Wed, 27 Aug 2025, rearnsha at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121679 > > --- Comment #5 from Richard Earnshaw --- > (In reply to Richard Biener from com

[Bug tree-optimization/121689] [15/16 regression] gcc-15.2 makes qemu riscv emulation on ppc64 jump into an if (false) when -fgcse is enabled.

2025-08-27 Thread christian.ehrhardt at canonical dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121689 --- Comment #3 from Christian Ehrhardt --- Created attachment 62214 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62214&action=edit objdump of the oddly behaving function (inlined into caller) - bad case

  1   2   >