[Bug target/121983] [16 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1946 with -O2 -mcpu=xiangshan-nanhu

2025-09-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121983 Richard Biener changed: What|Removed |Added Target Milestone|--- |16.0

[Bug target/121982] [16 Regression] ICE: in riscv_sched_variable_issue, at config/riscv/riscv.cc:10236 with -mcpu=tt-ascalon-d8 -flive-range-shrinkage and vector division

2025-09-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121982 Richard Biener changed: What|Removed |Added Target Milestone|--- |16.0

[Bug middle-end/79266] excessive compile time for large array of STRING_CST (-O1)

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79266 --- Comment #5 from Andrew Pinski --- Note changing the array to `const char *` still does not fix the issue.

[Bug c++/68387] [c++1z] gcc hangs forever on this code

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

[Bug middle-end/79266] excessive compile time for large array (-O1)

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79266 Andrew Pinski changed: What|Removed |Added Depends on|12245 | Ever confirmed|0

[Bug c++/93186] C++ compile time hog

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

[Bug c++/67565] [concepts] Very slow compile time and high memory usage with complex concept definitions, even if unused

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67565 Andrew Pinski changed: What|Removed |Added CC||ryan.burn at gmail dot com --- Comment #

[Bug c++/114638] Hang and Memory Consumption Increase during Compilation with many object creation of itself

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114638 --- Comment #5 from Andrew Pinski --- Wrong bug #. *** This bug has been marked as a duplicate of bug 39992 ***

[Bug c++/39992] cc1plus exhausts memory with deeply nested unclosed constructor parens

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39992 Andrew Pinski changed: What|Removed |Added CC||iamanonymous.cs at gmail dot com --- Co

[Bug c++/93186] C++ compile time hog

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93186 Andrew Pinski changed: What|Removed |Added CC||iamanonymous.cs at gmail dot com --- Co

[Bug c++/114638] Hang and Memory Consumption Increase during Compilation with many object creation of itself

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

[Bug libstdc++/117982] [C++23] Implement std::start_lifetime_as and std::start_lifetime_as_array

2025-09-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117982 Bug 117982 depends on bug 106658, which changed state. Bug 106658 Summary: [C++23] P2590 - Explicit lifetime management https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106658 What|Removed |Added --

[Bug c++/106658] [C++23] P2590 - Explicit lifetime management

2025-09-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106658 Jakub Jelinek changed: What|Removed |Added Version|unknown |16.0 Target Milestone|---

[Bug c++/98940] Implement C++23 language features

2025-09-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 106658, which changed state. Bug 106658 Summary: [C++23] P2590 - Explicit lifetime management https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106658 What|Removed |Added

[Bug tree-optimization/21462] if statement not converted to MIN_EXPR

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21462 Bug 21462 depends on bug 10050, which changed state. Bug 10050 Summary: ifcvt is not smart enough https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10050 What|Removed |Added --

[Bug middle-end/10050] ifcvt is not smart enough

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

[Bug tree-optimization/33158] missed store sinking opportunity

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33158 Bug 33158 depends on bug 10050, which changed state. Bug 10050 Summary: ifcvt is not smart enough https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10050 What|Removed |Added --

[Bug c++/106658] [C++23] P2590 - Explicit lifetime management

2025-09-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106658 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c1e1691b95e65c53a2b9c25de70c56655215b905 commit r16-3944-gc1e1691b95e65c53a2b9c25de70c56655215b905 Author: Jakub Jelinek Date: T

[Bug c/121976] DFP expression evaluations not consistent

2025-09-17 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121976 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #

[Bug c++/121981] [13/14/15/16 Regression] internal compiler error: in hash, at cp/constraint.cc:1999

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121981 Andrew Pinski changed: What|Removed |Added Summary|internal compiler error: in |[13/14/15/16 Regression]

[Bug c++/121981] internal compiler error: in hash, at cp/constraint.cc:1999

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

[Bug c++/121981] internal compiler error: in hash, at cp/constraint.cc:1999

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

[Bug libobjc/121984] [13/14/15/16 Regression] Build failure on AIX 7.{1, 3}: implicit declaration of function 'rs6000_special_adjust_field_align'

2025-09-17 Thread yavor at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121984 --- Comment #2 from Yavor Doganov --- (In reply to Andrew Pinski from comment #1) > This has been broken since r11-7871-g42a21b4cb540be . Yes, sorry I forgot to mention that. I partially reverted it in my local copy (at the expense of struct-l

[Bug c++/121981] internal compiler error: in hash, at cp/constraint.cc:1999

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121981 --- Comment #4 from Andrew Pinski --- Created attachment 62412 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62412&action=edit Slightly more __is_convertible here is important I think.

[Bug c++/121981] internal compiler error: in hash, at cp/constraint.cc:1999

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121981 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > Created attachment 62412 [details] > Slightly more > > __is_convertible here is important I think. My reduced testcase only need -std=c++20.

[Bug c++/121981] internal compiler error: in hash, at cp/constraint.cc:1999

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121981 Andrew Pinski changed: What|Removed |Added Known to fail||13.1.0 --- Comment #5 from Andrew Pinsk

[Bug c++/121981] internal compiler error: in hash, at cp/constraint.cc:1999

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121981 --- Comment #3 from Andrew Pinski --- Created attachment 62411 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62411&action=edit Reduced somewhat I think this can be further reduced.

[Bug target/40503] DEC_EVAL_METHOD not match operators

2025-09-17 Thread tydeman at tybor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40503 --- Comment #11 from Fred J. Tydeman --- In gcc 15.2.1, this is still broken. If the code generation will not be fixed, then DEC_EVAL_METHOD should be set to -1

[Bug libobjc/24775] libobjc should not include GCC's target headers

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24775 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/121975] Various goacc failures with -ftrivial-auto-var-init=zero

2025-09-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121975 --- Comment #5 from Tobias Burnus --- Looking at the extra output, one can find e.g. for kernels-decompose-pr104774-1.c the following additional output: c-c++-common/goacc/kernels-decompose-pr104774-1.c:22:9: note: beginning ‘gang-single’ part

[Bug middle-end/121975] Various goacc failures with -ftrivial-auto-var-init=zero

2025-09-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121975 --- Comment #7 from Jakub Jelinek --- Note, the DECL_EXPR gimplification which adds the .DEFERRED_INIT call is pretty dumb, it simply adds it for all automatic vars which don't have DECL_INITIAL set and don't have uninitialized or indeterminate

[Bug c++/121981] internal compiler error: in hash, at cp/constraint.cc:1999

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121981 --- Comment #2 from Andrew Pinski --- Reducing ...

[Bug middle-end/121975] Various goacc failures with -ftrivial-auto-var-init=zero

2025-09-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121975 --- Comment #6 from Tobias Burnus --- (In reply to Tobias Burnus from comment #5) > Thus, at least this part looks consistent - and doing the following would be > fine: This should have been: --- a/gcc/testsuite/c-c++-common/goacc/kernels-deco

[Bug c++/121966] Problems with candidate numbering in print_z_candidates

2025-09-17 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121966 --- Comment #5 from David Malcolm --- Should be fixed on trunk for GCC 16 by the above patches. Keeping open to track backporting r16-3940-gc0b21d1f45ac6a249974982c1a7f7515efb78747 to gcc 15.

[Bug c++/121966] Problems with candidate numbering in print_z_candidates

2025-09-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121966 --- Comment #4 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:41f071a64ff7027a98e6b6a7e3641156e3be70e0 commit r16-3941-g41f071a64ff7027a98e6b6a7e3641156e3be70e0 Author: David Malcolm Date: W

[Bug c++/121966] Problems with candidate numbering in print_z_candidates

2025-09-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121966 --- Comment #3 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:c0b21d1f45ac6a249974982c1a7f7515efb78747 commit r16-3940-gc0b21d1f45ac6a249974982c1a7f7515efb78747 Author: David Malcolm Date: W

[Bug middle-end/121975] Various goacc failures with -ftrivial-auto-var-init=zero

2025-09-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121975 --- Comment #4 from Tobias Burnus --- Created attachment 62410 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62410&action=edit Add missing "*/" in dg-comment line of c-c++-common/goacc-gomp/ This is somewhat unrelated to the actual issue

[Bug diagnostics/121986] New: Add support for descriptions of fix-it hints

2025-09-17 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121986 Bug ID: 121986 Summary: Add support for descriptions of fix-it hints Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: SARIF Severity: normal Priority:

[Bug target/121985] [RISCV] [Miscompile] GCC - riscv64 target, miscompiles at -O3 as well as -O2 on valid code

2025-09-17 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121985 Robin Dapp changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug other/121958] Document requirements for updating *opt.urls; advertised method does not work

2025-09-17 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121958 --- Comment #6 from Thomas Koenig --- (In reply to David Malcolm from comment #5) > The patch doesn't contain documentation for the new option. > > Looks like there's a bug in regenerate-opt-urls.py where it fails to emit a > comment mentioning

[Bug bootstrap/121623] [15/16 regression] [ia64] bootstrap comparison failure (differently ordered st8s in MMI for gcc/trans-mem.o), stage 2 -> 3

2025-09-17 Thread frank.scheiner at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121623 --- Comment #21 from Frank Scheiner --- Also reproduces the problem: ``` root@esprimo-e420:/usr/src# ia64-t2-linux-gnu-g++ -fcompare-debug -std=c++17 -fpermissive -nostdinc++ -fno-PIE -c -DUSE_LIBUNWIND_EXCEPTIONS -g -O2 -fchecking=1 -DIN_GCC

[Bug bootstrap/121623] [15/16 regression] [ia64] bootstrap comparison failure (differently ordered st8s in MMI for gcc/trans-mem.o), stage 2 -> 3

2025-09-17 Thread frank.scheiner at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121623 --- Comment #20 from Frank Scheiner --- (In reply to Sam James from comment #19) > Try building it with the same version. You may also need an explicit -std=... Thanks a lot, that did it, in the end I used 15.2.0 and the minimum standard to comp

[Bug c++/121981] internal compiler error: in hash, at cp/constraint.cc:1999

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

[Bug target/121985] [RISCV] [Miscompile] GCC - riscv64 target, miscompiles at -O3 as well as -O2 on valid code

2025-09-17 Thread skothadiya at whileone dot in via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121985 --- Comment #2 from Sujay Kothadiya --- Created attachment 62409 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62409&action=edit Verbose log

[Bug target/121985] [RISCV] [Miscompile] GCC - riscv64 target, miscompiles at -O3 as well as -O2 on valid code

2025-09-17 Thread skothadiya at whileone dot in via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121985 Sujay Kothadiya changed: What|Removed |Added Build||x86 CC|

[Bug tree-optimization/121962] [16 regression] OOM when buiding clang-19.1.7 by r16-3887-g597b50abb0d2fc

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

[Bug tree-optimization/121962] [16 regression] OOM when buiding clang-19.1.7 by r16-3887-g597b50abb0d2fc

2025-09-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121962 --- Comment #14 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:a7a9f0de4fe01ee96350892066afbe5aca4bc0a6 commit r16-3936-ga7a9f0de4fe01ee96350892066afbe5aca4bc0a6 Author: Andrew Pinski Date: T

[Bug target/121985] New: [RISCV] [Miscompile] GCC - riscv64 target, miscompiles at -O3 as well as -O2 on valid code

2025-09-17 Thread skothadiya at whileone dot in via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121985 Bug ID: 121985 Summary: [RISCV] [Miscompile] GCC - riscv64 target, miscompiles at -O3 as well as -O2 on valid code Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug libobjc/121984] [13/14/15/16 Regression] Build failure on AIX 7.{1, 3}: implicit declaration of function 'rs6000_special_adjust_field_align'

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121984 Andrew Pinski changed: What|Removed |Added Known to fail||11.1.0, 12.1.0 Target Milestone|---

[Bug libstdc++/111861] ranges::min/max should not use `auto __result = *__first;`

2025-09-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111861 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/111861] ranges::min/max should not use `auto __result = *__first;`

2025-09-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111861 --- Comment #6 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:3268c47c08782efe7fb1dd9a110bebe018e7d59c commit r16-3933-g3268c47c08782efe7fb1dd9a110bebe018e7d59c Author: Patrick Palka Date: W

[Bug libobjc/121984] New: Build failure on AIX 7.{1,3}: implicit declaration of function 'rs6000_special_adjust_field_align'

2025-09-17 Thread yavor at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121984 Bug ID: 121984 Summary: Build failure on AIX 7.{1,3}: implicit declaration of function 'rs6000_special_adjust_field_align' Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug target/121982] New: [16 Regression] ICE: in riscv_sched_variable_issue, at config/riscv/riscv.cc:10236 with -mcpu=tt-ascalon-d8 -flive-range-shrinkage and vector division

2025-09-17 Thread zsojka at seznam dot cz via Gcc-bugs
sable-multilib --enable-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-20250917113826-r16-3928-gd81e24bbb930e2-checking-yes-rtl-df-extra-riscv64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 16.0.0 20250917 (experimental) (GCC)

[Bug target/121983] New: [16 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1946 with -O2 -mcpu=xiangshan-nanhu

2025-09-17 Thread zsojka at seznam dot cz via Gcc-bugs
unk-20250917113826-r16-3928-gd81e24bbb930e2-checking-yes-rtl-df-extra-riscv64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 16.0.0 20250917 (experimental) (GCC)

[Bug fortran/118955] Fortran uses vector math functions without -ffast-math

2025-09-17 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118955 Wilco changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wilco at gcc dot gnu.org Tar

[Bug c/121974] Timeout with -O1

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

[Bug c++/121981] New: internal compiler error: in hash, at cp/constraint.cc:1999

2025-09-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121981 Bug ID: 121981 Summary: internal compiler error: in hash, at cp/constraint.cc:1999 Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: ice-checking

[Bug fortran/121161] Please add an option to make -fexternal-blas compatible with ILP64 BLAS implementation

2025-09-17 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121161 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/121975] Various goacc failures with -ftrivial-auto-var-init=zero

2025-09-17 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121975 Thomas Schwinge changed: What|Removed |Added Last reconfirmed||2025-09-17 Ever confirmed|0

[Bug target/121973] [trunk, RV64] Poor quality (useless, harmless) code is added to naked functions

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121973 --- Comment #6 from Andrew Pinski --- The nop comes from the need of debugging. Specifically from cfgcleanup: ``` /* If not optimizing, preserve the locus of the single edge between blocks A and B if necessary by emitting a nop. */ if

[Bug libstdc++/121980] New: [C++26] Implement P2545R4, Read-Copy Update (RCU)

2025-09-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121980 Bug ID: 121980 Summary: [C++26] Implement P2545R4, Read-Copy Update (RCU) Product: gcc Version: unknown Status: UNCONFIRMED Keywords: c++26 Severity: normal Pr

[Bug libstdc++/121979] New: [C++26] Implement P2530R3, Hazard Pointers

2025-09-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121979 Bug ID: 121979 Summary: [C++26] Implement P2530R3, Hazard Pointers Product: gcc Version: unknown Status: UNCONFIRMED Keywords: c++26 Severity: normal Priority:

[Bug tree-optimization/58727] Sub-optimal code for bit clear/set sequence

2025-09-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58727 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/121974] [16 regression] Timeout with -O1

2025-09-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121974 Sam James changed: What|Removed |Added Status|ASSIGNED|RESOLVED Summary|Timeout with -O

[Bug tree-optimization/121962] [16 regression] OOM when buiding clang-19.1.7 by r16-3887-g597b50abb0d2fc

2025-09-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121962 Sam James changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #13 f

[Bug target/121778] Improve rotation detection for RISC-V

2025-09-17 Thread Dusan.Stojkovic--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121778 --- Comment #4 from Dusan Stojkovic --- Created attachment 62404 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62404&action=edit The rv32 combine dump I added the dumps for reference.

[Bug c++/121978] [16 regression] ICE in coroutine when return_value takes int reference

2025-09-17 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121978 --- Comment #2 from Mathias Stearn --- Facepalm. Ok, not actually a regression. Repros on at least 14 and 15 when assertions are enabled: https://godbolt.org/z/1dMPh8sax

[Bug debug/121964] aarch64: SVE predicate variables are printed incorrectly

2025-09-17 Thread ykhrustalev at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121964 --- Comment #2 from Yury Khrustalev --- Patch v1: https://patchwork.sourceware.org/project/gcc/list/?series=52149

[Bug target/121778] Improve rotation detection for RISC-V

2025-09-17 Thread Dusan.Stojkovic--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121778 --- Comment #3 from Dusan Stojkovic --- Created attachment 62403 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62403&action=edit The rv64 combine dump

[Bug c++/121978] [16 regression] ICE in coroutine when return_value takes int reference

2025-09-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121978 --- Comment #1 from Sam James --- (In reply to Mathias Stearn from comment #0) > Created attachment 62401 [details] > repro.cpp > > Lightly modified from the repro for > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101244 while trying out a > w

[Bug target/121778] Improve rotation detection for RISC-V

2025-09-17 Thread Dusan.Stojkovic--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121778 --- Comment #2 from Dusan Stojkovic --- Created attachment 62402 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62402&action=edit A patch which contains a pattern to Improve rotation detection for rv32gc_zbb This patch helps with detectio

[Bug tree-optimization/119085] [13 regression] tree-sra generates wrong code for unions containing structs with holes (Emacs crashes with -O3) since r10-6321-g636e80eea24b78

2025-09-17 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119085 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/117423] [13 Regression] union not written to with particular layout since r10-6321-g636e80eea24b78

2025-09-17 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117423 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/121978] New: [16 regression] ICE in coroutine when return_value takes int reference

2025-09-17 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121978 Bug ID: 121978 Summary: [16 regression] ICE in coroutine when return_value takes int reference Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/119085] [13 regression] tree-sra generates wrong code for unions containing structs with holes (Emacs crashes with -O3) since r10-6321-g636e80eea24b78

2025-09-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119085 --- Comment #14 from GCC Commits --- The releases/gcc-13 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:2f21edc2a760862eab9e542aa7e4fc7886dbd41f commit r13-9892-g2f21edc2a760862eab9e542aa7e4fc7886dbd41f Author: Martin Jambor

[Bug middle-end/121975] Various goacc failures with -ftrivial-auto-var-init=zero

2025-09-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121975 --- Comment #2 from Tobias Burnus --- If I try reproduce to manually reproduce > FAIL: c-c++-common/goacc-gomp/nesting-1.c -std=c++17 at line 30 (test for > warnings, line 31) I see (a) that there is '*/' missing in the first line. And I se

[Bug c++/102217] co_awaiting a temporary produced by ternary operator crashes (double-free)

2025-09-17 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102217 Mathias Stearn changed: What|Removed |Added CC||redbeard0531 at gmail dot com --- Comm

[Bug tree-optimization/117423] [13 Regression] union not written to with particular layout since r10-6321-g636e80eea24b78

2025-09-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117423 --- Comment #29 from GCC Commits --- The releases/gcc-13 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:7d3d58554cfdac348e62b4c340cf56499c8d3003 commit r13-9891-g7d3d58554cfdac348e62b4c340cf56499c8d3003 Author: Martin Jambor

[Bug c++/101244] Wrong path in coroutine returning ternary

2025-09-17 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101244 Mathias Stearn changed: What|Removed |Added CC||redbeard0531 at gmail dot com --- Comm

[Bug middle-end/121977] New: gomp/member-1.C ICE with -ftrivial-auto-var-init=zero

2025-09-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121977 Bug ID: 121977 Summary: gomp/member-1.C ICE with -ftrivial-auto-var-init=zero Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug middle-end/121975] Various goacc failures with -ftrivial-auto-var-init=zero

2025-09-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121975 --- Comment #1 from Jakub Jelinek --- I guess as a temporary workaround I could stick // { dg-additional-options "-ftrivial-auto-var-init=uninitialized" { target c++26 } } until this is fixed. That said, I'm afraid I have no idea what those test

[Bug c/121976] New: DFP expression evaluations not consistent

2025-09-17 Thread tydeman at tybor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121976 Bug ID: 121976 Summary: DFP expression evaluations not consistent Product: gcc Version: 15.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/121975] New: Various goacc failures with -ftrivial-auto-var-init=zero

2025-09-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121975 Bug ID: 121975 Summary: Various goacc failures with -ftrivial-auto-var-init=zero Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Prio

[Bug target/121393] [16 Regression] GCN gfx1100 offloading: 'libgomp.c-c++-common/for-{11,12,3,5,6,9}.c' execution tests

2025-09-17 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121393 --- Comment #3 from Andrew Stubbs --- The bug is not reproducible without the "collapse(3)" statement, nor when compiled for native amdgcn (no offloading). However, in both cases this is because the load does not vectorize. The "vect" dump says

[Bug tree-optimization/58727] Sub-optimal code for bit clear/set sequence

2025-09-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58727 --- Comment #8 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:cda451531c6d58e3f02e203d008d9ea13397bf26 commit r16-3931-gcda451531c6d58e3f02e203d008d9ea13397bf26 Author: Shreya Munnangi Date: Wed S

[Bug libstdc++/113460] Segfault in __builtin_coro_destroy when using std::generator to concate ranges

2025-09-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113460 --- Comment #6 from Jonathan Wakely --- It was fixed on trunk by r15-3203-g5cca7517c5868b: c++/coros: do not assume coros don't nest [PR113457]

[Bug c++/121963] Make it easier to change the location of gcm.cache dir and document it

2025-09-17 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121963 Nathaniel Shead changed: What|Removed |Added Severity|normal |enhancement Summary|Make i

[Bug ada/121968] Inconsistent bug box from use clause in generic package parameter part

2025-09-17 Thread liam at liampwll dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121968 --- Comment #6 from Liam Powell --- > Moreover, external files are missing, we need a self-contained reproducer Attached above. `gcc -gnat2022 -c prunt-controller.adb` will trigger the bug. This also appears to produce a different bug box on t

[Bug c++/113457] Nesting coroutine definitions (e.g. via a lambda or a template expansion) can ICE the compiler

2025-09-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113457 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |14.3

[Bug libstdc++/113460] Segfault in __builtin_coro_destroy when using std::generator to concate ranges

2025-09-17 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113460 Mathias Stearn changed: What|Removed |Added CC||redbeard0531 at gmail dot com --- Comm

[Bug ada/121968] Inconsistent bug box from use clause in generic package parameter part

2025-09-17 Thread liam at liampwll dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121968 --- Comment #5 from Liam Powell --- Created attachment 62400 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62400&action=edit Self-contained reproducer

[Bug fortran/121972] New: [PDT] pdt_3.f03 leaks memory

2025-09-17 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121972 Bug ID: 121972 Summary: [PDT] pdt_3.f03 leaks memory Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran A

[Bug c/121974] New: Timeout with -O1

2025-09-17 Thread dcb314 at hotmail dot com via Gcc-bugs
ng time. foundBugs $ time ../results.20250915.asan.ubsan/bin/gcc -c -w -O1 bug1122.c real0m0.332s user0m0.321s sys 0m0.011s foundBugs $ (ulimit -t 60; time ../results.20250917.asan.ubsan/bin/gcc -c -w -O1 bug1122.c) gcc: fatal error: Killed signal terminated program cc1 compilation terminated

[Bug c++/97452] [coroutines] incorrect sequencing of await_resume() when multiple co_await expressions occur in a single statement

2025-09-17 Thread redbeard0531 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97452 Mathias Stearn changed: What|Removed |Added CC||redbeard0531 at gmail dot com --- Comme

[Bug target/121973] [trunk, RV64] Poor quality (useless, harmless) code is added to naked functions

2025-09-17 Thread vincenzo.romano at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121973 --- Comment #5 from Vincenzo Romano --- I would say that "naked" functions should never go through any optimizer, by design, as they only contain hand crafted assembly code (marked as volatile in my case). All optimizations (-O1 to -O3 and -Os)

[Bug target/121971] [15/16 Regression] Only warn about musttail on exotic targets?

2025-09-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121971 --- Comment #4 from Richard Biener --- Guess we want a [[shouldtail]] where not tail-calling is OK semantically but highly desireable for performance. [[musttail]] is like [[always_inline]], it's considered wrong-code when not possible. OTOH t

[Bug c/121973] [trunk, RV64] Poor quality (useless, harmless) code is added to naked functions

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121973 --- Comment #4 from Andrew Pinski --- Naked attribute is just a hack anyways around not having a .s file.

[Bug target/121973] [trunk, RV64] Poor quality (useless, harmless) code is added to naked functions

2025-09-17 Thread vincenzo.romano at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121973 --- Comment #2 from Vincenzo Romano --- Fair. What about 1st function?

[Bug target/121973] [trunk, RV64] Poor quality (useless, harmless) code is added to naked functions

2025-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121973 --- Comment #1 from Andrew Pinski --- Using extended inline asm in naked functions is undefined.

[Bug c/121973] [trunk, RV64] Poor quality (useless, harmless) code is added to naked functions

2025-09-17 Thread vincenzo.romano at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121973 Vincenzo Romano changed: What|Removed |Added Component|target |c --- Comment #3 from Vincenzo Romano

  1   2   >