[Bug c/121257] New: vla-larger-than warns for negative sizes

2025-07-26 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121257 Bug ID: 121257 Summary: vla-larger-than warns for negative sizes Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/121219] [16 regression] Coroutine `operator new` heap-use-after-free on trunk (16.0), regression from 15.1

2025-07-26 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121219 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2025-07-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121256 --- Comment #1 from Sam James --- (In reply to Sam James from comment #0) > ``` > $ gcc huffyuvenc.c -O1 -march=znver2 -o huffyuvenc > $ ./huffyuvenc > Aborted(core dumped) ./huffyuvenc Sorry, it's fine at -O1, fails at -O2.

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

2025-07-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121256 Sam James changed: What|Removed |Added Target Milestone|--- |13.5

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

2025-07-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121256 Bug ID: 121256 Summary: [13/14/15/16 regression] ffmpeg miscompiled with -O2 -march=znver2 Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug c++/121255] ICE after declaring both return_void and return_value in coroutine promise type

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

[Bug c++/121255] ICE after declaring both return_void and return_value in coroutine promise type

2025-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121255 --- Comment #4 from Andrew Pinski --- Confirmed. We started to ICE with this code after the commit to reject this (PR 97438).

[Bug c++/97438] [accepts-invalid] coroutines accepts prmomise type with both return_value() and return_void()

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

[Bug c++/121255] ICE after declaring both return_void and return_value in coroutine promise type

2025-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121255 --- Comment #3 from Andrew Pinski --- Created attachment 61975 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61975&action=edit testcase

[Bug c++/121255] I got an internal compiler error while using the coroutine

2025-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121255 --- Comment #2 from Andrew Pinski --- Yes removing return_void fixes the ICE.

[Bug c++/121255] I got an internal compiler error while using the coroutine

2025-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121255 --- Comment #1 from Andrew Pinski --- I suspect if you fix the first error: ``` : In function 'Generator countdown(int)': :68:16: error: the coroutine promise type 'std::__n4861::__coroutine_traits_impl, void>::promise_type' {aka 'Generator::pro

[Bug c++/121255] New: I got an internal compiler error while using the coroutine

2025-07-26 Thread q1210081098 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121255 Bug ID: 121255 Summary: I got an internal compiler error while using the coroutine Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c++/121238] `-fmodules` causes invalid runtime exceptions with `std::format`

2025-07-26 Thread rohan at rohanlean dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121238 --- Comment #5 from Rohan Lean --- I meant diffing the objdumps. Unfortunately that does not work directly because many globals have a different location, so that too many lines have changed; the module version is also larger. I am not sure if

[Bug middle-end/120855] [16 Regression] Recent changes causing ICE in assemble_name_resolve since r16-1738

2025-07-26 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120855 Nathaniel Shead changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/120855] [16 Regression] Recent changes causing ICE in assemble_name_resolve since r16-1738

2025-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120855 --- Comment #4 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:4a8fd4a8ee3f83c330deb0dd494b27f66a748fb5 commit r16-2559-g4a8fd4a8ee3f83c330deb0dd494b27f66a748fb5 Author: Nathaniel Shead Date:

[Bug c++/121238] `-fmodules` causes invalid runtime exceptions with `std::format`

2025-07-26 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121238 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug c++/121254] [modules] Specialization for std::formatter in a module causes std::format to throw error during parse

2025-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121254 --- Comment #1 from Andrew Pinski --- I am almost positive this is the same underlying issue as pr 121238.

[Bug c++/121254] New: [modules] Specialization for std::formatter in a module causes std::format to throw error during parse

2025-07-26 Thread omerfaruko at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121254 Bug ID: 121254 Summary: [modules] Specialization for std::formatter in a module causes std::format to throw error during parse Product: gcc Version: 16.0 Status: UNCONFI

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-26 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #41 from Mikael Morin --- (In reply to Jürgen Reuter from comment #40) > (In reply to Mikael Morin from comment #38) > > (In reply to Jürgen Reuter from comment #37) > > > (In reply to Mikael Morin from comment #36) > > > > Created a

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-26 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #40 from Jürgen Reuter --- (In reply to Mikael Morin from comment #38) > (In reply to Jürgen Reuter from comment #37) > > (In reply to Mikael Morin from comment #36) > > > Created attachment 61968 [details] > > > Corrected third fix

[Bug target/121095] [15 Regression] Possibly unnecessary PRE pass on aarch64 for fpmr

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

[Bug target/120119] [15 Regression] GCC 15.1.0 ICEs (segfaults) compiling VK-GL-CTS on aarch64 with -O2 -mcpu=cortex-a57 since r15-5422

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

[Bug target/121095] [15 Regression] Possibly unnecessary PRE pass on aarch64 for fpmr

2025-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121095 --- Comment #9 from GCC Commits --- The releases/gcc-15 branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:b26588f0cb42a6a37ad7c303e61b23f471758e0c commit r15-10073-gb26588f0cb42a6a37ad7c303e61b23f471758e0c Author: Andrew Pinski

[Bug target/120119] [15 Regression] GCC 15.1.0 ICEs (segfaults) compiling VK-GL-CTS on aarch64 with -O2 -mcpu=cortex-a57 since r15-5422

2025-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120119 --- Comment #15 from GCC Commits --- The releases/gcc-15 branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:e34c0fee14670a93f84a21afb63dc66a19ffb988 commit r15-10072-ge34c0fee14670a93f84a21afb63dc66a19ffb988 Author: Andrew Pinski

[Bug fortran/121203] Incorrect result when character functions are passed as arguments to a subroutine

2025-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121203 --- Comment #6 from GCC Commits --- The releases/gcc-15 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:4cb9e69bf843d0102de14050e3b59b3475f111b1 commit r15-10071-g4cb9e69bf843d0102de14050e3b59b3475f111b1 Author: Harald Anlauf

[Bug target/121027] [14 Regression] ICE with BF16 and SVE at -O2 -msve-vector-bits=256

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

[Bug target/121027] [14 Regression] ICE with BF16 and SVE at -O2 -msve-vector-bits=256

2025-07-26 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121027 --- Comment #10 from Richard Sandiford --- Fixed. I backported both r15-4111-g4fd473f66faf5bd95c84fe5c0fa41be735a7c09f and the trunk fix for the code quality regression.

[Bug target/118891] [14 regression] gcc 14 fails to build from source on aarch64_be: "error: ‘dynamic_cast’ not permitted with ‘-fno-rtti’"

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

[Bug target/121027] [14 Regression] ICE with BF16 and SVE at -O2 -msve-vector-bits=256

2025-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121027 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:86ecf3e5832a3fd1fc0ecfbb03e91ca8e6aa806e commit r14-11912-g86ecf3e5832a3fd1fc0ecfbb03e91ca8e6aa806e Author: Richard Sa

[Bug target/121027] [14 Regression] ICE with BF16 and SVE at -O2 -msve-vector-bits=256

2025-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121027 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:43f59fcd1e33fc98adc5ff70ac82cc16f77b9ab4 commit r14-11913-g43f59fcd1e33fc98adc5ff70ac82cc16f77b9ab4 Author: Richard Sa

[Bug target/118891] [14 regression] gcc 14 fails to build from source on aarch64_be: "error: ‘dynamic_cast’ not permitted with ‘-fno-rtti’"

2025-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118891 --- Comment #33 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:7ff0631724d3332b21dc0b0adef93adc8c8cfff2 commit r14-11911-g7ff0631724d3332b21dc0b0adef93adc8c8cfff2 Author: Richard S

[Bug target/118891] [14 regression] gcc 14 fails to build from source on aarch64_be: "error: ‘dynamic_cast’ not permitted with ‘-fno-rtti’"

2025-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118891 --- Comment #32 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:d755d8107d336ca1a5805370fb6c5fb4df2c5da4 commit r14-11909-gd755d8107d336ca1a5805370fb6c5fb4df2c5da4 Author: Richard S

[Bug c++/121238] `-fmodules` causes invalid runtime exceptions with `std::format`

2025-07-26 Thread rohan at rohanlean dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121238 --- Comment #3 from Rohan Lean --- (In reply to Patrick Palka from comment #2) > My few attempts at reducing this testcase further via cvise resulted in > non-deterministically buggy code (where in non-modules mode the testcase > would unreliabl

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

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

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

2025-07-26 Thread nate at thatsmathematics dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121253 --- Comment #1 from Nate Eldredge --- Input operands, as well as read-write `+` operands, seem to be allocated correctly.

[Bug target/121253] New: aarch64 inline asm: 128-bit output operands use clobbered registers

2025-07-26 Thread nate at thatsmathematics dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121253 Bug ID: 121253 Summary: aarch64 inline asm: 128-bit output operands use clobbered registers Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/121238] `-fmodules` causes invalid runtime exceptions with `std::format`

2025-07-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121238 --- Comment #2 from Patrick Palka --- (In reply to Patrick Palka from comment #1) > Confirmed, thanks for the short reproducer. Reducing via cvise.. My few attempts at reducing this testcase further via cvise resulted in non-deterministically bu

[Bug tree-optimization/108667] Spurious "may be used uninitialized [-Wmaybe-uninitialized]" warning

2025-07-26 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108667 Jean-Michaël Celerier changed: What|Removed |Added CC||jeanmichael.celerier@gmail.

[Bug modula2/121164] [15 Regression] Modula 2 build failure

2025-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121164 --- Comment #9 from GCC Commits --- The releases/gcc-15 branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:f9773b1c21188e0aaf60bea1a90808aee57fa16d commit r15-10069-gf9773b1c21188e0aaf60bea1a90808aee57fa16d Author: Gaius Mulley D

[Bug c++/121244] Wsfinae-incomplete very unhelpfull and probably false positives

2025-07-26 Thread linux at carewolf dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121244 --- Comment #2 from Allan Jensen --- Sure, I skipped the preprocessed sources because I thought the real problem was not listing the failed instantiations when encountering a situation causing the warning at default level. I can add them, though