[Bug c/116082] -Wunterminated-string-initialization should not warn about strings that end with "\0" but should warn still for -Wc++-compat

2025-04-25 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116082 --- Comment #6 from uecker at gcc dot gnu.org --- This is not about padding. The string literal has a final NUL character and yours then has two. The warning is about truncation of the final NUL character in the string literal. So I think the wa

[Bug fortran/119948] Source allocation of pure function result rejected

2025-04-25 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119948 --- Comment #2 from kargls at comcast dot net --- (In reply to Damian Rouson from comment #0) > > % gfortran -c source-allocate-pure-function-result-component.f90 > source-allocate-pure-function-result.f90:17:20: > >17 | allocate(test%i

[Bug tree-optimization/112307] Segmentation fault with -O1 -fcode-hoisting

2025-04-25 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112307 mcccs at gmx dot com changed: What|Removed |Added Attachment #61179|0 |1 is obsolete|

[Bug fortran/119948] Source allocation of pure function result rejected

2025-04-25 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119948 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug target/119949] New: -Wnarrowing in arm's comp_not_to_clear_mask_str_un

2025-04-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119949 Bug ID: 119949 Summary: -Wnarrowing in arm's comp_not_to_clear_mask_str_un Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: build Severity: normal Prio

[Bug target/119937] [15/16 Regression] ICE: Error detected at a-sttebu.ads:56:30

2025-04-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119937 --- Comment #5 from Sam James --- Lemme try repro.

[Bug cobol/119364] building a cobol cross compiler on i686-linux-gnu targeting x86_64-linux-gnu fails

2025-04-25 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119364 --- Comment #21 from Matthias Klose --- the attached patch doesn't apply anymore for the 15.1.0 release, and the build on i686 fails with In file included from ../../src/gcc/cobol/cdf.y:37: ../../src/gcc/cobol/../../libgcobol/common-defs.h:186:

[Bug target/119937] [15/16 Regression] ICE: Error detected at a-sttebu.ads:56:30

2025-04-25 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119937 --- Comment #4 from Matthias Klose --- a cross compiler targeting arm-linux-gnueabihf is built successful.

[Bug target/119937] [15/16 Regression] ICE: Error detected at a-sttebu.ads:56:30

2025-04-25 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119937 Matthias Klose changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug tree-optimization/119946] memset/memcpy with a null argument should be folded into `if (size_arg) __builtin_unreachable();`

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

[Bug fortran/119948] New: Source allocation of pure function result

2025-04-25 Thread damian at archaeologic dot codes via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119948 Bug ID: 119948 Summary: Source allocation of pure function result Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortra

[Bug c/116082] -Wunterminated-string-initialization should not warn about strings that end with "\0" but should warn still for -Wc++-compat

2025-04-25 Thread steffen at sdaoden dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116082 --- Comment #5 from Steffen Nurpmeso --- different to some other comments i think this is plain a bug in gcc. C99, 6.7.8 p21, and C23 is not different (here 6.7.10 p22; disclaimer: i have not truly read any standard beyond C99, though!!) want ``

[Bug c/116082] -Wunterminated-string-initialization should not warn about strings that end with "\0" but should warn still for -Wc++-compat

2025-04-25 Thread steffen at sdaoden dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116082 Steffen Nurpmeso changed: What|Removed |Added CC||steffen at sdaoden dot eu --- Commen

[Bug testsuite/119947] [16 regression] XPASS g++.dg/ipa/devirt-23.C

2025-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119947 --- Comment #3 from Andrew Pinski --- The xfail was added with r0-128999-gd74db8ff1c8f12 .

[Bug testsuite/119947] [16 regression] XPASS g++.dg/ipa/devirt-23.C since r16-101-g132d01d96ea9d6

2025-04-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119947 --- Comment #7 from Sam James --- (In reply to Sam James from comment #1) > But it seems to pass for me with the grep with GCC 14 as well? This ended up being because it is discovered in another pass and my grep was inaccurate.

[Bug ipa/60674] missed devirtualization in function called by destructor (g++.dg/ipa/devirt-23.C)

2025-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60674 --- Comment #3 from Andrew Pinski --- devirt-23.C started to pass with r16-101-g132d01d96ea9d6 . So just need to update the testcase removing the xfail and close this bug as fixed.

[Bug ipa/60674] missed devirtualization in function called by destructor (g++.dg/ipa/devirt-23.C)

2025-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60674 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > devirt-23.C started to pass with r16-101-g132d01d96ea9d6 . > > So just need to update the testcase removing the xfail and close this bug as > fixed. The reason

[Bug testsuite/119947] [16 regression] XPASS g++.dg/ipa/devirt-23.C since r16-101-g132d01d96ea9d6

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

[Bug ipa/60674] missed devirtualization in function called by destructor (g++.dg/ipa/devirt-23.C)

2025-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60674 Andrew Pinski changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #2

[Bug testsuite/119947] [16 regression] XPASS g++.dg/ipa/devirt-23.C since r16-101-g132d01d96ea9d6

2025-04-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119947 Sam James changed: What|Removed |Added CC||hubicka at gcc dot gnu.org Summa

[Bug testsuite/119947] [16 regression] XPASS g++.dg/ipa/devirt-23.C

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

[Bug testsuite/119947] [16 regression] XPASS g++.dg/ipa/devirt-23.C

2025-04-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119947 --- Comment #2 from Sam James --- (Paste got mangled, my grep was just "Discovered")

[Bug testsuite/119947] [16 regression] XPASS g++.dg/ipa/devirt-23.C

2025-04-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119947 --- Comment #1 from Sam James --- Seen at https://inbox.sourceware.org/gcc-testresults/20250425213822.d51602cc...@gnu-skx-1.sc.intel.com/T/#u too. But it seems to pass for me with the grep with GCC 14 as well?

[Bug testsuite/119947] New: [16 regression] XPASS g++.dg/ipa/devirt-23.C

2025-04-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119947 Bug ID: 119947 Summary: [16 regression] XPASS g++.dg/ipa/devirt-23.C Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal P

[Bug tree-optimization/119946] New: memset/memcpy with a null argument should be folded into `if (size_arg) __builtin_unreachable();`

2025-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119946 Bug ID: 119946 Summary: memset/memcpy with a null argument should be folded into `if (size_arg) __builtin_unreachable();` Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug middle-end/119943] improve function splitting by sinking expressions early on

2025-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119943 Andrew Pinski changed: What|Removed |Added Summary|-O3 forgets trivial code|improve function splitting

[Bug middle-end/119943] -O3 forgets trivial code shift. causing significant slowdown

2025-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119943 Andrew Pinski changed: What|Removed |Added Resolution|DUPLICATE |--- Ever confirmed|1

[Bug tree-optimization/119945] [14/15/16 Regression] missed tail call due to IPA-VRP and different type but same mode

2025-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119945 --- Comment #3 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #2) > Well, you'd need to know during tailc pass that the target returns char * > the same as size_t, which isn't guaranteed. > Especially e.g. int and unsigned could

[Bug tree-optimization/119945] [14/15/16 Regression] missed tail call due to IPA-VRP and different type but same mode

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

[Bug middle-end/119943] -O3 forgets trivial code shift. causing significant slowdown

2025-04-25 Thread aleks at physik dot tu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119943 --- Comment #4 from Alexander Kleinsorge --- I dont think this is the a vectorization issue here! Moving a struct initialization around, seems not related to the duplicate you mentioned, for me. Could you please check again?

[Bug tree-optimization/119945] [14/15/16 Regression] missed tail call due to IPA-VRP and different type but same mode

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

[Bug tree-optimization/119945] New: [14/15/16 Regression] missed tail call due to IPA-VRP and different type but same mode

2025-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119945 Bug ID: 119945 Summary: [14/15/16 Regression] missed tail call due to IPA-VRP and different type but same mode Product: gcc Version: 16.0 Status: UNCONFIRMED K

[Bug middle-end/119943] -O3 forgets trivial code shift. causing significant slowdown

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

[Bug target/115777] [12/13/14/15/16 regression] Severe performance regression on insertion sort at -O2 or above

2025-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115777 Andrew Pinski changed: What|Removed |Added CC||aleks at physik dot tu-berlin.de --- C

[Bug middle-end/119943] -O3 forgets trivial code shift. causing significant slowdown

2025-04-25 Thread aleks at physik dot tu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119943 --- Comment #2 from Alexander Kleinsorge --- Created attachment 61197 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61197&action=edit full sample code (1 file) version above has the issue active. gcc -o radix.exe -march=native -O3 radix.

[Bug rtl-optimization/119884] [16 Regression] ICE: in emit_move_insn, at expr.cc:4636 with -O2 -fno-dse -favoid-store-forwarding since r16-15

2025-04-25 Thread konstantinos.eleftheriou at vrull dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119884 --- Comment #2 from Konstantinos Eleftheriou --- We have submitted a fix https://gcc.gnu.org/pipermail/gcc-patches/2025-April/681886.html

[Bug target/118280] [14/15/16 Regression] __atomic_test_and_set in Microblaze are broken (exposed by r14-4286)

2025-04-25 Thread thomas.petazzoni--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280 --- Comment #16 from Thomas Petazzoni --- Now that GCC 15.1 is out, I was wondering if this issue has somehow been resolved?

[Bug target/119944] New: [16] RISC-V:

2025-04-25 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119944 Bug ID: 119944 Summary: [16] RISC-V: Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassign

[Bug middle-end/119943] -O3 forgets trivial code shift. causing significant slowdown

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

[Bug target/119944] [16] RISC-V: g++.dg/torture/pr119610.C "terminate called after throwing an instance of 'int'

2025-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119944 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target|

[Bug target/119942] [16 Regression] RISC-V: Segmentation fault in pr103953.exe

2025-04-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119942 Sam James changed: What|Removed |Added Resolution|--- |DUPLICATE See Also|

[Bug target/119944] [16] RISC-V: g++.dg/torture/pr119610.C "terminate called after throwing an instance of 'int'

2025-04-25 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119944 Edwin Lu changed: What|Removed |Added Summary|[16] RISC-V:|[16] RISC-V: |

[Bug c++/119930] [16 regression] g++.dg/coroutines/torture/pr103953.C FAILs with -O3 since r16-101-g132d01d96ea9d6

2025-04-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930 Sam James changed: What|Removed |Added Summary|[16 regression] |[16 regression] |g++.dg/c

[Bug c/119943] New: -O3 forgets trivial code shift. causing significant slowdown

2025-04-25 Thread aleks at physik dot tu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119943 Bug ID: 119943 Summary: -O3 forgets trivial code shift. causing significant slowdown Product: gcc Version: 12.4.0 Status: UNCONFIRMED Severity: normal

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

2025-04-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930 Sam James changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

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

2025-04-25 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930 --- Comment #3 from Edwin Lu --- (In reply to Andrew Pinski from comment #1) > I noticed this too. It was working at r16-89-g0650ea627399a0 . for risc-v, our postcommit has it starting within this range https://github.com/gcc-mirror/gcc/compa

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

2025-04-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930 Sam James changed: What|Removed |Added CC||ewlu at rivosinc dot com --- Comment #2 fro

[Bug target/119942] New: [16 Regression] RISC-V: Segmentation fault in pr103953.exe

2025-04-25 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119942 Bug ID: 119942 Summary: [16 Regression] RISC-V: Segmentation fault in pr103953.exe Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Pr

[Bug middle-end/119941] New: -Warray-bounds warning in adjust_offset_for_component_ref when building for bpf-unknown-none

2025-04-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119941 Bug ID: 119941 Summary: -Warray-bounds warning in adjust_offset_for_component_ref when building for bpf-unknown-none Product: gcc Version: 16.0 Statu

[Bug target/119919] 7% exchange2 regression between g:6390fc86995fbd5239497cb9e1797a3af51d3936 and g:f72a2d221539cede358f2487b94bc370c6fc44b5

2025-04-25 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119919 --- Comment #6 from Jan Hubicka --- Exchange2 regression is solved and tonto seem to be noise (performance is back today w/o change of a checksum of the text segment). still we account one extra setcc and misaccount scatter, so lets keep this t

[Bug c/119878] __builtin_has_attribute(VAR, nonstring) does not work on multidimensional arrays marked with nonstring

2025-04-25 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119878 --- Comment #2 from Kees Cook --- Ugh, I'm sorry I botched this example so badly. I'm not sure where I got off track in trying to get it into one of the selftests. The problem I ran into was with querying array members of the multidimensional ar

[Bug fortran/119836] [15 Regression] Elemental intrinsic treated as IMPURE within BLOCK within DO CONCURRENT

2025-04-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119836 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug fortran/119836] [15 Regression] Elemental intrinsic treated as IMPURE within BLOCK within DO CONCURRENT

2025-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119836 Andrew Pinski changed: What|Removed |Added Target Milestone|15.2|15.0

[Bug c/119878] __builtin_has_attribute(VAR, nonstring) does not work on multidimensional arrays marked with nonstring

2025-04-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119878 --- Comment #3 from Jakub Jelinek --- I think the current behavior is correct. nonstring attribute is a declaration attribute. So __builtin_has_attribute returns true if passed a declaration which has one. multi2[1] (like say single + 0) is s

[Bug fortran/102900] ICE via gfc_class_data_get with alloc_comp_class_4.f03 or proc_ptr_52.f90 using -fcheck=all

2025-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102900 --- Comment #10 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:cc8d86ee4680d56eefeb76a8f2f752282e2631e3 commit r16-150-gcc8d86ee4680d56eefeb76a8f2f752282e2631e3 Author: Harald Anlauf Date: T

[Bug c++/119764] noexcept lambdas do not have unused captures get pruned

2025-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119764 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:44e31eb265ba1984638908466a88095744a88709 commit r16-149-g44e31eb265ba1984638908466a88095744a88709 Author: Jason Merrill Date: Mon

[Bug c++/87185] [8/9 Regression] ICE in prune_lambda_captures()

2025-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87185 --- Comment #7 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:44e31eb265ba1984638908466a88095744a88709 commit r16-149-g44e31eb265ba1984638908466a88095744a88709 Author: Jason Merrill Date: Mon

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

2025-04-25 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #441 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #440) > The branch for GCC 16 has opened now, so I assume it would be a good time to > rebase the patches so I can re-test them. I just tried

[Bug c/119940] New: Incorrect calculate MD5 (for -gcodeview) under windows

2025-04-25 Thread bc-info at styx dot cabel.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119940 Bug ID: 119940 Summary: Incorrect calculate MD5 (for -gcodeview) under windows Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug target/118141] GCC miscompiles __builtin_convertvector() narrowing operation on amd64 above -O1

2025-04-25 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118141 uecker at gcc dot gnu.org changed: What|Removed |Added CC||uecker at gcc dot gnu.org --

[Bug tree-optimization/119811] calls.h should not be needed for tree-ssa-phiopt.cc

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

[Bug target/110998] Inconsistent -Wformat warnings issued for %I64d

2025-04-25 Thread ossman at cendio dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110998 Pierre Ossman changed: What|Removed |Added CC||ossman at cendio dot se --- Comment #1

[Bug tree-optimization/119811] calls.h should not be needed for tree-ssa-phiopt.cc

2025-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119811 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:c565e0d3c4ad7c58697f3661269483ce6067e313 commit r16-144-gc565e0d3c4ad7c58697f3661269483ce6067e313 Author: Andrew Pinski Date: Fri

[Bug target/119937] [15/16 Regression] ICE: Error detected at a-sttebu.ads:56:30

2025-04-25 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119937 Eric Botcazou changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/109162] C++23 improvements to std::format

2025-04-25 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 --- Comment #26 from Tomasz Kamiński --- The latest commit (optimization) is for GCC 16 only.

[Bug libstdc++/109162] C++23 improvements to std::format

2025-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 --- Comment #25 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:01e5ef3e8b91288f5d387a27708f9f8979a50edf commit r16-142-g01e5ef3e8b91288f5d387a27708f9f8979a50edf Author: Tomasz KamiÅski Date:

[Bug target/119937] [15/16 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591

2025-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119937 Andrew Pinski changed: What|Removed |Added Summary|[15 Regression] ICE in |[15/16 Regression] ICE in

[Bug c++/119939] New: [modules] Constraints attached to defaulted friend functions don't work correctly

2025-04-25 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119939 Bug ID: 119939 Summary: [modules] Constraints attached to defaulted friend functions don't work correctly Product: gcc Version: 15.0 Status: UNCONFIRMED Severi

[Bug c/119878] __builtin_has_attribute(VAR, nonstring) does not work on multidimensional arrays marked with nonstring

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

[Bug rtl-optimization/116479] [15/16 Regression] wrong code with -O -funroll-loops -finline-stringops -fmodulo-sched --param=max-iterations-computation-cost=637924876 on aarch64 since r15-1447-g5d0c1b

2025-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116479 --- Comment #6 from GCC Commits --- The master branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:8073fa147248aa67c11227f922d91d784659077e commit r16-140-g8073fa147248aa67c11227f922d91d784659077e Author: Andre Vieira

[Bug libstdc++/109162] C++23 improvements to std::format

2025-04-25 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 --- Comment #24 from Tomasz Kamiński --- > Although it doesn't seem to be in the upcoming GCC-15 release. GCC 15.1 has everything expect formatters for adaptors. So ranges, debug presentation, pair, tuple and std::vector::reference will be in.

[Bug target/119919] 7% exchange2 regression between g:6390fc86995fbd5239497cb9e1797a3af51d3936 and g:f72a2d221539cede358f2487b94bc370c6fc44b5

2025-04-25 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119919 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #5 from

[Bug libstdc++/109162] C++23 improvements to std::format

2025-04-25 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 --- Comment #23 from 康桓瑋 --- (In reply to Tomasz Kamiński from comment #22) > > That is highly intentional to fix incorrect formatting when the container > > is a string. See https://cplusplus.github.io/LWG/issue3881 > > I am well aware of thi

[Bug c/119528] __attribute__((deprecated(text)) triggers with __attribute__((malloc(deallocator, index)))

2025-04-25 Thread akallabeth+gnu at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119528 --- Comment #8 from akallabeth+gnu at posteo dot net --- Update on the workaround: while this indeed silences the deprecation warnings you now get -Wredundant-decl warnings instead... On 31.03.25 09:38, rguenth at gcc dot gnu.org wrote: > https:

[Bug libstdc++/109162] C++23 improvements to std::format

2025-04-25 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 --- Comment #22 from Tomasz Kamiński --- > That is highly intentional to fix incorrect formatting when the container is > a string. See https://cplusplus.github.io/LWG/issue3881 I am well aware of this quirk, but my implementation uses range_f

[Bug target/119873] s390x musttail call failure on s390x

2025-04-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119873 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug target/119873] s390x musttail call failure on s390x

2025-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119873 --- Comment #5 from GCC Commits --- The releases/gcc-15 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f36ec88aa85a1a8f4ec300dfcd862fc4fbca1c53 commit r15-9590-gf36ec88aa85a1a8f4ec300dfcd862fc4fbca1c53 Author: Jakub Jelinek

[Bug libstdc++/109162] C++23 improvements to std::format

2025-04-25 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 --- Comment #21 from 康桓瑋 --- > Furthermore the standard specifies these formatters as delegating to > formatter, charT>, which in turn > delegates to range_formatter. This patch avoids one level of indirection, > and dependency o

[Bug target/119873] s390x musttail call failure on s390x

2025-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119873 --- Comment #4 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3d156c9e9bdaf351f77e3348b7d0d75e08f65580 commit r16-139-g3d156c9e9bdaf351f77e3348b7d0d75e08f65580 Author: Jakub Jelinek Date: Fr

[Bug c++/113920] Make -std=gnu++20 default for GCC 16

2025-04-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113920 Marek Polacek changed: What|Removed |Added Target Milestone|15.2|---

[Bug c++/119938] New: [15/16 Regression][modules] Class type NTTPs are not considered constant when imported

2025-04-25 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119938 Bug ID: 119938 Summary: [15/16 Regression][modules] Class type NTTPs are not considered constant when imported Product: gcc Version: 15.0 Status: UNCONFIRMED S

[Bug ada/119937] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591

2025-04-25 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119937 --- Comment #1 from Matthias Klose --- the build for the soft-float variant succeeds. See https://buildd.debian.org/status/package.php?p=gcc-15&suite=experimental

[Bug ada/119937] New: [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591

2025-04-25 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119937 Bug ID: 119937 Summary: [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

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

2025-04-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106749 Bug 106749 depends on bug 109162, which changed state. Bug 109162 Summary: C++23 improvements to std::format https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 What|Removed |Added -

[Bug libstdc++/109162] C++23 improvements to std::format

2025-04-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |15.2 Status|ASSIGNED

[Bug libstdc++/109162] C++23 improvements to std::format

2025-04-25 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 Tomasz Kamiński changed: What|Removed |Added CC||tkaminsk at gcc dot gnu.org --- Comme

[Bug libstdc++/109162] C++23 improvements to std::format

2025-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 --- Comment #18 from GCC Commits --- The releases/gcc-15 branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:17e0decc1dbf827747aebfa0573cc8e50969ae3f commit r15-9589-g17e0decc1dbf827747aebfa0573cc8e50969ae3f Author: Tomasz KamiÅ

[Bug libstdc++/109162] C++23 improvements to std::format

2025-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 --- Comment #17 from GCC Commits --- The releases/gcc-15 branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:5bd02daf8430ecce1d7fd847ef4fc9c369179542 commit r15-9588-g5bd02daf8430ecce1d7fd847ef4fc9c369179542 Author: Tomasz KamiÅ

[Bug target/96191] aarch64 stack_protect_test canary leak

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

[Bug tree-optimization/113416] ICE: in force_constant_size, at gimplify.cc:742 (in convert_move, at expr.cc:223) with -march=rv64gcv (-march=rv32gcv) and -ftree-parallelize-loops=2

2025-04-25 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113416 Bug 113416 depends on bug 101018, which changed state. Bug 101018 Summary: ICE when enabling OpenMP on a simple loop with SVE intrinsics (aarch64) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101018 What|Removed

[Bug middle-end/101018] ICE when enabling OpenMP on a simple loop with SVE intrinsics (aarch64)

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

[Bug c++/119936] add warning if assume expression is compile-time evaluated to false

2025-04-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119936 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2025-04-25 Blocks|

[Bug libstdc++/109162] C++23 improvements to std::format

2025-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 --- Comment #16 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:8b6cc2064306ba506b61f3e224829219033a9373 commit r16-136-g8b6cc2064306ba506b61f3e224829219033a9373 Author: Tomasz KamiÅski Date:

[Bug target/113949] Switch vax to LRA

2025-04-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113949 Jakub Jelinek changed: What|Removed |Added Target Milestone|15.0|15.2 --- Comment #2 from Jakub Jelinek

[Bug libstdc++/119918] formattable returns true for types other than char and wchar_t

2025-04-25 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119918 Tomasz Kamiński changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/119399] [12 Backport] Overlap check in vectorized code may invoke UB

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

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

2025-04-25 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118443 Bug 118443 depends on bug 119399, which changed state. Bug 119399 Summary: [12 Backport] Overlap check in vectorized code may invoke UB https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119399 What|Removed |Added --

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2025-04-25 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 116125, which changed state. Bug 116125 Summary: [12 Regression] Does not fully checking for overlapping memory regions with the vectorizer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116125 What|Removed

[Bug tree-optimization/116125] [12 Regression] Does not fully checking for overlapping memory regions with the vectorizer

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

[Bug libstdc++/109162] C++23 improvements to std::format

2025-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 --- Comment #15 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:bacf741a92a9a84becd23542b73186da4e4acbf6 commit r16-135-gbacf741a92a9a84becd23542b73186da4e4acbf6 Author: Tomasz KamiÅski Date:

  1   2   3   >