[Bug tree-optimization/28850] missed call -> jmp transformation; redundant unwind stuff with empty finally

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28850 --- Comment #11 from Andrew Pinski --- (In reply to rguent...@suse.de from comment #10) > The other alternative would be CFG cleanup, if we can get this removal > into the O(CFG size) rather than O(stmt count) complexity regime. > Aka only look a

[Bug tree-optimization/117639] Modified loop-split-1.C doesn't recognise non-escaping std::vector

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117639 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Keywords|needs-bisectio

[Bug c++/70723] Missed optimization opportunity for lambda converted to fun-ptr

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70723 Bug 70723 depends on bug 4131, which changed state. Bug 4131 Summary: The C++ compiler doesn't place a const class object to ".rodata" section with non trivial constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4131 What|Rem

[Bug tree-optimization/121754] [16 Regression] Vectorizer ICE since r16-3488-gb3355804c7054b

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121754 --- Comment #4 from Andrew Pinski --- Created attachment 62263 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62263&action=edit Less questionable testcase This one does not have any uninitialized variables in it and we still ICE with `-mc

[Bug ipa/4131] The C++ compiler doesn't place a const class object to ".rodata" section with non trivial constructor

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

[Bug tree-optimization/121754] [16 Regression] Vectorizer ICE since r16-3488-gb3355804c7054b

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121754 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/121754] [16 Regression] Vectorizer ICE since r16-3488-gb3355804c7054b

2025-09-01 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121754 --- Comment #3 from Dhruv Chawla --- (In reply to Andrew Pinski from comment #2) > (In reply to Dhruv Chawla from comment #1) > > Removing ice-on-valid-code, this is occurring because b is uninitialized. > > undefined code is still valid code.

[Bug tree-optimization/121754] [16 Regression] Vectorizer ICE since r16-3488-gb3355804c7054b

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121754 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #2 from A

[Bug tree-optimization/121754] [16 Regression] Vectorizer ICE since r16-3488-gb3355804c7054b

2025-09-01 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121754 Dhruv Chawla changed: What|Removed |Added Keywords|ice-on-valid-code | --- Comment #1 from Dhruv Chawla --- R

[Bug ipa/97640] GCC doesn't optimize-out outside-affecting lambdas within y-combinator while clang does.

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97640 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |ipa Status|ASSIGNED

[Bug c++/93666] Dependence of optimization on use of constexpr seems inappropriate

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93666 Bug 93666 depends on bug 4131, which changed state. Bug 4131 Summary: The C++ compiler doesn't place a const class object to ".rodata" section with non trivial constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4131 What|Rem

[Bug tree-optimization/97640] GCC doesn't optimize-out outside-affecting lambdas within y-combinator while clang does.

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97640 --- Comment #4 from Andrew Pinski --- Created attachment 62262 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62262&action=edit Testcase

[Bug c++/79189] Poor code generation when using stateless lambda instead of normal function

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79189 Bug 79189 depends on bug 4131, which changed state. Bug 4131 Summary: The C++ compiler doesn't place a const class object to ".rodata" section with non trivial constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4131 What|Rem

[Bug c++/102876] GCC fails to use constant initialization even when it knows the value to initialize

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102876 Andrew Pinski changed: What|Removed |Added CC||k_satoda at f2 dot dion.ne.jp --- Comme

[Bug c++/102876] GCC fails to use constant initialization even when it knows the value to initialize

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102876 Bug 102876 depends on bug 4131, which changed state. Bug 4131 Summary: The C++ compiler doesn't place a const class object to ".rodata" section with non trivial constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4131 What|R

[Bug tree-optimization/121754] [16 Regression] Vectorizer ICE since r16-3488-gb3355804c7054b

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

[Bug c++/119153] Static storage for initializer_list no longer shares with array literals

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119153 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/121754] New: [16 Regression] Vectorizer ICE since r16-3488-gb3355804c7054b

2025-09-01 Thread dhruvc at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121754 Bug ID: 121754 Summary: [16 Regression] Vectorizer ICE since r16-3488-gb3355804c7054b Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug c/80378] Extend alloc_size attribute for better Linux kernel checking

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80378 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/121753] New: [16 Regression] Recent vectorizer changes causes ICE in vect_build_slp_tree_2

2025-09-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121753 Bug ID: 121753 Summary: [16 Regression] Recent vectorizer changes causes ICE in vect_build_slp_tree_2 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/117639] Modified loop-split-1.C doesn't recognise non-escaping std::vector

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

[Bug tree-optimization/94006] Poor codegen for cond ? lval1 : lval2

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

[Bug middle-end/118130] std::vector code quality issues

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118130 Bug 118130 depends on bug 117639, which changed state. Bug 117639 Summary: Modified loop-split-1.C doesn't recognise non-escaping std::vector https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117639 What|Removed |A

[Bug middle-end/118130] std::vector code quality issues

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118130 Bug 118130 depends on bug 58483, which changed state. Bug 58483 Summary: missing optimization opportunity for const std::vector compared to std::array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58483 What|Removed

[Bug tree-optimization/58483] missing optimization opportunity for const std::vector compared to std::array

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

[Bug middle-end/118130] std::vector code quality issues

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118130 Bug 118130 depends on bug 117639, which changed state. Bug 117639 Summary: Modified loop-split-1.C doesn't recognise non-escaping std::vector https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117639 What|Removed |A

[Bug tree-optimization/117639] Modified loop-split-1.C doesn't recognise non-escaping std::vector

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117639 --- Comment #6 from Andrew Pinski --- r16-1191 that is.

[Bug tree-optimization/117639] Modified loop-split-1.C doesn't recognise non-escaping std::vector

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117639 Andrew Pinski changed: What|Removed |Added Known to work||16.0 Keywords|

[Bug tree-optimization/95001] std::terminate() and abort() do not have __builtin_unreachable() semantics

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95001 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/121752] New: g++.dg/tree-ssa/vector-compare-1.C fails on arm

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121752 Bug ID: 121752 Summary: g++.dg/tree-ssa/vector-compare-1.C fails on arm Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug target/121752] g++.dg/tree-ssa/vector-compare-1.C fails on arm

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121752 Andrew Pinski changed: What|Removed |Added Keywords||testsuite-fail --- Comment #2 from Andr

[Bug target/121752] g++.dg/tree-ssa/vector-compare-1.C fails on arm

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121752 --- Comment #1 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-regression/2025-September/082655.html

[Bug libstdc++/112440] Compiler does not grok basic_string::resize and basic_string::reserve if _CharT is char

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112440 Andrew Pinski changed: What|Removed |Added Keywords||alias Last reconfirmed|2023-11-08 00:

[Bug middle-end/117742] Inefficient code for __builtin_clear_padding

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117742 Andrew Pinski changed: What|Removed |Added Depends on||110459 Status|NEW

[Bug tree-optimization/110035] Missed optimization for dependent assignment statements

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110035 --- Comment #19 from Andrew Pinski --- (In reply to Andrew Pinski from comment #18) > So two things need to happen for copy prop to happen here. > > First is we need to see that `D.17357.__obj = *obj_2(D);` is full write to > `D.17357` which I

[Bug tree-optimization/121751] missing copy prop if the field is a full store

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121751 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-09-01 Ever confirmed|0

[Bug tree-optimization/121751] New: missing copy prop if the field is a full store

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121751 Bug ID: 121751 Summary: missing copy prop if the field is a full store Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug debug/121157] -gcodeview does not work with Ada

2025-09-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #22 from Sam James --- Unfortunately you didn't make the change I mentioned in response to the patch, so it didn't tag the bug. Anyway, you should commit to trunk *first*, then backport to 15 (only for regression fixes unless approve

[Bug c++/104105] Unused nothrow new not optimized

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

[Bug c++/87090] Constexpr variables in functions are not optimized correctly

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87090 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/121727] Missed optimization passing character actual to shorter dummy with value attribute

2025-09-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121727 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug tree-optimization/110035] Missed optimization for dependent assignment statements

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

[Bug debug/121157] -gcodeview does not work with Ada

2025-09-01 Thread maharmstone at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #23 from Mark Harmstone --- (In reply to Sam James from comment #22) > Unfortunately you didn't make the change I mentioned in response to the > patch, so it didn't tag the bug. Anyway, you should commit to trunk *first*, > then back

[Bug target/121749] [14/15/16 Regression] aarch64: Invalid assembly with vqshrn intrinsic since r14-1886-gd20b2ad845876e

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121749 --- Comment #2 from Andrew Pinski --- (insn:TI 11 14 17 (set (reg:SI 63 v31 [108]) (us_truncate:SI (lshiftrt:DI (reg:DI 63 v31) (const_int 33 [0x21] "/app/example.cpp":5:1 3935 {aarch64_uqshrn_ndi} (nil)) Using

[Bug middle-end/114391] catch() and immediate throw; could be optimized to noop

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114391 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2024-03-19 00:00:00 |2025-9-1 --- Comment #3 from Andrew Pin

[Bug debug/121157] -gcodeview does not work with Ada

2025-09-01 Thread maharmstone at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #21 from Mark Harmstone --- (In reply to Eric Botcazou from comment #20) > > -fgnat-encodings=all removes the DW_AT_upper_bound from the > > DW_TAG_subrange_type DIE in the array, so it's still not representable as a > > CodeView LF_

[Bug tree-optimization/71258] Missed optimizations: dynamic allocation, virtual calls, empty destructors

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71258 Andrew Pinski changed: What|Removed |Added Keywords|fixed-but-no-testcase, | |needs-bisection

[Bug tree-optimization/71258] Missed optimizations: dynamic allocation, virtual calls, empty destructors

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71258 Andrew Pinski changed: What|Removed |Added Known to fail||15.1.0 Known to work|

[Bug tree-optimization/59875] Missed unrolling opportunity

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59875 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2014-01-19 00:00:00 |2025-9-1 --- Comment #6 from Andrew Pins

[Bug target/121749] [14/15/16 Regression] aarch64: Invalid assembly with vqshrn intrinsic since r14-1886-gd20b2ad845876e

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121749 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/121749] [14/15/16 Regression] aarch64: Invalid assembly with vqshrn intrinsic since r14-1886-gd20b2ad845876e

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121749 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.4 CC|

[Bug fortran/121727] Missed optimization passing character actual to shorter dummy with value attribute

2025-09-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121727 --- Comment #3 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:082483dd79040d49351fac9074fc10c7dd810598 commit r16-3499-g082483dd79040d49351fac9074fc10c7dd810598 Author: Harald Anlauf Date: S

[Bug target/89828] Internal compiler error on -fno-omit-frame-pointer

2025-09-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89828 Sam James changed: What|Removed |Added Target Milestone|--- |16.0

[Bug target/113939] Switch m68k to LRA

2025-09-01 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113939 --- Comment #16 from John Paul Adrian Glaubitz --- (In reply to Mikael Pettersson from comment #15) > (In reply to John Paul Adrian Glaubitz from comment #13) > > (In reply to Mikael Pettersson from comment #12) > > > gcc-16-20250727 bootstraps

[Bug tree-optimization/121740] missed load fre/pre with std::optional

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121740 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/121740] missed load fre/pre with std::optional

2025-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121740 --- Comment #3 from Andrew Pinski --- (In reply to Richard Biener from comment #2) > p *ref > $9 = {ref = , base = 0x74fe5ab0>, > offset = {coeffs = {320}}, size = {coeffs = {8}}, max_size = {coeffs = > {8}}, > ref_alias_set = 21, bas

[Bug target/113939] Switch m68k to LRA

2025-09-01 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113939 --- Comment #15 from Mikael Pettersson --- (In reply to John Paul Adrian Glaubitz from comment #13) > (In reply to Mikael Pettersson from comment #12) > > gcc-16-20250727 bootstraps fine for me with a local patch to enable LRA, and > > --enable-

[Bug target/113939] Switch m68k to LRA

2025-09-01 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113939 --- Comment #14 from Segher Boessenkool --- (In reply to Mikael Pettersson from comment #12) > Could we perhaps switch the default to improve testing coverage with LRA? You do not have much time left for testing *without* LRA! Old reload will

[Bug target/121749] New: [14/15/16 Regression] aarch64: Invalid assembly with vqshrn intrinsic since r14-1886-gd20b2ad845876e

2025-09-01 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121749 Bug ID: 121749 Summary: [14/15/16 Regression] aarch64: Invalid assembly with vqshrn intrinsic since r14-1886-gd20b2ad845876e Product: gcc Version: 16.0 Status: UNCONFIRM

[Bug target/113939] Switch m68k to LRA

2025-09-01 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113939 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Com

[Bug target/89828] Inernal compiler error on -fno-omit-frame-pointer

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

[Bug target/89828] Inernal compiler error on -fno-omit-frame-pointer

2025-09-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89828 --- Comment #1 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:713299077407bd1472e14fa10a8d4565932da8da commit r16-3495-g713299077407bd1472e14fa10a8d4565932da8da Author: Yoshinori Sato Date: Mon Se

[Bug target/113939] Switch m68k to LRA

2025-09-01 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113939 --- Comment #13 from John Paul Adrian Glaubitz --- (In reply to Mikael Pettersson from comment #12) > gcc-16-20250727 bootstraps fine for me with a local patch to enable LRA, and > --enable-languages=c,c++,ada. I do see test suite regressions co

[Bug libstdc++/121745] The return of get(pair<_Up, _Tp>&& __p) may be ill-formed

2025-09-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121745 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug libstdc++/121745] The return of get(pair<_Up, _Tp>&& __p) may be ill-formed

2025-09-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121745 --- Comment #2 from Jonathan Wakely --- Oops the ones that take const pair&& need to use forward

[Bug rtl-optimization/121675] [13/14/15/16 Regression] wrong code at -O3 on x86_64-linux-gnu

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

[Bug fortran/121750] New: Diagnostic output: Improve column number in location data (and use more ranges)

2025-09-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121750 Bug ID: 121750 Summary: Diagnostic output: Improve column number in location data (and use more ranges) Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords

[Bug tree-optimization/101641] Bogus redundant store removal

2025-09-01 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101641 --- Comment #12 from Segher Boessenkool --- And in RTL there are no types at all. Everything just holds bit patterns, which are interpreted in various modes. You can never translate that to a C type, no matter how hard you try!

[Bug libstdc++/121745] The return of get(pair<_Up, _Tp>&& __p) may be ill-formed

2025-09-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121745 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug testsuite/121732] [16 Regression] g++.target/aarch64/spaceship_1.C needs to be updated after recent libstdc++ and spaceship opt changes

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

[Bug lto/121747] Bus error with -flto on sun4v

2025-09-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121747 Georg-Johann Lay changed: What|Removed |Added Host||sparc-sun-solaris2.11 Ta

[Bug tree-optimization/121698] [16 Regression] FAIL: g++.dg/opt/pr94589-2.C

2025-09-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121698 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/110812] Check availability of builtins at expand time

2025-09-01 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #26 from Kito Cheng --- Hi Andreas: Thanks for report the test result! And I can reproduce the highway's issue on my hand, and I suspect it's FRE's bug, I can pass with drop few patterns in gimple.md: ```diff diff --git a/gcc/matc

[Bug tree-optimization/101641] Bogus redundant store removal

2025-09-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101641 --- Comment #11 from Richard Biener --- (In reply to Segher Boessenkool from comment #10) [...] > > > > where set_noop_p for two MEMs simply dispatches to > > > > rtx_equal_p && !side_effects_p. > > > > > > Yes. Which is completely correct,

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-09-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 Jonathan Wakely changed: What|Removed |Added Resolution|--- |MOVED Status|UNCONFIRMED

[Bug target/120933] Turn on -mtls-dialect=gnu2 by default on x86-64

2025-09-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120933 --- Comment #21 from Sam James --- (In reply to Sam James from comment #20) > I only lightly tested the attached patch so far. ChangeLog needs updating > too. I need to decide on how to handle non-GNU ld (likely make it graceful and just assume

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-09-01 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 --- Comment #15 from Torbjorn SVENSSON --- (In reply to Iain Sandoe from comment #14) > thank you!!! > > please could you make a PR against the Darwin expect branch - since it's not > part of the GCC project there's not much we can do here. I'

[Bug lto/121747] Bus error with -flto on sun4v

2025-09-01 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121747 --- Comment #4 from Mikael Pettersson --- Bus error on a SPARC usually means "alignment error".

[Bug middle-end/121663] [16 Regression] ICE for line directive with large argument

2025-09-01 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121663 --- Comment #5 from Jan Hubicka --- > Looks like that. LOCATION_LINE is int, so when #line overflows it becomes > negative up to -2 and -1. The hash_map uses int_hash though, > which is 64-bit signed with -1 and -2 special values (Empty and De

[Bug middle-end/121663] [16 Regression] ICE for line directive with large argument

2025-09-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121663 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug middle-end/121663] [16 Regression] ICE for line directive with large argument

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

[Bug target/110812] Check availability of builtins at expand time

2025-09-01 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #25 from Andreas Schwab --- The other packages I tested (libgcrypt, openblas, pixman, sleef, volk) now build sucessfully.

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

2025-09-01 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 114298, which changed state. Bug 114298 Summary: std::lazy_split_view constructor is currently not explicit https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114298 What|Removed |Added

[Bug libstdc++/119744] [C++23] Implement P2711R1, Making multi-param constructors of views explicit

2025-09-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119744 Jonathan Wakely changed: What|Removed |Added CC||michael.kenzel at gmail dot com --- C

[Bug libstdc++/121748] [C++26] Implement P2988R12, std::optional

2025-09-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121748 --- Comment #1 from Jonathan Wakely --- Giuseppe has a WIP patch for this, which Tomasz might complete.

[Bug libstdc++/106852] Implement C++23 P2465R3 Standard Library Modules std and std.compat

2025-09-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106852 --- Comment #10 from Jonathan Wakely --- Should we close this as fixed, or keep it open until the testsuite can import std?

[Bug libstdc++/121748] New: [C++26] Implement P2988R12, std::optional

2025-09-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121748 Bug ID: 121748 Summary: [C++26] Implement P2988R12, std::optional Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: c++26 Severity: normal Priority: P3

[Bug libstdc++/114298] std::lazy_split_view constructor is currently not explicit

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

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-09-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 --- Comment #14 from Iain Sandoe --- thank you!!! please could you make a PR against the Darwin expect branch - since it's not part of the GCC project there's not much we can do here. AFAIU expect is not particularly maintained "upstream" but

[Bug tree-optimization/121744] Testing std::bitset isn't vectorized optimally

2025-09-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121744 Richard Biener changed: What|Removed |Added Summary|Testing std::bitset isn't |Testing std::bitset isn't

[Bug tree-optimization/121744] Testing std::bitset isn't vectorized

2025-09-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121744 --- Comment #2 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:20cd438f2f49ed4816cba9ecc558ee3377b342ba commit r16-3491-g20cd438f2f49ed4816cba9ecc558ee3377b342ba Author: Richard Biener Date:

[Bug testsuite/121690] [13/14/15/16 regression] Regression for dg-output checks on macOS

2025-09-01 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690 --- Comment #13 from Torbjorn SVENSSON --- Created attachment 62259 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62259&action=edit Patch to work around issue with read() in expect on macOS The attached a patch (used https://github.com/i

[Bug c/108694] need a new warning option for preparing migration to ISO C23

2025-09-01 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108694 --- Comment #10 from Mark Wielaard --- (In reply to Florian Weimer from comment #9) > If we have documentation suggesting to use those options in the Fedora > context or elsewhere, we should fix them. These options just aren't that > useful, and

[Bug c++/121746] New: ICE in fold_nonarray_ctor_reference

2025-09-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121746 Bug ID: 121746 Summary: ICE in fold_nonarray_ctor_reference Product: gcc Version: 15.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug lto/121747] Bus error with -flto on sun4v

2025-09-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121747 --- Comment #2 from Richard Biener --- Possibly some libiberty/simple-object-* issue.

[Bug lto/121747] Bus error with -flto on sun4v

2025-09-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121747 Georg-Johann Lay changed: What|Removed |Added Keywords|ice-on-valid-code | --- Comment #3 from Georg-Johann La

[Bug c++/121746] ICE in fold_nonarray_ctor_reference

2025-09-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121746 --- Comment #1 from Richard Biener --- Created attachment 62258 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62258&action=edit preprocessed source

[Bug libstdc++/121745] New: The return of get(pair<_Up, _Tp>&& __p) may be ill-formed

2025-09-01 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121745 Bug ID: 121745 Summary: The return of get(pair<_Up, _Tp>&& __p) may be ill-formed Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pri

[Bug lto/121747] New: Bus error with -flto on sun4v

2025-09-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121747 Bug ID: 121747 Summary: Bus error with -flto on sun4v Product: gcc Version: 15.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto As

[Bug tree-optimization/121744] Testing std::bitset isn't vectorized

2025-09-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121744 --- Comment #1 from Richard Biener --- Another inefficency in this testcase is that, of course, DR analysis of the std::bitset load fails, as { 0, +, 1 } >> 6 isn't affine. So we get an (eumlated) gather that we fail to fully untangle into sens

  1   2   >