[Bug c++/116369] [12 Regression] temporary variable bounded to const reference with mutable field incorrectly marked as rodata since r9-869-g5603790dbf233c

2025-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116369 --- Comment #19 from GCC Commits --- The master branch has been updated by Francois Dumont : https://gcc.gnu.org/g:2fd6f42c17a8040dbd3460ca34d93695dacf8575 commit r16-2084-g2fd6f42c17a8040dbd3460ca34d93695dacf8575 Author: François Dumont Date

[Bug driver/120985] Possible memory leak in read_specs at gcc.cc

2025-07-07 Thread shuhaofu.g at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120985 --- Comment #4 from Shuhao --- I'm relatively new to GCC code bases. Are files like `gcc/*.cc` also parts of the short-lived driver code? If so, I'll then stop reporting memory leak issues within these source files.

[Bug c++/120990] Narrowing conversion in std::function return value is not reported

2025-07-07 Thread rohan.a.suri at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120990 --- Comment #4 from Rohan Suri --- Thanks for looking into it Andrew. Good to know that those compiler flags do catch it. > I am not sure if a warning is even wanted here. This is just one bad symptoms > of std::function. I don't know if GCC

[Bug tree-optimization/112324] phiopt fail to recog if (b < 0) max = MAX(-b, max); else max = MAX (b, max) into max = MAX (ABS(b), max)

2025-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112324 Andrew Pinski changed: What|Removed |Added Depends on||119920 --- Comment #9 from Andrew Pinsk

[Bug tree-optimization/119876] suboptimal code for avx512 conditional move

2025-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119876 Andrew Pinski changed: What|Removed |Added Depends on||119920 --- Comment #3 from Andrew Pinsk

[Bug tree-optimization/119920] Missed vectorization for conditioned adds

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

[Bug c/120991] New: ICE on x86_64-linux-gnu: in composite_type, at c/c-typeck.cc:1006 with transaction_safe

2025-07-07 Thread jiangchangwu at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120991 Bug ID: 120991 Summary: ICE on x86_64-linux-gnu: in composite_type, at c/c-typeck.cc:1006 with transaction_safe Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug debug/96635] Feature request: PDB/Codeview support

2025-07-07 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96635 --- Comment #8 from Julian Waters --- Wait, I just realized this isn't the bug that was reported for 32 bit MinGW. My comment can be ignored.

[Bug debug/120227] Incorrect debug info generation with options -gcodeview -g

2025-07-07 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120227 Julian Waters changed: What|Removed |Added CC||tanksherman27 at gmail dot com --- Comm

[Bug c/120657] Improve diagnostic for conditional operators that create the invalid type restrict void

2025-07-07 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120657 --- Comment #1 from Halalaluyafail3 --- The wrong token being pointed to also occurs when using restrict normally, for example: void(*restrict x)()=0; This generates the error message: :2:5: error: invalid use of 'restrict' 2 | void(*

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

2025-07-07 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120980 --- Comment #3 from Krister Walfridsson --- (In reply to Richard Biener from comment #2) > We do not want to introduce additional code generation overhead to avoid a > fully out-of-bounds but known not trapping because it's known to fall into >

[Bug libstdc++/120976] [16 Regression] error: static_assert( !is_same_v<__float128, long double> failed

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

[Bug target/55212] [SH] Switch to LRA

2025-07-07 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #461 from Oleg Endo --- (In reply to John Paul Adrian Glaubitz from comment #460) > Oleg, would it make sense to rebase your branch on git.gcc.org with master, > add all the tests from your tree on Github and then bootstrap gcc native

[Bug c++/120990] Narrowing conversion in std::function return value is not reported

2025-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120990 --- Comment #3 from Andrew Pinski --- I am not sure if a warning is even wanted here. This is just one bad symptoms of std::function.

[Bug c++/120990] Narrowing conversion in std::function return value is not reported

2025-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120990 --- Comment #2 from Andrew Pinski --- >Interestingly, if I try this on ARM 32-bit GCC 15.1, it does report: That is because long is 32bit so there is a warning at the function definition rather than at the function call point.

[Bug c++/120990] Narrowing conversion in std::function return value is not reported

2025-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
::function only with -Wsystem-headers which turns on a lot of conversion warnings outside of std::function): /opt/compiler-explorer/arm64/gcc-trunk-20250707/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/include/c++/16.0.0/bits/invoke.h:116:42: warning: conversion from 'long unsigned in

[Bug c++/120990] New: Narrowing conversion in std::function return value is not reported

2025-07-07 Thread rohan.a.suri at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120990 Bug ID: 120990 Summary: Narrowing conversion in std::function return value is not reported Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/120642] ICE: in validate_change_or_fail, at config/riscv/riscv-v.cc:5705 with -O -mcpu=xt-c920 -mrvv-vector-bits=zvl

2025-07-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120642 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/120920] RISC-V: Possible optimization of bswap when zbb is enabled

2025-07-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120920 --- Comment #1 from Jeffrey A. Law --- This looks fairly painful to capture in a backend pattern; I didn't see any particular attempt by combine that looked like a promising target pattern. I suspect you'll need to look at a simplify-rtx simpli

[Bug tree-optimization/119930] [15/16 regression] g++.dg/coroutines/torture/pr103953.C FAILs with -O3

2025-07-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930 Jason Merrill changed: What|Removed |Added Component|c++ |tree-optimization --- Comment #13 from

[Bug tree-optimization/116332] -O2 makes c++ std::regex give zero-alloc warnings

2025-07-07 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116332 Frank Heckenbach changed: What|Removed |Added CC||f.heckenb...@fh-soft.de --- Comment

[Bug tree-optimization/119920] Missed vectorization for conditioned adds

2025-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119920 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > Created attachment 61814 [details] > First prototype > > Has some rough edges (extra dumps for quick debugging; it also does not > handle commutative operations

[Bug cobol/120621] COBOL isn't built with STRICT_WARN

2025-07-07 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120621 --- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #11 from James K. Lowden --- > Please advise if this PR can be closed, or if not what flags to use as a > standard. There are more errors on 32-bit Darwin. I've posted

[Bug tree-optimization/120929] [16 Regression] file-5.45 triggers _FORTIFY_SOURCE false positives since r16-1905-g7165ca43caf470

2025-07-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120929 Sam James changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/120929] [16 Regression] file-5.45 triggers _FORTIFY_SOURCE false positives since r16-1905-g7165ca43caf470

2025-07-07 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120929 --- Comment #24 from qinzhao at gcc dot gnu.org --- I have reverted the patches that triggered the issue. will fix this issue in the next commit with the new patch set.

[Bug tree-optimization/119920] Missed vectorization for conditioned adds

2025-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119920 --- Comment #6 from Andrew Pinski --- Created attachment 61814 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61814&action=edit First prototype Has some rough edges (extra dumps for quick debugging; it also does not handle commutative ope

[Bug target/120922] [16 Regression] RISC-V: ICE during GIMPLE pass: vect in verify_range with -mrvv-max-lmul=m8

2025-07-07 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120922 Tamar Christina changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot gnu.org

[Bug libstdc++/120949] [16 regression] rejected with clang-20.1.7

2025-07-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120949 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/60662] simple use of call_once throws a system_error exception, but not if sleep_for is called beforehand

2025-07-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60662 --- Comment #9 from Jonathan Wakely --- (In reply to Antoine Pitrou from comment #7) > It seems this comment is mistaken as GCC 13.3, at least, still uses > pthread_once for std::call_once: > > > This should be fixed in GCC 11 which no longer us

[Bug libstdc++/120949] [16 regression] rejected with clang-20.1.7

2025-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120949 --- Comment #7 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ed912b1ee5ad0f241f968d5fd1a54a7e9e0e20dd commit r16-2078-ged912b1ee5ad0f241f968d5fd1a54a7e9e0e20dd Author: Jonathan Wakely Date:

[Bug target/120922] [16 Regression] RISC-V: ICE during GIMPLE pass: vect in verify_range with -mrvv-max-lmul=m8

2025-07-07 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120922 --- Comment #3 from Edwin Lu --- (In reply to Tamar Christina from comment #2) > Looks like it's because a very high VF was chosen > > optimized: loop vectorized using masked 1024 byte vectors and unroll factor > 256 > Updating vectorization fa

[Bug target/120922] [16 Regression] RISC-V: ICE during GIMPLE pass: vect in verify_range with -mrvv-max-lmul=m8

2025-07-07 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120922 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Comme

[Bug cobol/120621] COBOL isn't built with STRICT_WARN

2025-07-07 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120621 --- Comment #11 from James K. Lowden --- I would like to close this issue or fix what remains. It was reopened because it broke the bootstrap build, a lesson sorely learned. With the commit of June 20, that's been fixed. As of today, using a

[Bug gcov-profile/120881] [16 Regression] -pg may not call mount at function entry by r16-1550-g9244ea4bf55638

2025-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120881 --- Comment #28 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:3e34c54d72f6e3723601bcd936409af4a42d17b8 commit r16-2072-g3e34c54d72f6e3723601bcd936409af4a42d17b8 Author: H.J. Lu Date: Wed Jul 2 08

[Bug target/120922] [16 Regression] RISC-V: ICE during GIMPLE pass: vect in verify_range with -mrvv-max-lmul=m8

2025-07-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120922 Jeffrey A. Law changed: What|Removed |Added CC||tamar.christina at arm dot com --- Com

[Bug target/116242] [meta-bug] Tracker for zvl issues in RISC-V

2025-07-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116242 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/116686] [15/16 Regression] RISC-V: gcc.target/riscv/rvv/autovec/pr114734.c failing with zvl1024b lmul2

2025-07-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116686 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/116242] [meta-bug] Tracker for zvl issues in RISC-V

2025-07-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116242 Bug 116242 depends on bug 116686, which changed state. Bug 116686 Summary: [15/16 Regression] RISC-V: gcc.target/riscv/rvv/autovec/pr114734.c failing with zvl1024b lmul2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116686 What|Re

[Bug target/120763] [meta-bug] Tracker for bugs to visit during weekly RISC-V meeting

2025-07-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120763 Bug 120763 depends on bug 116686, which changed state. Bug 116686 Summary: [15/16 Regression] RISC-V: gcc.target/riscv/rvv/autovec/pr114734.c failing with zvl1024b lmul2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116686 What|Re

[Bug target/119100] RISC-V: missed opportunities for vector-scalar instructions

2025-07-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119100 --- Comment #10 from Jeffrey A. Law --- So I don't mind these changes being tagged to pr119100. My only concern is how do we know when we're done on this bug? We don't need to figure it out right now, but we do need to keep that question in mi

[Bug libstdc++/120976] error: static_assert( !is_same_v<__float128, long double> failed

2025-07-07 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120976 --- Comment #8 from dave.anglin at bell dot net --- On 2025-07-07 7:43 a.m., tkaminsk at gcc dot gnu.org wrote: > --- Comment #7 from Tomasz Kamiński --- > The issue should be addressed now. Fixes build on hppa64-hp-hpux11.11.

[Bug cobol/119331] cobol: unimplemented exceptions abort compilation - even if requested to NOT use them

2025-07-07 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119331 --- Comment #4 from Simon Sobisch --- I see, so I guess you'll leave enabling in the command line interface for now and autogen+include a temporary CDF for disabling in cobcd?

[Bug jit/120960] jit: The static initialization of builtin_data uses flag_openacc and flag_openmp (which have not been set yet)

2025-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120960 --- Comment #3 from GCC Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:f555ee597ac4fa522da798e9c6a966903a5b7113 commit r16-2071-gf555ee597ac4fa522da798e9c6a966903a5b7113 Author: Martin Jambor Date: M

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

2025-07-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 Sam James changed: What|Removed |Added Attachment #61749|0 |1 is obsolete|

[Bug cobol/120730] parse.cc doesn't compile with bison 3.5.1

2025-07-07 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120730 James K. Lowden changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug cobol/119331] cobol: unimplemented exceptions abort compilation - even if requested to NOT use them

2025-07-07 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119331 --- Comment #3 from James K. Lowden --- This patch awaits work on the command-line interface for warnings and options. As of now, ECs can be turns on and off via CDF, but can be enabled only via the command-line. That puts the compiler in compl

[Bug target/120922] [16 Regression] RISC-V: ICE during GIMPLE pass: vect in verify_range with -mrvv-max-lmul=m8

2025-07-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120922 Jeffrey A. Law changed: What|Removed |Added Last reconfirmed||2025-07-07 Ever confirmed|0

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

2025-07-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120930 Jeffrey A. Law changed: What|Removed |Added Last reconfirmed||2025-07-07 Ever confirmed|0

[Bug middle-end/120987] [14/15/16 regression] gdb build with lto triggers use after free since r14-5831-gaae723d360ca26

2025-07-07 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120987 --- Comment #9 from Martin Jambor --- (In reply to Andrew Pinski from comment #6) > I suspect this just exposes the latent issue. This pushes for more SRA on > some arguments. Specifically those where ipa-modref says it is safe - that can be be

[Bug fortran/120958] tree-sra "miscompiles" asynchronous MPI (mpi_irecv) in Fortran 77 because of wrong fnspec

2025-07-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120958 --- Comment #8 from anlauf at gcc dot gnu.org --- (In reply to Martin Jambor from comment #7) > (In reply to kargls from comment #5) > > > > So, if I understand, you want an fnspec of ". . w w w w w w w". > > Can you show f->sym and f->sym-attr

[Bug middle-end/120987] [14/15/16 regression] gdb build with lto triggers use after free since r14-5831-gaae723d360ca26

2025-07-07 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120987 --- Comment #8 from Tom de Vries --- (In reply to Andrew Pinski from comment #7) > Question does it just happen on x86_64-linux-gnu or can it be reproduce on > aarch64-linux-gnu or powerpc64-linux-gnu too? Reproduced on Fedora Linux Asahi Remix

[Bug target/120888] [16 regression] promotion of unsigned char and short function arguments sign extends them since r16-170-ga670ebde3995

2025-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120888 --- Comment #8 from GCC Commits --- The master branch has been updated by Max Filippov : https://gcc.gnu.org/g:2a6ac385076a0d43a529e84e7f7ebcbfc3831437 commit r16-2069-g2a6ac385076a0d43a529e84e7f7ebcbfc3831437 Author: H.J. Lu Date: Tue Jul

[Bug c++/120243] [15/16 Regression] Exception rethrown from coroutine promise type unhandled_exception not caught under -O1

2025-07-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120243 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #8

[Bug driver/120985] Possible memory leak in read_specs at gcc.cc

2025-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120985 --- Comment #3 from Andrew Pinski --- (In reply to Richard Biener from comment #2) > It's also a short-lived and small binary, not worth the trouble of fixing > (and making the code more complicated because it's largely C and obstacks > and manu

[Bug middle-end/120987] [14/15/16 regression] gdb build with lto triggers use after free since r14-5831-gaae723d360ca26

2025-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120987 Andrew Pinski changed: What|Removed |Added Target||x86_64-linux-gnu --- Comment #7 from An

[Bug lto/120987] [14/15/16 regression] gdb build with lto triggers use after free since r14-5831-gaae723d360ca26

2025-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120987 Andrew Pinski changed: What|Removed |Added Keywords||needs-reduction --- Comment #6 from And

[Bug go/120670] vector_loop caused FAIL: go.test/test/fixedbugs/issue13160.go execution, -O2 -g

2025-07-07 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120670 --- Comment #6 from Ian Lance Taylor --- FYI I'm going to shortly commit a patch to change to always use C code when clearing memory. It seems like the only reliable way to avoid the possible use of "rep stosb", which is valid for C but not alwa

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

2025-07-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120917 --- Comment #25 from Jason Merrill --- (In reply to Frank Heckenbach from comment #24) > auto f (S ); Right, this is one of the cases fixed for GCC 16 by my commit above.

[Bug tree-optimization/117385] Move phiopt away from doing a COND_EXPR with a comparison as first operand

2025-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117385 --- Comment #7 from Andrew Pinski --- Note fold_build_cond_expr in tree-ifconv.cc also does this same thing. Though in that case we won't need the comparison afterwards.

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

2025-07-07 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120917 --- Comment #24 from Frank Heckenbach --- (In reply to Jason Merrill from comment #23) > > Then yes, it does look like it should work; libstdc++ uses that 'requires > function call' pattern in > > template > concept __is_derived_from_opt

[Bug tree-optimization/120929] [16 Regression] file-5.45 triggers _FORTIFY_SOURCE false positives since r16-1905-g7165ca43caf470

2025-07-07 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120929 --- Comment #23 from qinzhao at gcc dot gnu.org --- (In reply to Siddhesh Poyarekar from comment #21) > (In reply to Richard Biener from comment #20) > > so for > > > > _1 = _2; > > > > we merge from _2. For > > > > _1 = *_2; > > > > we _a

[Bug c++/120989] Shouldn't warn about the use of deprecated non-static data members in implicit special member functions

2025-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120989 Andrew Pinski changed: What|Removed |Added Depends on||106847 --- Comment #1 from Andrew Pinsk

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

2025-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120817 --- Comment #20 from GCC Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:4b9f760c511a4ef3a390dd6cfab80bada57c2535 commit r16-2067-g4b9f760c511a4ef3a390dd6cfab80bada57c2535 Author: Tamar Christina Date

[Bug libstdc++/60662] simple use of call_once throws a system_error exception, but not if sleep_for is called beforehand

2025-07-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60662 --- Comment #8 from Sam James --- (In reply to Antoine Pitrou from comment #7) For cases like this, a new bug is best, as it's not always the exact same issue, and in any case is harder to miss in a new bug.

[Bug libstdc++/60662] simple use of call_once throws a system_error exception, but not if sleep_for is called beforehand

2025-07-07 Thread pitrou at free dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60662 Antoine Pitrou changed: What|Removed |Added CC||pitrou at free dot fr --- Comment #7 fr

[Bug c/120978] Punctuators that contain # or %: are incorrectly rejected within attributes

2025-07-07 Thread corentinjabot at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120978 corentinjabot at gmail dot com changed: What|Removed |Added CC||corentinjabot at gmail d

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

2025-07-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120917 --- Comment #23 from Jason Merrill --- (In reply to Frank Heckenbach from comment #21) > So my question stands. Then yes, it does look like it should work; libstdc++ uses that 'requires function call' pattern in template concept __is_der

[Bug c++/119498] Incompatible FMV functions not diagnosed

2025-07-07 Thread alfierichards at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119498 Alfie Richards changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/119498] Incompatible FMV functions not diagnosed

2025-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119498 --- Comment #1 from GCC Commits --- The master branch has been updated by Alfie Richards : https://gcc.gnu.org/g:5abac04ffc7cc877ff5e1fa6562923b7b05b8289 commit r16-2066-g5abac04ffc7cc877ff5e1fa6562923b7b05b8289 Author: Alfie Richards Date:

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

2025-07-07 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120917 --- Comment #21 from Frank Heckenbach --- (In reply to Jason Merrill from comment #20) > (In reply to Frank Heckenbach from comment #18) > > So, could this be a viable workaround? > > If you're going to modify your code to address this, it seem

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

2025-07-07 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120917 --- Comment #22 from Frank Heckenbach --- (In reply to Frank Heckenbach from comment #21) > (In reply to Jason Merrill from comment #20) > > (In reply to Frank Heckenbach from comment #18) > > > So, could this be a viable workaround? > > > > If

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

2025-07-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120917 Jason Merrill changed: What|Removed |Added Status|RESOLVED|ASSIGNED Last reconfirmed|

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

2025-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120917 --- Comment #19 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:8abc2e66be72a34db8c3cc97e4fbd90b7abae61d commit r16-2065-g8abc2e66be72a34db8c3cc97e4fbd90b7abae61d Author: Jason Merrill Date: W

[Bug c++/120989] New: Shouldn't warn about the use of deprecated non-static data members in implicit special member functions

2025-07-07 Thread iamsupermouse at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120989 Bug ID: 120989 Summary: Shouldn't warn about the use of deprecated non-static data members in implicit special member functions Product: gcc Version: 14.2.1 Status: UNCO

[Bug tree-optimization/120903] Alias information not used to optimize out hand-written buffer aliasing checks

2025-07-07 Thread andreser-gccbugs at mit dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120903 andreser-gccbugs at mit dot edu changed: What|Removed |Added CC||andreser-gccbugs at mit

[Bug libstdc++/117214] chrono format error for time point using %c: D_T_FMT cannot be directly used as chrono-specs

2025-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117214 --- Comment #10 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:8ad5968a8dcb472cbff8e4c48217fd65e125b2f2 commit r16-2063-g8ad5968a8dcb472cbff8e4c48217fd65e125b2f2 Author: XU Kailiang Date:

[Bug c++/120988] -Wconversion warning for uint /= ulong makes no sense

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

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

2025-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #33 from Richard Biener --- Something like the following might be a testcase, needs -fno-tree-sra but it fails to demonstrate the particular sub-field layout for Y. struct X { int *p; int *q; }; struct Y { struct X a; struct { unsig

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

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

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

2025-07-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120817 --- Comment #19 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:439b14e222571da76da2bfec04b9035fb9f1862d commit r16-2062-g439b14e222571da76da2bfec04b9035fb9f1862d Author: Richard Biener Date:

Mail delivery failed: returning message to sender

2025-07-07 Thread Mail Delivery System via Gcc-bugs
This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: connorweston...@yahoo.com host cleanserver.mxserver.ro [89.44.139.128] SMTP err

[Bug target/120977] [16 Regression] ICE on Cortex-M23/M33/M55/M85 with -mcmse

2025-07-07 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120977 --- Comment #2 from Torbjorn SVENSSON --- (In reply to Christophe Lyon from comment #1) > I suppose you all the regressions we also reported in > https://linaro.atlassian.net/browse/GNU-1596 ? Looks like it's the same regression yes.

[Bug c++/120988] New: -Wconversion warning for uint /= ulong makes no sense

2025-07-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120988 Bug ID: 120988 Summary: -Wconversion warning for uint /= ulong makes no sense Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal

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

2025-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #32 from Richard Biener --- Hmm, or rather the logic is fine, there's simply no field at that offset in the set of RHS constraints. There's the missing field $21 = {id = 30, is_artificial_var = 0, is_special_var = 0, is_unknown_

[Bug c++/120955] [15/16 Regression] 50 % increase in data segment size on avr-gcc for -Os

2025-07-07 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120955 --- Comment #8 from fiesh at zefix dot tv --- No, I deactivated lto completely.

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

2025-07-07 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 Last reconfirmed|2025-05-19 00:00:00 |2025-07-07 Ever confirmed|0

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

2025-07-07 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #30 from Alexander Monakov --- Forgot to mention that the offending match.pd rule is /* Simplify pointer equality compares using PTA. */ (for neeq (ne eq) (simplify (neeq @0 @1) (if (POINTER_TYPE_P (TREE_TYPE (@0)) && p

[Bug lto/120987] [14/15/16 regression] gdb build with lto triggers use after free since r14-5831-gaae723d360ca26

2025-07-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120987 Sam James changed: What|Removed |Added CC||jamborm at gcc dot gnu.org See Al

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

2025-07-07 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #29 from Alexander Monakov --- The above is bisectable on the 'match' dbgcnt, which ends on this transform in vrp1: Folding statement: if (e_137 != n_142) Registering value_relation (e_137 != n_142) on (33->35) Registering value_r

[Bug target/55212] [SH] Switch to LRA

2025-07-07 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #460 from John Paul Adrian Glaubitz --- Oleg, would it make sense to rebase your branch on git.gcc.org with master, add all the tests from your tree on Github and then bootstrap gcc natively to run the full testsuite to see whether an

[Bug lto/120987] gdb build with lto triggers use after free

2025-07-07 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120987 --- Comment #4 from Tom de Vries --- The problem scenario is as follows. An error is thrown in symtabs_from_filename: ... throw_error (NOT_FOUND_ERROR, _("No symbol table is loaded. " "Use th

[Bug target/120977] [16 Regression] ICE on Cortex-M23/M33/M55/M85 with -mcmse

2025-07-07 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120977 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org

[Bug lto/120987] gdb build with lto triggers use after free

2025-07-07 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120987 --- Comment #3 from Tom de Vries --- The investigation in the gdb PR has identified a range of bad commits. First bad commit: - commit aae723d360c ("sra: SRA of non-escaped aggregates passed by reference to calls") First good commit after fi

[Bug lto/120987] gdb build with lto triggers use after free

2025-07-07 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120987 --- Comment #2 from Tom de Vries --- Workaround: ... diff --git a/gdb/linespec.c b/gdb/linespec.c index b59c0553c34..46b25a0047d 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -2615,7 +2615,7 @@ parse_linespec (linespec_parser *parser, cons

[Bug target/120986] ICE when expanding svdot_lane_fpm intrinsic with compile time know FPMR

2025-07-07 Thread alfierichards at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120986 --- Comment #2 from Alfie Richards --- Final reproducer: ```c #include svfloat16_t test (svfloat16_t a, svmfloat8_t b, svmfloat8_t c) { return svdot_lane_fpm (a, b, c, 0, 0); } ``` Compiled with `-O2 -march=armv8-a+sve2+fp8dot2`

[Bug lto/120987] gdb build with lto triggers use after free

2025-07-07 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120987 --- Comment #1 from Tom de Vries --- Created attachment 61812 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61812&action=edit valgrind log

[Bug lto/120987] New: gdb build with lto triggers use after free

2025-07-07 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120987 Bug ID: 120987 Summary: gdb build with lto triggers use after free Product: gcc Version: 14.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto

[Bug target/120986] ICE when expanding svcreate2 intrinsic with compile time know FPMR

2025-07-07 Thread alfierichards at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120986 --- Comment #1 from Alfie Richards --- Improved reproducer (https://godbolt.org/z/axcc4vzxn)

[Bug libstdc++/120976] error: static_assert( !is_same_v<__float128, long double> failed

2025-07-07 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120976 --- Comment #7 from Tomasz Kamiński --- The issue should be addressed now.

[Bug driver/120985] Possible memory leak in read_specs at gcc.cc

2025-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120985 Richard Biener changed: What|Removed |Added Keywords||memory-hog --- Comment #2 from Richard

  1   2   >