[Bug c++/120412] New: Modules ICE using decltype and lambda across TUs

2025-05-22 Thread cjangus at gmail dot com via Gcc-bugs
ue ../../repo/gcc/cp/module.cc:9722 0x8b4bf1 tree_node ../../repo/gcc/cp/module.cc:10066 Build: Target: x86_64-pc-linux-gnu Configured with: ../repo/configure --prefix=/home/cjangus/gcc --enable-languages=c,c++ --disable-multilib gcc version 16.0.0 20250522 (experimental) (GCC)

[Bug c++/120411] New: ICE compiling module relating to typedef struct {}

2025-05-22 Thread cjangus at gmail dot com via Gcc-bugs
2; Target: x86_64-pc-linux-gnu Configured with: ../repo/configure --prefix=/home/cjangus/gcc --enable-languages=c,c++ --disable-multilib gcc version 16.0.0 20250522 (experimental) (GCC)

[Bug middle-end/120276] [16 Regression] ICE in partial_subreg_p with SVE

2025-05-22 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120276 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolutio

[Bug target/120410] New: [15/16 Regression] [SH] XTRCT instruction is no longer selected for shift after multiplication

2025-05-22 Thread zack+gcc at buhman dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120410 Bug ID: 120410 Summary: [15/16 Regression] [SH] XTRCT instruction is no longer selected for shift after multiplication Product: gcc Version: 15.1.0 Status: UNCONFIRMED

[Bug c++/120409] New: FAIL: g++.dg/coroutines/torture/pr119916.C

2025-05-22 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120409 Bug ID: 120409 Summary: FAIL: g++.dg/coroutines/torture/pr119916.C Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/120377] ICE with fmtlib and modules

2025-05-22 Thread cjangus at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120377 --- Comment #4 from Cameron Angus --- Managed to build from source, and indeed the reduced repro is fine, and my own code is also no longer giving the original ICE that it was. So seems the underlying issue must have been addressed in the last f

[Bug c++/103524] [meta-bug] modules issue

2025-05-22 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 120406, which changed state. Bug 120406 Summary: Modules ICE when including spdlog in Global Module Fragment https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120406 What|Removed |Added ---

[Bug c++/120406] Modules ICE when including spdlog in Global Module Fragment

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

[Bug c++/108080] ICE: in module.cc:core_vals with -fmodule-header and #pragma GCC target / optimize (shows up in fmt)

2025-05-22 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108080 Nathaniel Shead changed: What|Removed |Added CC||chrisi57001 at gmail dot com --- Comm

[Bug rtl-optimization/102850] [12/13/14/15/16 Regression] ICE in begin_move_insn, at sched-ebb.c:196 since r10-3502-g2e2c6df346ab70ed

2025-05-22 Thread ramana at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102850 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Co

[Bug target/103395] [12/13/14/15/16 Regression] ICE on qemu in arm create_fix_barrier

2025-05-22 Thread ramana at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395 Ramana Radhakrishnan changed: What|Removed |Added Status|NEW |WAITING --- Comment #23 from Ram

[Bug target/108495] [12/13/14/15/16 Regression] aarch64 ICE with __builtin_aarch64_rndr

2025-05-22 Thread ramana at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108495 --- Comment #19 from Ramana Radhakrishnan --- (In reply to Andrew Pinski from comment #18) > (In reply to Ramana Radhakrishnan from comment #17) > > Patch on bz , not sure if this is up for review ? > > I should be able to finish it up this wee

[Bug target/103938] [12/13/14/15/16 Regression] ICE with __builtin_prefetch and vectors

2025-05-22 Thread ramana at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103938 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Co

[Bug target/108495] [12/13/14/15/16 Regression] aarch64 ICE with __builtin_aarch64_rndr

2025-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108495 --- Comment #18 from Andrew Pinski --- (In reply to Ramana Radhakrishnan from comment #17) > Patch on bz , not sure if this is up for review ? I should be able to finish it up this week or next (depending on how I am feeling since I am sick tod

[Bug target/108495] [12/13/14/15/16 Regression] aarch64 ICE with __builtin_aarch64_rndr

2025-05-22 Thread ramana at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108495 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Co

[Bug target/117711] [15/16 Regression] ICE: in plus_constant, at explow.cc:102 with -mabi=ilp32 and string builtin

2025-05-22 Thread ramana at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117711 --- Comment #6 from Ramana Radhakrishnan --- Should we mark this WONTFIX this given ILP32 is deprecated ?

[Bug target/117814] [15/16 Regression] arm/MVE: regressions after r15-4734-g63b6967b06b538

2025-05-22 Thread ramana at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117814 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Co

[Bug tree-optimization/120408] Missed memset (len + 1) tree build_string() in gcc/tree.cc at 98575a51f588428a8c5c9d7c28d473c4a22caa7e

2025-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120408 --- Comment #1 from Andrew Pinski --- I am not even sure the tree.cc change is an improvement.

[Bug target/117366] [12/13/14/15/16 regression] arm thumb1 epilogue size optimizer violates -ffixed

2025-05-22 Thread ramana at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117366 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Co

[Bug target/120119] [15/16 Regression] GCC 15.1.0 ICEs (segfaults) compiling VK-GL-CTS on aarch64 with -O2 -mcpu=cortex-a57 since r15-5422

2025-05-22 Thread ramana at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120119 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Co

[Bug libstdc++/120407] [12.3/13/14/15/16 Regression] Binary size manifold for static linked MinGW target (e.g. std::__throw_system_error)

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

[Bug tree-optimization/120408] New: Missed memset (len + 1) tree build_string() in gcc/tree.cc at 98575a51f588428a8c5c9d7c28d473c4a22caa7e

2025-05-22 Thread kaelfandrew at gmail dot com via Gcc-bugs
x86_64-linux-gnu Configured with: ../gcc-trunk-20250522/configure --prefix=/opt/compiler-explorer/gcc-build/staging --enable-libstdcxx-backtrace=yes --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --disable-bootstrap --enable-multiarch --with-abi=m64 --with-multilib-list=m32,m

[Bug middle-end/120276] [16 Regression] ICE in partial_subreg_p with SVE

2025-05-22 Thread ramana at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120276 Ramana Radhakrishnan changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/120405] bfloat16-complex.c fails with -mcpu=neoverse-v2 but works with -mcpu=cortex-a57

2025-05-22 Thread ramana at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120405 --- Comment #3 from Ramana Radhakrishnan --- Thanks Andrew - makes sense and I read the analysis there. I didn't find it with my search skills on bugzilla :(

[Bug target/120405] bfloat16-complex.c fails with -mcpu=neoverse-v2 but works with -mcpu=cortex-a57

2025-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120405 --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111876#c4 describes what is going on and why -march=armv8-a works but -march=armv8.2-a does not (it is due to the enabling for fp16). And yes this is an exact dup

[Bug target/120404] RISC-V: inline asm FRM write ignored by FRM save/restore machinery

2025-05-22 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120404 --- Comment #2 from Vineet Gupta --- (In reply to Andrew Pinski from comment #1) > How is this different from PR 120263? PR120263 posited, incorrectly that inline asm need to save/restore around them. That was just a misunderstadning because cu

[Bug libstdc++/120407] [12.3/13/14/15/16 Regression] Binary size manifold for static linked MinGW target (e.g. std::__throw_system_error)

2025-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120407 --- Comment #1 from Andrew Pinski --- https://gcc.gnu.org/cgit/gcc/commit/?id=00ac6fa3f2a

[Bug c++/89867] internal compiler error: in layout_type, at stor-layout.c:2578 with auto and attributes

2025-05-22 Thread lloyd at randombit dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89867 Jack Lloyd changed: What|Removed |Added CC||lloyd at randombit dot net --- Comment #8 f

[Bug target/120405] New: bfloat16-complex.c fails with -mcpu=neoverse-v2 but works with -mcpu=cortex-a57

2025-05-22 Thread ramana at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120405 Bug ID: 120405 Summary: bfloat16-complex.c fails with -mcpu=neoverse-v2 but works with -mcpu=cortex-a57 Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severi

[Bug libstdc++/120407] New: [12.3/13/14/15/16 Regression] Binary size manifold for static linked MinGW target (e.g. std::__throw_system_error)

2025-05-22 Thread daniel.f.starke at freenet dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120407 Bug ID: 120407 Summary: [12.3/13/14/15/16 Regression] Binary size manifold for static linked MinGW target (e.g. std::__throw_system_error) Product: gcc Version:

[Bug c++/120406] New: Modules ICE when including spdlog in Global Module Fragment

2025-05-22 Thread chrisi57001 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120406 Bug ID: 120406 Summary: Modules ICE when including spdlog in Global Module Fragment Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity: normal

[Bug middle-end/111876] bf16 complex mul/div does not work when the target has +fp16 support or when -fexcess-precision=16 is supplied

2025-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111876 Andrew Pinski changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Comment #

[Bug target/120405] bfloat16-complex.c fails with -mcpu=neoverse-v2 but works with -mcpu=cortex-a57

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

[Bug target/114860] [14/15/16 regression] [aarch64] 511.povray regresses by ~5.5% with -O3 -flto -march=native -mcpu=neoverse-v2 since r14-10014-ga2f4be3dae04fa

2025-05-22 Thread ramana at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114860 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Co

[Bug c++/120395] Calls to std::__is_constant_evaluated() hurt codegen at -O0

2025-05-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120395 --- Comment #3 from Jonathan Wakely --- Thanks!

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

2025-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930 --- Comment #12 from Sam James --- (In reply to Martin Jambor from comment #11) > (In reply to Sam James from comment #4) > > -fno-ipa-cp works > > It does not help for me, can you double check, please? I can't reproduce that now either (i.e.

[Bug tree-optimization/111873] [12/13/14/15 regression] runtime Segmentation fault with '-O3 -fno-code-hoisting -fno-early-inlining -fno-tree-fre -fno-tree-pre' since r12-434-g93f8cb4965cebe

2025-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111873 --- Comment #20 from GCC Commits --- The releases/gcc-14 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:92d8b9970ea2ed59010a5f1a394cb98adffa63e8 commit r14-11797-g92d8b9970ea2ed59010a5f1a394cb98adffa63e8 Author: Martin Jambor

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

2025-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120389 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:895a8abad245365940939911e3d0de850522791e commit r16-832-g895a8abad245365940939911e3d0de850522791e Author: Gaius Mulley Date: Thu

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

2025-05-22 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930 --- Comment #11 from Martin Jambor --- (In reply to Sam James from comment #4) > -fno-ipa-cp works It does not help for me, can you double check, please?

[Bug c/105863] RFE: C23 #embed

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

[Bug tree-optimization/120403] Can't collapse two equality into one

2025-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120403 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #1 from

[Bug target/120404] RISC-V: inline asm FRM write ignored by FRM save/restore machinery

2025-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120404 --- Comment #1 from Andrew Pinski --- How is this different from PR 120263?

[Bug target/120404] New: RISC-V: inline asm FRM write ignored by FRM save/restore machinery

2025-05-22 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120404 Bug ID: 120404 Summary: RISC-V: inline asm FRM write ignored by FRM save/restore machinery Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/120403] New: Can't collapse two equality into one

2025-05-22 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120403 Bug ID: 120403 Summary: Can't collapse two equality into one Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-opt

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

2025-05-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120389 --- Comment #2 from Gaius Mulley --- Created attachment 61494 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61494&action=edit Proposed fix which incompatible types in Xindr Here is a proposed patch. $ cat badarray.mod MODULE badarray3 ;

[Bug c++/120395] Calls to std::__is_constant_evaluated() hurt codegen at -O0

2025-05-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120395 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug c/120402] New: gcobol does not check precedence of PIC characters

2025-05-22 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120402 Bug ID: 120402 Summary: gcobol does not check precedence of PIC characters Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug target/120144] [15/16 Regression] ICE when building libstdc++ on mips64-elf

2025-05-22 Thread giovannibajo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120144 Giovanni Bajo changed: What|Removed |Added CC||giovannibajo at gmail dot com,

[Bug cobol/120401] New: gcobol allows arithmetic on alphanumeric fields

2025-05-22 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120401 Bug ID: 120401 Summary: gcobol allows arithmetic on alphanumeric fields Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/85750] [12/13/14 Regression] Default initialization of derived type array missing

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

[Bug fortran/85750] [12/13/14/15/16 Regression] Default initialization of derived type array missing

2025-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85750 --- Comment #16 from GCC Commits --- The releases/gcc-15 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:6fb3dd1de63e48a0cc465973f9de24f680c3fde5 commit r15-9721-g6fb3dd1de63e48a0cc465973f9de24f680c3fde5 Author: Harald Anlauf

[Bug cobol/119324] cppcheck meets /cobol/

2025-05-22 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119324 --- Comment #8 from Robert Dubner --- I don't like making blind changes. I need to duplicate the report you created so that I know that any changes I make actually fix cppcheck outputs without creating new ones. The "problems" reported by Cppc

[Bug cobol/119805] FE: COMP-5 / COMP-X issues

2025-05-22 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119805 --- Comment #2 from Simon Sobisch --- ... no, only fails without dialect; with gnu/ibm now compiles

[Bug c++/120400] C++ FE optimisations reorder && operands.

2025-05-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120400 --- Comment #10 from Iain Sandoe --- (In reply to Iain Sandoe from comment #8) > (In reply to Andrew Pinski from comment #7) > > I think if you set TREE_SIDE_EFFECTS on the decls that have a D_V_E, then it > > might just work. > > i can also tr

[Bug cobol/119768] FE: parsing PIC N and NAT is broken

2025-05-22 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119768 --- Comment #1 from Simon Sobisch --- still happens; note: for improved error handling the "guessed Alphanumeric-edited" could be used to internally define nat, for example as plain PIC X, that would prevent the second error

[Bug cobol/119805] FE: COMP-5 / COMP-X issues

2025-05-22 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119805 --- Comment #1 from Simon Sobisch --- still failing with today's package

[Bug cobol/119821] FE (parser): CONFIGURATION SECTION rejects valid code - empty paragraphs

2025-05-22 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119821 Simon Sobisch changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/120263] RISC-V: FRM not restored if clobbered via inline asm

2025-05-22 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120263 Vineet Gupta changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug cobol/119883] codegen: recursive user-defined functions don't run recursive

2025-05-22 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119883 Simon Sobisch changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug cobol/119638] WRITE FROM x BEFORE Y raises compile error (SQ207M)

2025-05-22 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119638 --- Comment #2 from Simon Sobisch --- Ooops - current debian package results in gcobol tests/cobol85/SQ/SQ207M.CBL (null):0: confused by earlier errors, bailing out That seems like a sever bug (@jklowden: feel free to create a new one for th

[Bug cobol/119634] compile error: sorry, unimplemented: Global declarative _DECLARATIVES_EVAL1

2025-05-22 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119634 --- Comment #1 from Simon Sobisch --- rechecked with today's debian package (now gcc 16), the result is identical, also with -dialect ibm Note: current versions still document the USE statement for procedures https://www.ibm.com/docs/en/cobol-z

[Bug c++/120400] C++ FE optimisations reorder && operands.

2025-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120400 --- Comment #7 from Andrew Pinski --- I think if you set TREE_SIDE_EFFECTS on the decls that have a D_V_E, then it might just work.

[Bug c++/120400] C++ FE optimisations reorder && operands.

2025-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120400 --- Comment #9 from Andrew Pinski --- (In reply to Iain Sandoe from comment #8) > (In reply to Andrew Pinski from comment #7) > > I think if you set TREE_SIDE_EFFECTS on the decls that have a D_V_E, then it > > might just work. > > i can also t

[Bug c++/120400] C++ FE optimisations reorder && operands.

2025-05-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120400 --- Comment #8 from Iain Sandoe --- (In reply to Andrew Pinski from comment #7) > I think if you set TREE_SIDE_EFFECTS on the decls that have a D_V_E, then it > might just work. i can also try that (but I'd want to avoid doing something that's

[Bug c++/120400] C++ FE optimisations reorder && operands.

2025-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120400 --- Comment #6 from Andrew Pinski --- (In reply to Iain Sandoe from comment #5) > > I must say it's also somewhat odd that the folder chooses the more expensive > condition to come first - but then if there's no short-circuiting then all > the

[Bug c++/120400] C++ FE optimisations reorder && operands.

2025-05-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120400 --- Comment #5 from Iain Sandoe --- (In reply to Iain Sandoe from comment #4) > (In reply to Andrew Pinski from comment #3) > > that is TRUTH_ANDIF_EXPR being converted into TRUTH_AND_EXPR in fold because > > fold thinks coro_before_return and c

[Bug c++/120400] C++ FE optimisations reorder && operands.

2025-05-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120400 --- Comment #4 from Iain Sandoe --- (In reply to Andrew Pinski from comment #3) > that is TRUTH_ANDIF_EXPR being converted into TRUTH_AND_EXPR in fold because > fold thinks coro_before_return and cond don't have side effects as they are > normal

[Bug cobol/119520] cobol1: internal compiler error: Segmentation fault (use of field with unknown TYPEDEF)

2025-05-22 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119520 Simon Sobisch changed: What|Removed |Added Resolution|WORKSFORME |FIXED --- Comment #2 from Simon Sobisch

[Bug c++/120400] C++ FE optimisations reorder && operands.

2025-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120400 Andrew Pinski changed: What|Removed |Added Component|middle-end |c++ --- Comment #3 from Andrew Pinski

[Bug middle-end/120400] C++ FE optimisations reorder && operands.

2025-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120400 Andrew Pinski changed: What|Removed |Added Component|c++ |middle-end --- Comment #2 from Andrew P

[Bug c++/120400] C++ FE optimisations reorder && operands.

2025-05-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120400 Iain Sandoe changed: What|Removed |Added Version|15.0|16.0 --- Comment #1 from Iain Sandoe ---

[Bug tree-optimization/120392] [12/13/14/15/16 REgression] ICE with VLA typedef and function splitting/eiline

2025-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120392 Andrew Pinski changed: What|Removed |Added Known to work|10.3.1 | --- Comment #13 from Andrew Pinski --

[Bug target/119590] macOS 15.4 SDK is not GCC compatible

2025-05-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119590 --- Comment #8 from Iain Sandoe --- (In reply to Alisdair Meredith from comment #7) > For a short term workaround adding `-D_Alignof=alignof` to your command > lines should work -- at least according to my quick testing. > > If gcc were to add

[Bug cobol/119461] record layout done in odd ways

2025-05-22 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119461 James K. Lowden changed: What|Removed |Added CC||jklowden at gcc dot gnu.org

[Bug cobol/119520] cobol1: internal compiler error: Segmentation fault (use of field with unknown TYPEDEF)

2025-05-22 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119520 James K. Lowden changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jklowden at gcc dot gnu.org

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

2025-05-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c++/120400] New: C++ FE optimisations reorder && operands.

2025-05-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120400 Bug ID: 120400 Summary: C++ FE optimisations reorder && operands. Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

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

2025-05-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785 --- Comment #2 from Jakub Jelinek --- Created attachment 61493 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61493&action=edit gcc16-pr117785-wip.patch Very early WIP patch. This can right now handle a trivial exception throwing + catchi

[Bug target/70557] uint64_t zeroing on 32-bit hardware

2025-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70557 --- Comment #14 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:c77085970ec98916e12e079a5a9d9530b86aae71 commit r16-824-gc77085970ec98916e12e079a5a9d9530b86aae71 Author: Siarhei Volkau Date: Thu Ma

[Bug target/119590] macOS 15.4 SDK is not GCC compatible

2025-05-22 Thread alisdairm at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119590 Alisdair Meredith changed: What|Removed |Added CC||alisdairm at me dot com --- Comment

[Bug libstdc++/120399] Rename and refactor std::__uninitialized_default* algos

2025-05-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120399 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/120399] Rename and refactor std::__uninitialized_default* algos

2025-05-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120399 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |16.0

[Bug libstdc++/120399] New: Rename and refactor std::__uninitialized_default* algos

2025-05-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120399 Bug ID: 120399 Summary: Rename and refactor std::__uninitialized_default* algos Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: minor Priori

[Bug tree-optimization/109892] SLP failure with explicit fma

2025-05-22 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109892 --- Comment #3 from Alexander Monakov --- In the meantime codegen for 'g' substantially regressed (with or without -mfma), PR 120398.

[Bug libstdc++/120397] std::uninitialized_value_construct cannot create arrays of non-trivially destructible types

2025-05-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120397 --- Comment #4 from Jonathan Wakely --- --- a/libstdc++-v3/include/bits/stl_uninitialized.h +++ b/libstdc++-v3/include/bits/stl_uninitialized.h @@ -118,7 +118,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ~_UninitDestroyGuard() { i

[Bug tree-optimization/120398] New: vectorization emits shuffles followed by scalar adds

2025-05-22 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120398 Bug ID: 120398 Summary: vectorization emits shuffles followed by scalar adds Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug tree-optimization/120392] [12/13/14/15/16 REgression] ICE with VLA typedef and function splitting/eiline

2025-05-22 Thread admin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120392 ad...@u-group13.org changed: What|Removed |Added Known to work||10.3.1 --- Comment #12 from ad...@

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

2025-05-22 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120357 Alex Coplan changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org Su

[Bug c++/120385] [14/15/16 Regression] GCC 14 incorrectly accepts array prvalues with certain operators

2025-05-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120385 Jason Merrill changed: What|Removed |Added Last reconfirmed||2025-05-22 Status|UNCONFIRM

[Bug libstdc++/120397] std::uninitialized_value_construct cannot create arrays of non-trivially destructible types

2025-05-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120397 --- Comment #3 from Jonathan Wakely --- ~_UninitDestroyGuard() { if (__builtin_expect(_M_cur != 0, 0)) std::_Destroy(_M_first, *_M_cur); } If we handle arrays here then it doesn't impact other uses of std::_D

[Bug libstdc++/120397] std::uninitialized_value_construct cannot create arrays of non-trivially destructible types

2025-05-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120397 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #0) > We could either stop using std::_Destroy(first, cur) in the uninitialized > algos (no thanks), or make std::_Destroy(first, cur) handle arrays, or make > std

[Bug libstdc++/120397] std::uninitialized_value_construct cannot create arrays of non-trivially destructible types

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

[Bug libstdc++/120397] New: std::uninitialized_value_construct cannot create arrays of non-trivially destructible types

2025-05-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120397 Bug ID: 120397 Summary: std::uninitialized_value_construct cannot create arrays of non-trivially destructible types Product: gcc Version: 16.0 Status: UNCONFIRMED

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

2025-05-22 Thread alansnape3058 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120354 --- Comment #2 from Ella Ma --- Sorry, I made a mistake when making the example. This problem happens when the flex-array member is not the last, **and the members below it are in a record type**. (GCC will report if they are in integer types)

[Bug middle-end/120372] canonicalize_comparison uses gen_move_insn to calcualate the cost of the constant formation

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

[Bug middle-end/120372] canonicalize_comparison uses gen_move_insn to calcualate the cost of the constant formation

2025-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120372 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:bb7b6d9ad7f89ebc68c9d1eff16bec95f6e81cd9 commit r16-823-gbb7b6d9ad7f89ebc68c9d1eff16bec95f6e81cd9 Author: Andrew Pinski Date: Tue

[Bug middle-end/120372] canonicalize_comparison uses gen_move_insn to calcualate the cost of the constant formation

2025-05-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120372 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:21a487046f4acda0d7d3aaed08a99501bd0430d3 commit r16-822-g21a487046f4acda0d7d3aaed08a99501bd0430d3 Author: Andrew Pinski Date: Tue

[Bug c++/120395] Calls to std::__is_constant_evaluated() hurt codegen at -O0

2025-05-22 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120395 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Ever confi

[Bug tree-optimization/120396] [12/13/14/15/16 Regression] unprofitable SLP vectorization, leaves scalar parts live

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

[Bug tree-optimization/120396] [12/13/14/15/16 Regression] unprofitable SLP vectorization, leaves scalar parts live

2025-05-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120396 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.5 Known to work|

  1   2   >