[Bug target/121526] EBCDIC is incompatible with signed 8 bit char

2025-08-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121526 Richard Biener changed: What|Removed |Added Component|preprocessor|target Target|

[Bug c++/121524] [15/16 Regression] Trailing alignas leaks into subsequent types, with arrays

2025-08-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121524 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.3

[Bug tree-optimization/121522] [14/15/16 Regression] wrong code at -O3 on x86_64-linux-gnu (the generated code hangs)

2025-08-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121522 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.4 Keywords|

[Bug testsuite/121520] [16 regression] g++.dg/DRs/dr2575.C FAIL

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

[Bug fortran/89092] Host-associated generic used instead of use-associated TBP in call

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89092 --- Comment #3 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:e6f4543f63366433493b3870845b555fd00be7e6 commit r16-3178-ge6f4543f63366433493b3870845b555fd00be7e6 Author: Paul Thomas Date: Wed Au

[Bug c/121526] New: EBCDIC is incompatible with signed 8 bit char

2025-08-12 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121526 Bug ID: 121526 Summary: EBCDIC is incompatible with signed 8 bit char Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug testsuite/121520] [16 regression] g++.dg/DRs/dr2575.C FAIL

2025-08-12 Thread kishan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121520 --- Comment #2 from Kishan Parmar --- FAIL: g++.dg/DRs/dr2576.C -std=gnu++26 (test for excess errors) Excess errors: : error: keyword 'bool' defined as macro [-Wkeyword-macro]

[Bug middle-end/121136] Missed optimization: (x <= 0xFFFFF) in '-Os' mode can convert to ((x >> 20) == 0)

2025-08-12 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121136 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/121525] Add _Float16 support to PowerPC starting with power9

2025-08-12 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121525 Michael Meissner changed: What|Removed |Added Severity|normal |enhancement

[Bug target/121525] Add _Float16 support to PowerPC starting with power9

2025-08-12 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121525 Michael Meissner changed: What|Removed |Added Host||powerpc64le-linux CC

[Bug target/121525] New: Add _Float16 support to PowerPC starting with power9

2025-08-12 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121525 Bug ID: 121525 Summary: Add _Float16 support to PowerPC starting with power9 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug target/120476] LoongArch: -mtune=la664 is pessimizing even on LA664

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120476 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by LuluCheng : https://gcc.gnu.org/g:00c19ad6da2339add251579fef3d97b3f8a57c2f commit r14-11951-g00c19ad6da2339add251579fef3d97b3f8a57c2f Author: Lulu Cheng Date:

[Bug target/120476] LoongArch: -mtune=la664 is pessimizing even on LA664

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120476 --- Comment #6 from GCC Commits --- The releases/gcc-15 branch has been updated by LuluCheng : https://gcc.gnu.org/g:c4e96a094636b3c15b5e3bfde8673ec3b8172993 commit r15-10223-gc4e96a094636b3c15b5e3bfde8673ec3b8172993 Author: Lulu Cheng Date:

[Bug libfortran/121234] Bogus diagnostic on READ of string with semicolon.

2025-08-12 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121234 Jerry DeLisle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/120476] LoongArch: -mtune=la664 is pessimizing even on LA664

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120476 --- Comment #5 from GCC Commits --- The master branch has been updated by LuluCheng : https://gcc.gnu.org/g:d94178d9b3fb1cb869b90d6f061990eae75c770e commit r16-3177-gd94178d9b3fb1cb869b90d6f061990eae75c770e Author: Lulu Cheng Date: Wed Aug

[Bug libfortran/121234] Bogus diagnostic on READ of string with semicolon.

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121234 --- Comment #5 from GCC Commits --- The releases/gcc-15 branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:b078015d94152e0e6d19de67717371e79f05b18d commit r15-10222-gb078015d94152e0e6d19de67717371e79f05b18d Author: Jerry DeLisle

[Bug target/117599] LoongArch support for BitInt

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117599 --- Comment #2 from GCC Commits --- The master branch has been updated by LuluCheng : https://gcc.gnu.org/g:8079e96eb767851e8e061a13ecfb21aa1a2362de commit r16-3176-g8079e96eb767851e8e061a13ecfb21aa1a2362de Author: Yang Yujie Date: Sat Aug

[Bug c++/121524] [15/16 Regression] Trailing alignas leaks into subsequent types, with arrays

2025-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121524 --- Comment #5 from Andrew Pinski --- I am 90% sure it was caused by r15-6334.

[Bug target/118934] [15 Regression] RISC-V: ICE: output_operand: invalid expression as operand

2025-08-12 Thread lw297073896 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118934 liu mirko changed: What|Removed |Added CC||lw297073896 at gmail dot com --- Comment #5

[Bug c++/121524] [15/16 Regression] Trailing alignas leaks into subsequent types, with arrays

2025-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121524 --- Comment #4 from Andrew Pinski --- I suspect this will start happening when there is a pedantic message that shows up which exposed this.

[Bug c++/121524] [15/16 Regression] Trailing alignas leaks into subsequent types, sometimes

2025-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121524 --- Comment #3 from Andrew Pinski --- -pedantic-errors also rejects this: ``` :8:29: error: 'alignas' on a type other than class [-Wattributes] 8 | UT foo[8] alignas(32); | ^ ```

[Bug c++/121524] [15/16 Regression] Trailing alignas leaks into subsequent types, sometimes

2025-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121524 --- Comment #2 from Andrew Pinski --- clang rejects this: ``` :8:12: error: 'alignas' attribute cannot be applied to types 8 | UT foo[8] alignas(32); | ^ ```

[Bug c++/121524] [15/16 Regression] Trailing alignas leaks into subsequent types, sometimes

2025-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121524 --- Comment #1 from Andrew Pinski --- Created attachment 62107 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62107&action=edit more portable testcase

[Bug target/120763] [meta-bug] Tracker for bugs to visit during weekly RISC-V meeting

2025-08-12 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120763 Bug 120763 depends on bug 121113, which changed state. Bug 121113 Summary: ICE: in riscv_sched_variable_issue, at config/riscv/riscv.cc:10243 with -mcpu=xiangshan-kunminghu and _Float16 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121113

[Bug target/121113] ICE: in riscv_sched_variable_issue, at config/riscv/riscv.cc:10243 with -mcpu=xiangshan-kunminghu and _Float16

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

[Bug target/121113] ICE: in riscv_sched_variable_issue, at config/riscv/riscv.cc:10243 with -mcpu=xiangshan-kunminghu and _Float16

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121113 --- Comment #2 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:2e2589616ac18a0473e4f1e05dec6903d8131740 commit r16-3174-g2e2589616ac18a0473e4f1e05dec6903d8131740 Author: Jeff Law Date: Tue Aug 12

[Bug c++/121524] New: [15 Regression] Trailing alignas leaks into subsequent types, sometimes

2025-08-12 Thread headch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121524 Bug ID: 121524 Summary: [15 Regression] Trailing alignas leaks into subsequent types, sometimes Product: gcc Version: 15.2.0 Status: UNCONFIRMED Severity: norm

[Bug target/121498] long branches requires ra register but not modeled; causes issues sometimes with shrink wrapping and/or leaf functions

2025-08-12 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121498 --- Comment #7 from Jeffrey A. Law --- Note that GCC considers RA a fixed register because of its hidden uses. RA is not available to the regsiter allocator. There is special code to save/restore RA if the function is not a leaf function OR if

gcc-bugs@gcc.gnu.org

2025-08-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121516 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/119783] libgccjit test test-error-impossible-must-tail-call.c.exe fails (verify_code: actual: "cannot tail-call: memory reference or volatile after call" != expected: "cannot tail-call:

2025-08-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119783 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/119783] libgccjit test test-error-impossible-must-tail-call.c.exe fails (verify_code: actual: "cannot tail-call: memory reference or volatile after call" != expected: "cannot tail-call:

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119783 --- Comment #5 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:f622df9af2e7c1da35cf0c9b895dacc1fa75107a commit r16-3172-gf622df9af2e7c1da35cf0c9b895dacc1fa75107a Author: David Malcolm Date: T

gcc-bugs@gcc.gnu.org

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121516 --- Comment #2 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:d6d1fa0039e68e52c3d787d90b545842cbb24d32 commit r16-3171-gd6d1fa0039e68e52c3d787d90b545842cbb24d32 Author: David Malcolm Date: T

[Bug target/121498] long branches requires ra register but not modeled; causes issues sometimes with shrink wrapping and/or leaf functions

2025-08-12 Thread lw297073896 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121498 --- Comment #6 from liu mirko --- (In reply to Andrew Pinski from comment #4) > Note shrink wrapping is not the only time this could cause an issue, it can > cause an issue with leaf function where ra is not normally saved either. Yes. Because

[Bug target/121498] long branches requires ra register but not modeled; causes issues sometimes with shrink wrapping and/or leaf functions

2025-08-12 Thread lw297073896 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121498 --- Comment #5 from liu mirko --- (In reply to Andrew Pinski from comment #3) > Confirmed. Though the code is not enough to reproduce the issue. > > ``` > (define_insn "*branch" > [(set (pc) > (if_then_else > (match_operator

[Bug target/121497] [16 regression] ICE at -O{2,3} on x86_64-linux-gnu: in extract_insn, at recog.cc:2884 since r16-1644-gaba3b9d3a48a07

2025-08-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121497 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/121497] [16 regression] ICE at -O{2,3} on x86_64-linux-gnu: in extract_insn, at recog.cc:2884 since r16-1644-gaba3b9d3a48a07

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121497 --- Comment #2 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:9e30860f8c77309c9f74742fe8866d2ca0d0fe7a commit r16-3170-g9e30860f8c77309c9f74742fe8866d2ca0d0fe7a Author: H.J. Lu Date: Tue Aug 12 05

[Bug target/120811] RISC-V: missed load offset

2025-08-12 Thread smunnangi1 at ventanamicro dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120811 --- Comment #7 from Shreya Munnangi --- Sure, I'll go ahead with this. On Tue, Aug 12, 2025 at 2:07 PM law at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120811 > > --- Comment #6 from Jeff

[Bug tree-optimization/121523] [16 Regression] RISC-V: ICE in apply_scale, at profile-count.h:1187 since r16-3065-geee51f9a4b6

2025-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121523 --- Comment #1 from Andrew Pinski --- gcc_checking_assert (num >= 0 && den > 0); profile_probability scale_prob = (count_in * (iteration_bound + 1)).probability_in (loop->header->count);

[Bug testsuite/119783] libgccjit test test-error-impossible-must-tail-call.c.exe fails (verify_code: actual: "cannot tail-call: memory reference or volatile after call" != expected: "cannot tail-call:

2025-08-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119783 David Malcolm changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot gnu.org

[Bug target/121523] [16 Regression] RISC-V: ICE in apply_scale, at profile-count.h:1187 since r16-3065-geee51f9a4b6

2025-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121523 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |16.0 Keywords|

[Bug target/121523] New: [16 Regression] RISC-V: ICE in apply_scale, at profile-count.h:1187 since r16-3065-geee51f9a4b6

2025-08-12 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121523 Bug ID: 121523 Summary: [16 Regression] RISC-V: ICE in apply_scale, at profile-count.h:1187 since r16-3065-geee51f9a4b6 Product: gcc Version: 16.0 Status: UNCONFIRMED

gcc-bugs@gcc.gnu.org

2025-08-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121516 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/121498] long branches requires ra register but not modeled; causes issues sometimes with shrink wrapping and/or leaf functions

2025-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121498 --- Comment #4 from Andrew Pinski --- Note shrink wrapping is not the only time this could cause an issue, it can cause an issue with leaf function where ra is not normally saved either.

[Bug cobol/120621] COBOL isn't built with STRICT_WARN

2025-08-12 Thread jklowden at schemamania dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120621 --- Comment #21 from James K. Lowden --- On Fri, 01 Aug 2025 13:02:50 + "ro at gcc dot gnu.org" wrote: > I think so, yes. However, COBOL has been so much trouble that I've > decided to stop testing on my platforms. Hi Rainer, [off list]

[Bug target/121334] riscv: ICE compiling 523.xalancbmk_r with -fno-vect-cost-model

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

[Bug c++/121518] Deducing member array type from string literal

2025-08-12 Thread nedimsehic50 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121518 --- Comment #2 from Nedim Šehić --- I am working on a fix for this.

[Bug target/121334] riscv: ICE compiling 523.xalancbmk_r with -fno-vect-cost-model

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121334 --- Comment #4 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:980e1fc195325cd4637ce52d0e2b0e7fcc763f60 commit r16-3166-g980e1fc195325cd4637ce52d0e2b0e7fcc763f60 Author: Robin Dapp Date: Mon Aug 4

[Bug target/120811] RISC-V: missed load offset

2025-08-12 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120811 --- Comment #6 from Jeffrey A. Law --- It does look viable to fix this problem using Shreya's work. But there's one notable caveat. So I created an expander "addptr3" which is the magic expander that gets used by LRA when it needs to reload ad

[Bug tree-optimization/121522] New: wrong code at -O3 on x86_64-linux-gnu (the generated code hangs)

2025-08-12 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 16.0.0 20250812 (experimental) (GCC) [538] % [538] % gcctk -O2

[Bug middle-end/120935] [16 Regression] ICE building libstdc++ for mmix

2025-08-12 Thread pietro at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120935 pietro changed: What|Removed |Added Known to work||15.2.0 --- Comment #10 from pietro --- Since

[Bug c/121507] internal compiler error: in composite_type_cond, at c/c-typeck.cc:1028

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

[Bug target/121113] ICE: in riscv_sched_variable_issue, at config/riscv/riscv.cc:10243 with -mcpu=xiangshan-kunminghu and _Float16

2025-08-12 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121113 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/121507] internal compiler error: in composite_type_cond, at c/c-typeck.cc:1028

2025-08-12 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121507 uecker at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-checking --- Comment #1

[Bug fortran/89092] Host-associated generic used instead of use-associated TBP in call

2025-08-12 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89092 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org Assigne

[Bug c++/117784] [C++26] P2686R4 - constexpr structured bindings and references to constexpr variables

2025-08-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117784 Jakub Jelinek changed: What|Removed |Added CC||cooky.ykooc922 at gmail dot com --- Com

[Bug c++/121521] constexpr structured binding rejects tuple-protocol objects

2025-08-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121521 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/121521] New: elements of std::array in constexpr structured binding is not a constant expression

2025-08-12 Thread cooky.ykooc922 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121521 Bug ID: 121521 Summary: elements of std::array in constexpr structured binding is not a constant expression Product: gcc Version: 16.0 Status: UNCONFIRMED Seve

[Bug c++/121521] constexpr structured binding rejects tuple-protocol objects

2025-08-12 Thread cooky.ykooc922 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121521 --- Comment #1 from Desmond Gold --- Edited testcase: #include #include struct Point { int x, y, z; }; int main() { constexpr int arr[] {1, 2, 3}; constexpr auto [a, b, c] = arr; static constexpr std::array std_arr {4, 5, 6

[Bug target/121268] RISC-V: Possible optimization when manipulating rightmost bits with zbb enabled

2025-08-12 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121268 Palmer Dabbelt changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED CC|

[Bug target/121268] RISC-V: Possible optimization when manipulating rightmost bits with zbb enabled

2025-08-12 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121268 Vineet Gupta changed: What|Removed |Added CC||vineetg at gcc dot gnu.org Ass

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

2025-08-12 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #18 from Kito Cheng --- Just another smaller testcase to reproduce, and seem we hit a GC issue which need to fix first...: empty.c --- void foo(); int main(){ foo(); } --- vector.c --- #include uint8_t *x; void foo () { in

[Bug testsuite/121520] [16 regression] g++.dg/DRs/dr2575.C FAIL

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

[Bug testsuite/121520] New: [16 regression] g++.dg/DRs/dr2575.C FAIL

2025-08-12 Thread kishan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121520 Bug ID: 121520 Summary: [16 regression] g++.dg/DRs/dr2575.C FAIL Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: testsuite-fail Severity: normal Prior

[Bug tree-optimization/121519] [16 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in upper_bound, at value-range.h:1186

2025-08-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121519 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/121519] [16 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in upper_bound, at value-range.h:1186

2025-08-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121519 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Known to work|

[Bug testsuite/121511] FAIL: gcc.dg/asm-hard-reg-error-3.c on arm

2025-08-12 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121511 --- Comment #3 from Stefan Schulze Frielinghaus --- Ah that makes sense. Thanks for sharing! I created a patch adding option -marm: https://gcc.gnu.org/pipermail/gcc-patches/2025-August/692421.html

[Bug ipa/121519] New: ICE on valid code at -O3 on x86_64-linux-gnu: in upper_bound, at value-range.h:1186

2025-08-12 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121519 Bug ID: 121519 Summary: ICE on valid code at -O3 on x86_64-linux-gnu: in upper_bound, at value-range.h:1186 Product: gcc Version: unknown Status: UNCONFIRMED S

[Bug middle-end/121509] [16 Regression] runtime differences with -march=znver3

2025-08-12 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121509 --- Comment #11 from David Binderman --- (In reply to Richard Biener from comment #8) > Of course it requires a high level of obfuscation to get > this past unrolling, VRP and other opts that would do this. I find csmith very good indeed at fin

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

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121253 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:e82c8413eda498163ae2e0ecc458ea0428708c30 commit r16-3163-ge82c8413eda498163ae2e0ecc458ea0428708c30 Author: Richard Sandiford Da

[Bug middle-end/121509] [16 Regression] runtime differences with -march=znver3

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

[Bug middle-end/121509] [16 Regression] runtime differences with -march=znver3

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121509 --- Comment #9 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c5dab6fb402c93a92f6aa808c43956dfb9328190 commit r16-3162-gc5dab6fb402c93a92f6aa808c43956dfb9328190 Author: Richard Biener Date:

[Bug testsuite/121511] FAIL: gcc.dg/asm-hard-reg-error-3.c on arm

2025-08-12 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121511 --- Comment #2 from Christophe Lyon --- (In reply to Stefan Schulze Frielinghaus from comment #1) > (In reply to Christophe Lyon from comment #0) > > Given the dg-do line: > > /* { dg-do compile { target { { aarch64*-*-* powerpc64*-*-* riscv64-*

[Bug tree-optimization/121514] [16 Regression] ICE: tree check: expected ssa_name, have integer_cst in VN_INFO, at tree-ssa-sccvn.cc:460 at -O2 with __builtin_mul_overflow() since r16-3131

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121514 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a440b382e43203857de9195eb526c4a16f21ceb1 commit r16-3161-ga440b382e43203857de9195eb526c4a16f21ceb1 Author: Richard Biener Date:

[Bug tree-optimization/121514] [16 Regression] ICE: tree check: expected ssa_name, have integer_cst in VN_INFO, at tree-ssa-sccvn.cc:460 at -O2 with __builtin_mul_overflow() since r16-3131

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

[Bug middle-end/121509] [16 Regression] runtime differences with -march=znver3

2025-08-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121509 Richard Biener changed: What|Removed |Added Keywords|needs-reduction |missed-optimization --- Comment #8 fro

[Bug tree-optimization/121494] [16 Regression] c41303a started to fail after r16-3093-gc7de7ddbfae on a few targets

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

[Bug tree-optimization/121494] [16 Regression] c41303a started to fail after r16-3093-gc7de7ddbfae on a few targets

2025-08-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121494 --- Comment #7 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:2fe432175ef135037dea210002881a093f328779 commit r16-3160-g2fe432175ef135037dea210002881a093f328779 Author: Andrew Pinski Date: Mo

[Bug tree-optimization/121514] [16 Regression] ICE: tree check: expected ssa_name, have integer_cst in VN_INFO, at tree-ssa-sccvn.cc:460 at -O2 with __builtin_mul_overflow() since r16-3131

2025-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121514 --- Comment #3 from Andrew Pinski --- Here is another testcase: ``` void ar(int*); void av() { int b[4], d[4]; for (int c = 0; c < 2; ++c) b[c] = 0; unsigned e[4]; __builtin_memcpy(e, b, sizeof(b)); for (int c = 0; c < 4; ++c)

[Bug debug/100446] GDB has problems reading GCC's debugging info level -g3

2025-08-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100446 Sam James changed: What|Removed |Added Resolution|--- |MOVED Status|WAITING

[Bug debug/100446] GDB has problems reading GCC's debugging info level -g3

2025-08-12 Thread rdiez-2006 at rd10 dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100446 --- Comment #15 from R. Diez --- I just tested -g3 with a bigger, non-LTO firmware, and I am not seeing excessive CPU load and memory usage with GDB anymore. Debugging seems right. The versions are: cross-compiler GCC 15.2, Binutils 2.45 and GD

[Bug c++/121518] Deducing member array type from string literal

2025-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121518 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Blocks|

[Bug middle-end/121509] [16 Regression] runtime differences with -march=znver3

2025-08-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121509 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/121518] New: Deducing member array type from string literal

2025-08-12 Thread nedimsehic50 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121518 Bug ID: 121518 Summary: Deducing member array type from string literal Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/121493] Another missing Fre from a copy

2025-08-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121493 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---