[Bug target/120840] CPython miscompiled with preserve_none

2025-06-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120840 H.J. Lu changed: What|Removed |Added Target Milestone|--- |16.0

[Bug target/120841] gcc prefer non-volatile register produces sub optimal code

2025-06-27 Thread rockeet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120841 --- Comment #2 from rockeet --- (In reply to Andrew Pinski from comment #1) > Gcc is already better than llvm by figuring out the return of memcpy is the > first argument. > > I am not sure if the one extra move is going hurt here either. Yes,

[Bug target/120841] gcc prefer non-volatile register produces sub optimal code

2025-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120841 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Target|X86_64

[Bug middle-end/120842] optimization for check many equal by bits or

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120842 Andrew Pinski changed: What|Removed |Added Component|c++ |middle-end Severity|normal

[Bug middle-end/120842] optimization for check many equal by bits or

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120842 --- Comment #1 from Andrew Pinski --- There might be a dup of this one already.

[Bug c++/120842] New: optimization for check many equal by bits or

2025-06-27 Thread rockeet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120842 Bug ID: 120842 Summary: optimization for check many equal by bits or Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/120839] [16 Regression] ICE on x86_64-linux-gnu: in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8738 at -O1 and above with aligned on struct

2025-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120839 Richard Biener changed: What|Removed |Added Target|X86_64 |x86_64-*-* Priority|P3

[Bug fortran/120843] New: [Coarray] Inconsistent ranks for operator reported when coarray ranks differ

2025-06-27 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120843 Bug ID: 120843 Summary: [Coarray] Inconsistent ranks for operator reported when coarray ranks differ Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: n

[Bug fortran/120843] [Coarray] Inconsistent ranks for operator reported when coarray ranks differ

2025-06-27 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120843 Andre Vehreschild changed: What|Removed |Added Priority|P3 |P4 Known to fail|

[Bug c/120844] New: ICE on x86_64-linux-gnu: Segmentation fault during GIMPLE pass: omplower

2025-06-27 Thread jiangchangwu at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120844 Bug ID: 120844 Summary: ICE on x86_64-linux-gnu: Segmentation fault during GIMPLE pass: omplower Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: norma

[Bug debug/120849] New: Missing debug (tree)

2025-06-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120849 Bug ID: 120849 Summary: Missing debug (tree) Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: u

[Bug target/120839] [16 Regression] ICE on x86_64-linux-gnu: in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8738 at -O1 and above with aligned on struct

2025-06-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120839 --- Comment #4 from H.J. Lu --- User alignment is ignored for parameters passed on stack: static unsigned int ix86_function_arg_boundary (machine_mode mode, const_tree type) { unsigned int align; if (type) { /* Since the main var

[Bug c++/55004] [meta-bug] constexpr issues

2025-06-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 120777, which changed state. Bug 120777 Summary: [C++26] P3533R2 - constexpr virtual inheritance https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120777 What|Removed |Added -

[Bug c++/110338] Implement C++26 language features

2025-06-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110338 Bug 110338 depends on bug 120777, which changed state. Bug 120777 Summary: [C++26] P3533R2 - constexpr virtual inheritance https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120777 What|Removed |Added ---

[Bug c++/120756] [12/13/14/15/16 Regression] internal compiler error: error reporting routines re-entered with [[deprecated]]

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120756 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:a394cfb29adf603b72151d2423270db6516b05ed commit r16-1754-ga394cfb29adf603b72151d2423270db6516b05ed Author: Marek Polacek Date: We

[Bug middle-end/89544] Argument marshalling incorrectly assumes stack slots are naturally aligned.

2025-06-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89544 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug sanitizer/119356] [15 Regression] libsanitizer fails to build on riscv musl

2025-06-27 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119356 Jeffrey A. Law changed: What|Removed |Added Summary|[15/16 regression] |[15 Regression] |lib

[Bug fortran/120784] fortran: issue with use-association renames and interface

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784 --- Comment #12 from GCC Commits --- The releases/gcc-15 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:1b8a32a0bb69b52fa8d1b80cdb6a1581d0cfa5d4 commit r15-9869-g1b8a32a0bb69b52fa8d1b80cdb6a1581d0cfa5d4 Author: Harald Anlauf

[Bug target/120839] [16 Regression] ICE on x86_64-linux-gnu: in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8738 at -O1 and above with aligned on struct

2025-06-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120839 --- Comment #3 from H.J. Lu --- crtl->parm_stack_boundary == 128 looks odd: (gdb) list 2612 stack. */ 2613 if (!in_regs && crtl->parm_stack_boundary < data->locate.boundary) 2614crtl->parm_stack_boundary = data->locate.bou

[Bug fortran/120812] [regression] buffer(80:80) = C_NEW_LINE not working with gfortran 15.1 under Mac

2025-06-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120812 --- Comment #12 from anlauf at gcc dot gnu.org --- (In reply to Christophe Peyret from comment #11) > same on Mac ARM :) Good. So it is most likely the issue with SAVEd pointer/allocatable that was recently fixed. To verify, you can try the fo

[Bug fortran/120784] fortran: issue with use-association renames and interface

2025-06-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784 --- Comment #10 from anlauf at gcc dot gnu.org --- Regtested fine here. Submitted: https://gcc.gnu.org/pipermail/fortran/2025-June/062395.html

[Bug fortran/120784] fortran: issue with use-association renames and interface

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784 --- Comment #11 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:ddff83b3dde4a8308d0e156f85693e7176b85524 commit r16-1749-gddff83b3dde4a8308d0e156f85693e7176b85524 Author: Harald Anlauf Date:

[Bug c++/120777] [C++26] P3533R2 - constexpr virtual inheritance

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120777 --- Comment #4 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f86ebb00406dafed3b8ebeae6e9e9d613abdf2ec commit r16-1751-gf86ebb00406dafed3b8ebeae6e9e9d613abdf2ec Author: Jakub Jelinek Date: F

[Bug c++/120777] [C++26] P3533R2 - constexpr virtual inheritance

2025-06-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120777 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Assignee|unassigned

[Bug target/120839] [16 Regression] Incorrect alignment for arguments on stack

2025-06-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120839 H.J. Lu changed: What|Removed |Added Summary|[16 Regression] ICE on |[16 Regression] Incorrect |

[Bug target/120839] [16 Regression] Incorrect alignment for arguments on stack

2025-06-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120839 --- Comment #6 from H.J. Lu --- Created attachment 61739 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61739&action=edit A patch I am testing this.

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #9 from Sam James --- Created attachment 61740 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61740&action=edit foo.ii.xz

[Bug tree-optimization/120358] [15/16 regression] qtbase-6.9.0 miscompiled since r15-580-gf3e5f4c58591f5

2025-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 Sam James changed: What|Removed |Added CC||kacper.slominski72 at gmail dot co

[Bug sanitizer/120837] [12/13/14/15/16 regression] False-positive from -fsanitize=undefined

2025-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120837 Sam James changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/89544] Argument marshalling incorrectly assumes stack slots are naturally aligned.

2025-06-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89544 --- Comment #11 from H.J. Lu --- Created attachment 61741 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61741&action=edit A patch to check backend for argument alignment on stack

[Bug fortran/120847] New: [Coarray] ICE after "Component ... already declared at..." when type with coarray comp is defined

2025-06-27 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120847 Bug ID: 120847 Summary: [Coarray] ICE after "Component ... already declared at..." when type with coarray comp is defined Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug tree-optimization/120780] Missed __builtin_dynamic_object_size optimization(?)

2025-06-27 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120780 --- Comment #18 from Siddhesh Poyarekar --- Patch posted: https://inbox.sourceware.org/gcc-patches/20250627114027.3078668-1-siddh...@gotplt.org/T/#u

[Bug c++/120845] [16 Regression] C++ multiline module declaration is not accepted by g++

2025-06-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120845 Jonathan Wakely changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/120845] [16 Regression] C++ multiline module declaration is not accepted by g++

2025-06-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120845 --- Comment #3 from Jakub Jelinek --- This looks invalid to me (sure, gcc shouldn't ICE on it). module is a preprocessing directive, see https://eel.is/c++draft/cpp.module and I don't see any different wording regarding new-lines there compared

[Bug target/120839] [16 Regression] ICE on x86_64-linux-gnu: in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8738 at -O1 and above with aligned on struct

2025-06-27 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120839 Uroš Bizjak changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug sanitizer/120471] [12/13/14/15/16 regression] -fsanitize=undefined causes read of uninitialized variable when accessing element in an array at -O0 level

2025-06-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120471 --- Comment #12 from Jakub Jelinek --- cp_build_array_ref does: 4003case COND_EXPR: 4004 ret = build_conditional_expr 4005 (loc, TREE_OPERAND (array, 0), 4006 cp_build_array_ref (loc, TREE_OPE

[Bug target/113934] Switch avr to LRA

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113934 --- Comment #12 from GCC Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:49d58d8da2281ec66c376ca998d29652e417f4cd commit r16-1733-g49d58d8da2281ec66c376ca998d29652e417f4cd Author: Georg-Johann Lay Da

[Bug target/113934] Switch avr to LRA

2025-06-27 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113934 Georg-Johann Lay changed: What|Removed |Added Target Milestone|--- |16.0 Resolution|---

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

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

[Bug middle-end/120837] [12/13/14/15/16 regression] False-positive from -fsanitize=undefined

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120837 Andrew Pinski changed: What|Removed |Added Component|sanitizer |middle-end --- Comment #10 from Andrew

[Bug ada/120854] New: gnat never exits

2025-06-27 Thread commaperiodsemicolon at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120854 Bug ID: 120854 Summary: gnat never exits Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unass

[Bug c/120852] [12/13/14/15/16 Regression] internal compiler error: in analyze_functions, at cgraphunit.cc:1418

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

[Bug sanitizer/120837] [12/13/14/15/16 regression] False-positive from -fsanitize=undefined

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120837 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > The bad IR is there in GCC 11 though. And even 4.9.1.

[Bug sanitizer/120837] [12/13/14/15/16 regression] False-positive from -fsanitize=undefined

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120837 --- Comment #8 from Andrew Pinski --- The bad IR is there in GCC 11 though.

[Bug middle-end/120837] [12/13/14/15/16 regression] False-positive from -fsanitize=undefined

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120837 --- Comment #11 from Andrew Pinski --- (In reply to Andrew Pinski from comment #10) > 4.7.1 did: > : > iftmp.0 = &MEM[(void *)&b + -8B]; > goto ; > : > iftmp.0 = &MEM[(void *)&a + -8B]; > : > > So where is th

[Bug c/120850] provide an special __builtin_memset_explicit

2025-06-27 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120850 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Statu

[Bug c/120850] provide an special __builtin_memset_explicit

2025-06-27 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120850 --- Comment #12 from Xi Ruoyao --- I.e. on the contrary the normal memset() *can* be optimized away *just because* we have a __builtin_memset.

[Bug tree-optimization/120808] SLP unable to combine .FMA and .FMS to VEC_FMADDSUB

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120808 --- Comment #6 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:08bdb6b4a32f1f696862db25fdcc364870b52d82 commit r16-1731-g08bdb6b4a32f1f696862db25fdcc364870b52d82 Author: Richard Biener Date:

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

2025-06-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 120808, which changed state. Bug 120808 Summary: SLP unable to combine .FMA and .FMS to VEC_FMADDSUB https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120808 What|Removed |Added -

[Bug tree-optimization/120808] SLP unable to combine .FMA and .FMS to VEC_FMADDSUB

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

[Bug target/120818] [16 Regression] g++.target/i386/shrink_wrap_separate.C FAILs

2025-06-27 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120818 --- Comment #1 from cuilili --- Created attachment 61730 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61730&action=edit fix patch Hi Rainer, Thank you for reporting this issue and giving the actual output. I have relaxed the testcase c

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

2025-06-27 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120811 --- Comment #4 from Jeffrey A. Law --- *** Bug 120459 has been marked as a duplicate of this bug. ***

[Bug libstdc++/110739] std::format for chrono types compiles very slowly

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110739 --- Comment #6 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:3cc45681c66e7385299cb8bdb0aa5b5123a9524e commit r16-1735-g3cc45681c66e7385299cb8bdb0aa5b5123a9524e Author: Tomasz KamiÅski Date:

[Bug target/113932] [meta-bug] Targets which should be ported to LRA

2025-06-27 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113932 Bug 113932 depends on bug 113934, which changed state. Bug 113934 Summary: Switch avr to LRA https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113934 What|Removed |Added -

[Bug target/120459] RISC-V: redundant addi

2025-06-27 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120459 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRM

[Bug c++/98735] ICE with -std=c++20 -fmodules-ts -fsanitize=undefined

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98735 --- Comment #7 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:0337e3c2743ca0c57da8c6b78b725a7d83f0b721 commit r16-1738-g0337e3c2743ca0c57da8c6b78b725a7d83f0b721 Author: Nathaniel Shead Date:

[Bug c++/98735] ICE with -std=c++20 -fmodules-ts -fsanitize=undefined

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98735 --- Comment #6 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:e3db74150f5eee104b996cc6f69d3e721b8832b9 commit r16-1736-ge3db74150f5eee104b996cc6f69d3e721b8832b9 Author: Nathaniel Shead Date:

[Bug c++/120040] Module ICE when constexpr function calls new on class withe empty destructor.

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120040 --- Comment #2 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:e3db74150f5eee104b996cc6f69d3e721b8832b9 commit r16-1736-ge3db74150f5eee104b996cc6f69d3e721b8832b9 Author: Nathaniel Shead Date:

[Bug c++/118904] [modules] ICE with std::source_location::current in inline function

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118904 --- Comment #1 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:0337e3c2743ca0c57da8c6b78b725a7d83f0b721 commit r16-1738-g0337e3c2743ca0c57da8c6b78b725a7d83f0b721 Author: Nathaniel Shead Date:

[Bug c++/120040] Module ICE when constexpr function calls new on class withe empty destructor.

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120040 --- Comment #3 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:48a9567e4100fd6a734089087c139d51b63b7531 commit r16-1737-g48a9567e4100fd6a734089087c139d51b63b7531 Author: Nathaniel Shead Date:

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

2025-06-27 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 120040, which changed state. Bug 120040 Summary: Module ICE when constexpr function calls new on class withe empty destructor. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120040 What|Removed

[Bug c++/98735] ICE with -std=c++20 -fmodules-ts -fsanitize=undefined

2025-06-27 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98735 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

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

2025-06-27 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 98735, which changed state. Bug 98735 Summary: ICE with -std=c++20 -fmodules-ts -fsanitize=undefined https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98735 What|Removed |Added

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

2025-06-27 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 118904, which changed state. Bug 118904 Summary: [modules] ICE with std::source_location::current in inline function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118904 What|Removed |

[Bug c++/118904] [modules] ICE with std::source_location::current in inline function

2025-06-27 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118904 Nathaniel Shead changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug libstdc++/110739] std::format for chrono types compiles very slowly

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110739 --- Comment #7 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:e99040403f70cd4741f876bffa64259df8ab2199 commit r16-1739-ge99040403f70cd4741f876bffa64259df8ab2199 Author: Tomasz KamiÅski Date:

[Bug target/120714] RISC-V: incorrect frame pointer CFA address for stack-clash protection loops

2025-06-27 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120714 Jeffrey A. Law changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/120850] New: provide an special __builtin_memset_explicit

2025-06-27 Thread crrodriguez at opensuse dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120850 Bug ID: 120850 Summary: provide an special __builtin_memset_explicit Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/120850] provide an special __builtin_memset_explicit

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120850 --- Comment #2 from Andrew Pinski --- Using an inline-asm to cause compiler barriers should be enough to stop gcc from optimizing the code away.

[Bug c/120850] provide an special __builtin_memset_explicit

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120850 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Andrew

[Bug c/120850] provide an special __builtin_memset_explicit

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

[Bug target/120840] [16 Regression] CPython miscompiled with preserve_none

2025-06-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120840 --- Comment #10 from H.J. Lu --- Python/ceval.o is miscompiled.

[Bug c/120851] New: internal compiler error: in expand_call, at calls.cc:3729

2025-06-27 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120851 Bug ID: 120851 Summary: internal compiler error: in expand_call, at calls.cc:3729 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c/120850] provide an special __builtin_memset_explicit

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120850 --- Comment #8 from Andrew Pinski --- > unless this is a special function known to the compiler it still be subject > to optimizations that will break this rules. Why do you think that is the case? Do you any examples of that because that woul

[Bug c/120850] provide an special __builtin_memset_explicit

2025-06-27 Thread crrodriguez at opensuse dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120850 --- Comment #9 from Cristian Rodríguez --- (In reply to Andrew Pinski from comment #2) > Using an inline-asm to cause compiler barriers should be enough to stop gcc > from optimizing the code away. The library implementation does that. but call

[Bug c/120851] internal compiler error: in expand_call, at calls.cc:3729

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

[Bug middle-end/115411] ICE : in expand_call, at calls.cc:3668

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115411 Andrew Pinski changed: What|Removed |Added CC||bic60176 at gmail dot com --- Comment #

[Bug c/120852] New: internal compiler error: in analyze_functions, at cgraphunit.cc:1418

2025-06-27 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120852 Bug ID: 120852 Summary: internal compiler error: in analyze_functions, at cgraphunit.cc:1418 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug c/120850] provide an special __builtin_memset_explicit

2025-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120850 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #3 fr

[Bug c/120850] provide an special __builtin_memset_explicit

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120850 --- Comment #5 from Andrew Pinski --- Again I think it is wrong to have a builtin.

[Bug c/120850] provide an special __builtin_memset_explicit

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120850 --- Comment #6 from Andrew Pinski --- I don't see a reason for the builtin unless you want to optimization it away which should not happen with the _exlicit functions at all. Access and the other attributes for nullness should be enough for the

[Bug c/120850] provide an special __builtin_memset_explicit

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120850 --- Comment #7 from Andrew Pinski --- > standard..because it is up to the compiler to honour the "never elided, > regardless of optimizations" Gcc does not elide away any unknown function so why not make it unknown to gcc.

[Bug c/120850] provide an special __builtin_memset_explicit

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120850 --- Comment #10 from Andrew Pinski --- (In reply to Cristian Rodríguez from comment #9) > (In reply to Andrew Pinski from comment #2) > > Using an inline-asm to cause compiler barriers should be enough to stop gcc > > from optimizing the code aw

[Bug c/120853] New: ICE: Segmentation fault at contains_struct_check()

2025-06-27 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120853 Bug ID: 120853 Summary: ICE: Segmentation fault at contains_struct_check() Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug middle-end/120369] [15 Regression] internal compiler error: Segmentation fault during GIMPLE pass: cplxlower0 only in version 15.1 and trunk

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120369 Andrew Pinski changed: What|Removed |Added CC||bic60176 at gmail dot com --- Comment #

[Bug c/120853] ICE: Segmentation fault at contains_struct_check()

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

[Bug c/120852] [12/13/14/15/16 Regression] internal compiler error: in analyze_functions, at cgraphunit.cc:1418

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

[Bug c/95145] [12/13/14/15/16 Regression]internal compiler error: in analyze_functions, at cgraphunit.c:1380

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95145 Andrew Pinski changed: What|Removed |Added CC||bic60176 at gmail dot com --- Comment #9

[Bug sanitizer/120837] False-positive from -fsanitize=undefined

2025-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120837 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/100795] ranges::sample, ranges::sort etc should not use std::sample, std::sort etc directly

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 --- Comment #21 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:4fc387e2f6990986d72b023ee44b4e0030903247 commit r16-1746-g4fc387e2f6990986d72b023ee44b4e0030903247 Author: Patrick Palka Date:

[Bug libstdc++/100795] ranges::sample, ranges::sort etc should not use std::sample, std::sort etc directly

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 --- Comment #22 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:b4aadc60154c62425c36c61d23c7549d31fe1397 commit r16-1747-gb4aadc60154c62425c36c61d23c7549d31fe1397 Author: Patrick Palka Date:

[Bug sanitizer/120837] False-positive from -fsanitize=undefined

2025-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120837 --- Comment #4 from Sam James --- Created attachment 61736 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61736&action=edit a-sqlite3.i.xz The fix for PR120471 is in the C++ FE. Attached preprocessed source from releases/gcc-13.

[Bug libstdc++/100795] ranges::sample, ranges::sort etc should not use std::sample, std::sort etc directly

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 --- Comment #17 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:9d3467a14bbd75469f114b047590ebbffa4a9c8b commit r16-1742-g9d3467a14bbd75469f114b047590ebbffa4a9c8b Author: Patrick Palka Date:

[Bug sanitizer/120837] [12/13/14/15/16 regression] False-positive from -fsanitize=undefined

2025-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120837 Sam James changed: What|Removed |Added Target Milestone|--- |12.5 Summary|False-positive from

[Bug fortran/120784] fortran: issue with use-association renames and interface

2025-06-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784 --- Comment #7 from anlauf at gcc dot gnu.org --- Created attachment 61738 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61738&action=edit New testcase The committed patch unfortunately broke this (reduced) testcase: pr120784-v2.f90:23:2

[Bug fortran/120784] fortran: issue with use-association renames and interface

2025-06-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784 --- Comment #8 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #7) > Created attachment 61738 [details] > New testcase > > The committed patch unfortunately broke this (reduced) testcase: We run into the following: (gdb) p

[Bug c++/120845] [16 Regression] C++ multiline module declaration causes ice

2025-06-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120845 Andrew Pinski changed: What|Removed |Added Summary|[16 Regression] C++ |[16 Regression] C++ |

[Bug c++/120845] [16 Regression] C++ multiline module declaration causes ice

2025-06-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120845 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/120845] [15/16 Regression] C++ multiline module declaration causes ice

2025-06-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120845 Jakub Jelinek changed: What|Removed |Added Summary|[16 Regression] C++ |[15/16 Regression] C++

[Bug sanitizer/120471] [12/13/14/15/16 regression] -fsanitize=undefined causes read of uninitialized variable when accessing element in an array at -O0 level

2025-06-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120471 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | --- Comment #13 from Jakub Jelinek --

  1   2   >