[Bug libstdc++/120481] New: Incorrect format result for using specifier with multi-digit month, day or weekday

2025-05-30 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120481 Bug ID: 120481 Summary: Incorrect format result for using specifier with multi-digit month, day or weekday Product: gcc Version: 15.0 Status: UNCONFIRMED Sever

[Bug libstdc++/120481] Incorrect format result for using specifier with multi-digit month, day or weekday

2025-05-30 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120481 --- Comment #2 from Tomasz Kamiński --- For weekday, we could also consider printing !ok() values unmodified. They always will be greater than 7, so there is no confusion in the output.

[Bug libstdc++/120481] Incorrect format result for using specifier with multi-digit month, day or weekday

2025-05-30 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120481 Tomasz Kamiński changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/120355] [15/16 Regression] Type mismatch for passed external function, if external function appears in the same source file

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120355 --- Comment #3 from GCC Commits --- The master branch has been updated by Thomas Koenig : https://gcc.gnu.org/g:0e77309047a7b479c89f03dcaf2994e050d0f33e commit r16-1003-g0e77309047a7b479c89f03dcaf2994e050d0f33e Author: Thomas Koenig Date: F

[Bug fortran/120355] [15 Regression] Type mismatch for passed external function, if external function appears in the same source file

2025-05-30 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120355 Thomas Koenig changed: What|Removed |Added Summary|[15/16 Regression] Type |[15 Regression] Type

[Bug libstdc++/104928] std::counting_semaphore on Linux can sleep forever

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

[Bug target/120480] [13 Regression] ICE: could not split insn

2025-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120480 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-05-30 Status|UNCONFIRM

[Bug tree-optimization/120341] [12/13/14/15 Regregression] wrong code at -O1 and above with "-fallow-store-data-races" on x86_64-linux-gnu

2025-05-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120341 Richard Biener changed: What|Removed |Added Known to work||16.0 Summary|[15/16 Regregr

[Bug tree-optimization/120341] [15/16 Regregression] wrong code at -O1 and above with "-fallow-store-data-races" on x86_64-linux-gnu

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120341 --- Comment #5 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:02c58bc4b0885f5b6f50033da35768ebe6c4a030 commit r16-1012-g02c58bc4b0885f5b6f50033da35768ebe6c4a030 Author: Richard Biener Date:

[Bug tree-optimization/120357] [14/15/16 Regression] ICE in vect "error: definition in block 9 does not dominate use in block 3" with early break

2025-05-30 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120357 --- Comment #9 from Tamar Christina --- (In reply to Richard Biener from comment #8) > The following fixes this. I'm not 100% convinced but it does seem "obvious" > (but for the "peeled" case we seem to eventually create duplicate COND > reduct

[Bug libstdc++/104928] std::counting_semaphore on Linux can sleep forever

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

[Bug testsuite/120457] [16 Regression] gcc.dg/vect/pr79920.c fail starting with r16-924-g1bc5b47f5b06dc

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

[Bug target/120480] [13 Regression] ICE: could not split insn

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

[Bug libstdc++/88322] Implement C++20 library features.

2025-05-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88322 Bug 88322 depends on bug 104928, which changed state. Bug 104928 Summary: std::counting_semaphore on Linux can sleep forever https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104928 What|Removed |Added --

[Bug target/120480] [13 Regression] ICE: could not split insn

2025-05-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
inition -version -fbuilding-libgcc -fno-stack-protector -fPIC -o decNumber.s GNU C17 (SUSE Linux) version 13.3.1 20250530 [revision 03ae1212a94a8800f0dbc6a3df9bf557a93c63b8] (s390x-suse-linux) compiled by GNU C version 14.3.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl

[Bug target/120480] [13 Regression] ICE: could not split insn

2025-05-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120480 --- Comment #3 from Richard Biener --- It's caused by r13-9726-gaf73c8bf516884

[Bug rtl-optimization/111901] Apparently bogus CSE of inline asm with memory clobber

2025-05-30 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111901 --- Comment #15 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #13) > (In reply to Eric Botcazou from comment #12) > > > So what about just marking inline asms with memory clobber as having side > > effects? > I guess this would wor

[Bug gcov-profile/120478] Line coverage gets multiplied by a factor when invoking inline functions

2025-05-30 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120478 --- Comment #1 from Wentao Zhang --- Another reduced input from lzo2: __inline__ __attribute__((__always_inline__)) int foo(int x) { return 0; } int main(void) { int a = 0, b = 0; for (int i = 0; i < 42; i++) { foo(a+1) + foo(1

[Bug modula2/120389] Assigning a CHAR to an INTEGER crashes the compiler

2025-05-30 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120389 --- Comment #4 from Gaius Mulley --- Created attachment 61551 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61551&action=edit Improved proposed fix This patch type checks lvalues within the becomes op. It also rewrites and tidies up the

[Bug rtl-optimization/111901] Apparently bogus CSE of inline asm with memory clobber

2025-05-30 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111901 --- Comment #12 from Eric Botcazou --- > Later in the compilation pipeline, DCE removes insns 6 and 8 as dead code, > leaving: > > _.c.331r.cmpelim: > >10: {x1:SI=asm_operands;clobber [scratch];} >12: {x3:SI=asm_operands;clobber [scrat

[Bug fortran/120193] Incorrect debug info for unsigned(kind=1) and unsigned(kind=4)

2025-05-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120193 --- Comment #4 from Jakub Jelinek --- You mean before 15.2? I guess I could.

[Bug fortran/120193] Incorrect debug info for unsigned(kind=1) and unsigned(kind=4)

2025-05-30 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120193 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug c/120353] Flex array struct referenced in the middle via type alias of forward declaration is not reported by -Wflex-array-member-not-at-end option

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120353 --- Comment #3 from GCC Commits --- The master branch has been updated by Qing Zhao : https://gcc.gnu.org/g:f37c5f1d88c9da17f16cdb33e7c9d43e4bb5f64d commit r16-1017-gf37c5f1d88c9da17f16cdb33e7c9d43e4bb5f64d Author: Qing Zhao Date: Wed May 2

[Bug c/120354] Flexible array union in the middle is not reported by -Wflex-array-member-not-at-end option when flexible array member is not the last one

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120354 --- Comment #4 from GCC Commits --- The master branch has been updated by Qing Zhao : https://gcc.gnu.org/g:70418e6c0120cfce33ab69628602dfdadbed683a commit r16-1018-g70418e6c0120cfce33ab69628602dfdadbed683a Author: Qing Zhao Date: Thu May 2

[Bug target/120347] [15/16 regression] invalid arm32/thumb assembly output

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120347 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:e322dff09d011f65f5cae4e95c3a24ccfae7b1e1 commit r16-984-ge322dff09d011f65f5cae4e95c3a24ccfae7b1e1 Author: Richard Sandiford Dat

[Bug target/120479] New: missed opportunity to generate czero.nez

2025-05-30 Thread bonzini at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120479 Bug ID: 120479 Summary: missed opportunity to generate czero.nez Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug target/120459] RISC-V: redundant addi

2025-05-30 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120459 Robin Dapp changed: What|Removed |Added CC||rdapp at gcc dot gnu.org --- Comment #2 fr

[Bug libstdc++/98749] No precondition checks in , and

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98749 --- Comment #4 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ef632273a90657acb45e89df12bce9e96035f52c commit r16-997-gef632273a90657acb45e89df12bce9e96035f52c Author: Jonathan Wakely Date:

[Bug libstdc++/118395] Constructor of std::barrier is not constexpr

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118395 --- Comment #5 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ef632273a90657acb45e89df12bce9e96035f52c commit r16-997-gef632273a90657acb45e89df12bce9e96035f52c Author: Jonathan Wakely Date:

[Bug libstdc++/118494] std::counting_semaphore should work

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118494 --- Comment #2 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3e9fff1b7f9a31e6bc635880b09cbc32f8be353d commit r16-999-g3e9fff1b7f9a31e6bc635880b09cbc32f8be353d Author: Jonathan Wakely Date:

[Bug libstdc++/110854] constructor of std::counting_semaphore is not constexpr

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110854 --- Comment #6 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3e9fff1b7f9a31e6bc635880b09cbc32f8be353d commit r16-999-g3e9fff1b7f9a31e6bc635880b09cbc32f8be353d Author: Jonathan Wakely Date:

[Bug libstdc++/98749] No precondition checks in , and

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98749 --- Comment #5 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3e9fff1b7f9a31e6bc635880b09cbc32f8be353d commit r16-999-g3e9fff1b7f9a31e6bc635880b09cbc32f8be353d Author: Jonathan Wakely Date:

[Bug libstdc++/110854] constructor of std::counting_semaphore is not constexpr

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

[Bug libstdc++/88322] Implement C++20 library features.

2025-05-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88322 Bug 88322 depends on bug 110854, which changed state. Bug 110854 Summary: constructor of std::counting_semaphore is not constexpr https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110854 What|Removed |Added -

[Bug libstdc++/108974] std::barrier accepts completion function which is not manifestly noexcept

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108974 --- Comment #8 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ef632273a90657acb45e89df12bce9e96035f52c commit r16-997-gef632273a90657acb45e89df12bce9e96035f52c Author: Jonathan Wakely Date:

[Bug rtl-optimization/111901] Apparently bogus CSE of inline asm with memory clobber

2025-05-30 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111901 --- Comment #13 from Uroš Bizjak --- (In reply to Eric Botcazou from comment #12) > So what about just marking inline asms with memory clobber as having side > effects? I guess this would work, the compiler must preserve side effects when optim

[Bug libstdc++/88322] Implement C++20 library features.

2025-05-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88322 Bug 88322 depends on bug 118494, which changed state. Bug 118494 Summary: std::counting_semaphore should work https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118494 What|Removed |Added -

[Bug libstdc++/99995] [12/13/14/15 Regression] should not include in c++20 mode

2025-05-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 Jonathan Wakely changed: What|Removed |Added Summary|[12/13/14/15/16 Regression] |[12/13/14/15 Regression]

[Bug libstdc++/98749] No precondition checks in , and

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

[Bug libstdc++/118395] Constructor of std::barrier is not constexpr

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

[Bug libstdc++/118494] std::counting_semaphore should work

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

[Bug libstdc++/108974] [DR 3898] std::barrier accepts completion function which is not manifestly noexcept

2025-05-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108974 Jonathan Wakely changed: What|Removed |Added Summary|std::barrier accepts|[DR 3898] std::barrier

[Bug libstdc++/88322] Implement C++20 library features.

2025-05-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88322 Bug 88322 depends on bug 118395, which changed state. Bug 118395 Summary: Constructor of std::barrier is not constexpr https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118395 What|Removed |Added

[Bug libstdc++/115955] atomic::wait _S_for uses a poor hash function

2025-05-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115955 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > Yes, this is a known limitation that will get fixed with the planned > refactoring of atomic::wait. The function that maps an address to a mutex has been mo

[Bug testsuite/120457] [16 Regression] gcc.dg/vect/pr79920.c fail starting with r16-924-g1bc5b47f5b06dc

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120457 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0291f53f8d2343ca0d39589ebffc31d9c328d6ab commit r16-1001-g0291f53f8d2343ca0d39589ebffc31d9c328d6ab Author: Richard Biener Date:

[Bug rtl-optimization/111901] Apparently bogus CSE of inline asm with memory clobber

2025-05-30 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111901 --- Comment #14 from Richard Sandiford --- ISTM that the problem is that cselib doesn't consider: (clobber (mem:BLK (scratch))) to be a read from memory (unlike note_uses, which gets this right). cselib instead assumes that the SET_SRC of t

[Bug target/120480] New: ICE: could not split insn

2025-05-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120480 Bug ID: 120480 Summary: ICE: could not split insn Product: gcc Version: 13.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Ass

[Bug target/120459] RISC-V: redundant addi

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

[Bug rtl-optimization/111901] Apparently bogus CSE of inline asm with memory clobber

2025-05-30 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111901 --- Comment #10 from Eric Botcazou --- Is it really invalid to perform CSE on val though?

[Bug sanitizer/120471] [12/13/14/15/16 regression] -fsanitize=undefined causes read of uninitialized variable when accessing element in an array at -O0 level

2025-05-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120471 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #9 from Richard Biener

[Bug tree-optimization/120477] arith_overflow_check_p has a special case for COND_EXPR but it is dead

2025-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120477 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-05-30 Status|UNCONFIRM

[Bug tree-optimization/120477] New: arith_overflow_check_p has a special case for COND_EXPR but it is dead

2025-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120477 Bug ID: 120477 Summary: arith_overflow_check_p has a special case for COND_EXPR but it is dead Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: interna

[Bug rtl-optimization/111901] Apparently bogus CSE of inline asm with memory clobber

2025-05-30 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111901 --- Comment #11 from Uroš Bizjak --- (In reply to Eric Botcazou from comment #10) > Is it really invalid to perform CSE on val though? Later in the compilation pipeline, DCE removes insns 6 and 8 as dead code, leaving: _.c.331r.cmpelim: 10

[Bug gcov-profile/120478] New: Line coverage gets multiplied by a factor when invoking inline functions

2025-05-30 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120478 Bug ID: 120478 Summary: Line coverage gets multiplied by a factor when invoking inline functions Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: norma

[Bug target/120480] [13 Regression] ICE: could not split insn

2025-05-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120480 --- Comment #5 from Richard Biener --- typedef struct { int digits; int emax; int emin } decContext; decContext decSetSubnormal_set; decSetSubnormal() { decContext worksetworkset = decSetSubnormal_set; } is a reduced testcase that fails w

[Bug rtl-optimization/111901] Apparently bogus CSE of inline asm with memory clobber

2025-05-30 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111901 --- Comment #16 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #15) > FTR, clobbers are already marked as having side effects: Oops, I got the logic wrong. Please disregard this comment.

[Bug target/120480] [13 Regression] ICE: could not split insn

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

[Bug target/120480] [13 Regression] ICE: could not split insn

2025-05-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120480 --- Comment #6 from Richard Biener --- Picking 22fe83d6fc9f59311241c981bcad58b61e2056d4 fixes the preprocessed source, I'm checking whether the cross build succeeds then.

[Bug libstdc++/88322] Implement C++20 library features.

2025-05-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88322 Bug 88322 depends on bug 104928, which changed state. Bug 104928 Summary: std::counting_semaphore on Linux can sleep forever https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104928 What|Removed |Added --

[Bug target/119298] [15/16 Regression] 538.imagick_r is faster when compiled with GCC 14.2 and -Ofast -flto -march=native than with master on Zen5 since r15-3441-g4292297a0f938f

2025-05-30 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119298 Jan Hubicka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/120193] Incorrect debug info for unsigned(kind=1) and unsigned(kind=4)

2025-05-30 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120193 --- Comment #5 from Thomas Koenig --- (In reply to Jakub Jelinek from comment #4) > You mean before 15.2? I guess I could. Yes, before 15.2 :-) Please do, it would be appreciated to have better debugging.

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

2025-05-30 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 119298, which changed state. Bug 119298 Summary: [15/16 Regression] 538.imagick_r is faster when compiled with GCC 14.2 and -Ofast -flto -march=native than with master on Zen5 since r15-3441-g4292297a0f938f https://gcc.g

[Bug c++/113563] Rejects capture of `this` in C++23 `this auto` lambda

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113563 --- Comment #16 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:611d59589d8c48db051b31e727d7f52910a4cbcd commit r16-1019-g611d59589d8c48db051b31e727d7f52910a4cbcd Author: Jason Merrill Date: F

[Bug fortran/114022] ICE with a complex part%ref and nested structure constructor of complex array.

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114022 --- Comment #2 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:490072b927dac2f57e541b0ee680896e23c5d998 commit r16-1020-g490072b927dac2f57e541b0ee680896e23c5d998 Author: Harald Anlauf Date: F

[Bug fortran/102599] Wrong simplification of inquiry parameters for complex arrays

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102599 --- Comment #3 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:490072b927dac2f57e541b0ee680896e23c5d998 commit r16-1020-g490072b927dac2f57e541b0ee680896e23c5d998 Author: Harald Anlauf Date: F

[Bug target/119610] [12 regression] aarch64: Wrong unwind info with -fstack-clash-protection -fstack-protector-strong since r14-3900-g3e4afea3b192c2

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119610 --- Comment #10 from GCC Commits --- The releases/gcc-12 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:e591109238fad430e94ae58f8f90b4bc9c8592a3 commit r12-8-ge591109238fad430e94ae58f8f90b4bc9c8592a3 Author: Richard S

[Bug ada/120463] Pb Doubled linked List

2025-05-30 Thread zzbard at wanadoo dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120463 --- Comment #1 from Dubois --- Created attachment 61555 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61555&action=edit Files necessary to reproduce the bug : sources code, obj, ali etc.., gpr & data files. No more comment.. You've [Gnat

[Bug c++/117785] [C++26] P3068R5 - constexpr exceptions

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

[Bug target/119610] [12 regression] aarch64: Wrong unwind info with -fstack-clash-protection -fstack-protector-strong since r14-3900-g3e4afea3b192c2

2025-05-30 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119610 Richard Sandiford changed: What|Removed |Added Known to work||12.4.1 Resolution|---

[Bug c++/113563] Rejects capture of `this` in C++23 `this auto` lambda

2025-05-30 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113563 --- Comment #15 from Jason Merrill --- (In reply to Nathaniel Shead from comment #14) > Created attachment 61550 [details] > pr113563 testcase > > I'd briefly started looking at this a while back and had written some tests, > but I'd gotten stu

[Bug fortran/102599] Wrong simplification of inquiry parameters for complex arrays

2025-05-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102599 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu

[Bug target/120423] ICE in avr-gcc extract_constrain_insn

2025-05-30 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120423 Georg-Johann Lay changed: What|Removed |Added Known to work||14.2.0 --- Comment #2 from Georg-Joh

[Bug fortran/114022] ICE with a complex part%ref and nested structure constructor of complex array.

2025-05-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114022 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|

[Bug target/106902] [12/13/14/15/16 Regression] Program compiled with -O3 -mfma produces different result

2025-05-30 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 --- Comment #39 from Alexander Monakov --- > I don't think we need any mass rebuilds there, I'm fine with approving > a change of the default now. The question is what to do for languages > other than C/C++, that complication might be a reason

[Bug c++/113563] Rejects capture of `this` in C++23 `this auto` lambda

2025-05-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113563 Patrick Palka changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=1

[Bug c++/119240] Lambda with an explicit object parameter disables further captures of `this`

2025-05-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119240 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|https://gcc

[Bug c/120381] [14/15/16 Regression] internal compiler error: in composite_type_internal, at c/c-typeck.cc:848

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120381 --- Comment #6 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:0e0f963bcfbfce351dd4aad82e6dbc6fc84a0724 commit r16-982-g0e0f963bcfbfce351dd4aad82e6dbc6fc84a0724 Author: Martin Uecker Date: Th

[Bug c/120381] [14/15 Regression] internal compiler error: in composite_type_internal, at c/c-typeck.cc:848

2025-05-30 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120381 uecker at gcc dot gnu.org changed: What|Removed |Added Summary|[14/15/16 Regression] |[14/15 Regression] internal

[Bug c++/113563] Rejects capture of `this` in C++23 `this auto` lambda

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

[Bug libstdc++/120481] Incorrect format result for using specifier with multi-digit month, day or weekday

2025-05-30 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120481 --- Comment #1 from Tomasz Kamiński --- Similar issue appears also for using '%w' and '%u' on the weekday that contains a 2 or 3 digit number: ``` std::cout << std::format("{:%w}", weekday(120)) << std::endl; // prints 8 std::cout << std::format

[Bug gcov-profile/120482] New: Line coverage for inline functions combine its different callers in inconsistent ways

2025-05-30 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120482 Bug ID: 120482 Summary: Line coverage for inline functions combine its different callers in inconsistent ways Product: gcc Version: 16.0 Status: UNCONFIRMED Se

[Bug target/120480] [13 Regression] ICE: could not split insn

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120480 --- Comment #11 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f4def864a27c41025bbed0d086fa4628921fec28 commit r14-11819-gf4def864a27c41025bbed0d086fa4628921fec28 Author: Jakub Jelinek

[Bug target/120480] [13 Regression] ICE: could not split insn

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

[Bug tree-optimization/119835] GCN, nvptx offloading: ICE 'during GIMPLE pass: nrv' in "return value optimizations for functions which return aggregate types"

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119835 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:543f7e1d59f0b6628e0de6610ad5e1cf7150090b commit r16-1006-g543f7e1d59f0b6628e0de6610ad5e1cf7150090b Author: Thomas Schwinge Date:

[Bug target/120480] [13 Regression] ICE: could not split insn

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120480 --- Comment #10 from GCC Commits --- The releases/gcc-15 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9fa1f93eb7e39ccabf39a45e89f1a35adcf1bf1f commit r15-9744-g9fa1f93eb7e39ccabf39a45e89f1a35adcf1bf1f Author: Jakub Jelinek

[Bug target/120447] [16 Regression] cpython fails to compile on AArch64 after r16-446-g210d06502f22964c7214586c54f8eb54a6965bfd

2025-05-30 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120447 ktkachov at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed|2025-05-27 00:00:00 |2025-5-30

[Bug target/120480] [13 Regression] ICE: could not split insn

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120480 --- Comment #12 from GCC Commits --- The releases/gcc-13 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ec78a0d9962f144b13c6da3ebec1f76c61a701d5 commit r13-9730-gec78a0d9962f144b13c6da3ebec1f76c61a701d5 Author: Jakub Jelinek

[Bug target/120459] RISC-V: redundant addi

2025-05-30 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120459 --- Comment #3 from Andreas Schwab --- Before sched2: (insn 2301 536 2302 9 (set (reg:DI 10 a0 [2652]) (plus:DI (reg/f:DI 2 sp) (const_int 2047 [0x7ff]))) "addi.cc":99:73 5 {adddi3} (nil)) (insn 2302 2301 1693 9 (set (r

[Bug c/120180] [OpenMP] ICE in C (c_parser_consume_token) / C++ cp_parser_skip_to_pragma_eol in error recovery for metadirective

2025-05-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120180 --- Comment #6 from GCC Commits --- The releases/gcc-15 branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:b368dd5de53fc981b5b20e2fd6d7de9116e82331 commit r15-9745-gb368dd5de53fc981b5b20e2fd6d7de9116e82331 Author: Sandra Loose

[Bug c++/118903] constexpr variables with co_await expression in its initialization expression

2025-05-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118903 Iain Sandoe changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug sanitizer/120475] vector is 60x slower with ASan detect_stack_use_after_return=1

2025-05-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120475 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.4

[Bug c++/118903] constexpr variables with co_await expression in its initialization expression

2025-05-30 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118903 Iain Sandoe changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug gcov-profile/120484] New: Wrong line coverage triggered by loop, else-clause, and variable declaration

2025-05-30 Thread wentaoz5 at illinois dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120484 Bug ID: 120484 Summary: Wrong line coverage triggered by loop, else-clause, and variable declaration Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: n

[Bug c++/120123] [12/13/14/15/16 Regression] Implicit this is not used in a requires clause in nested lambdas

2025-05-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120123 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/99832] std::chrono::system_clock::to_time_t needs ABI tag for 32-bit time_t

2025-05-30 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99832 --- Comment #16 from dave.anglin at bell dot net --- On 2025-05-29 3:41 p.m., redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99832 > > --- Comment #15 from Jonathan Wakely --- > I suppose another way to resolve thi

[Bug modula2/120389] Assigning a CHAR to an INTEGER crashes the compiler

2025-05-30 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120389 --- Comment #5 from Gaius Mulley --- Confirmed. Also this code provokes the bug: $ cat testxindr2.mod MODULE testxindr2 ; (*!m2iso+gm2*) CONST NulName = 0 ; TYPE Name = CARDINAL ; PROCEDURE set (VAR n: Name) ; BEGIN n := NulName EN

[Bug target/120447] [16 Regression] cpython fails to compile on AArch64 after r16-446-g210d06502f22964c7214586c54f8eb54a6965bfd

2025-05-30 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120447 --- Comment #5 from Tamar Christina --- I could be mistaken, but VNx4QI is a partial vector, so every QI element occupies 32-bits (so we'd use a widening load here). I'm not sure this operation is valid for partial vectors as it means you're ta

[Bug modula2/120389] Assigning a CHAR to an INTEGER crashes the compiler

2025-05-30 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120389 --- Comment #6 from Gaius Mulley --- When compiled with gm2 after the patch above has been applied, we get a clean compile. $ gm2 -c testxindr2.mod $ echo $? 0

[Bug fortran/120483] New: character(len=:), allocatable, save variable returns incorrect substring

2025-05-30 Thread peter at guentert dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120483 Bug ID: 120483 Summary: character(len=:), allocatable, save variable returns incorrect substring Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: nor

[Bug c++/120123] [12/13/14/15/16 Regression] Implicit this is not used in a requires clause in nested lambdas

2025-05-30 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120123 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

  1   2   >