[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/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 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 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 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 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 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 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 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 target/55212] [SH] Switch to LRA

2025-06-27 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #456 from Oleg Endo --- (In reply to John Paul Adrian Glaubitz from comment #455) > Created attachment 61734 [details] > Error log for building gcc-16 with LRA enabled, no patches > > (In reply to John Paul Adrian Glaubitz from comme

[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 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 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 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/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 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 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/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/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 #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 #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 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 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[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] 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 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 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 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 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 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 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 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 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 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++/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 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 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 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 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/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 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/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 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 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 anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784 --- Comment #9 from anlauf at gcc dot gnu.org --- Fixed by: diff --git a/gcc/fortran/interface.cc b/gcc/fortran/interface.cc index cdb838d8336..7899864158c 100644 --- a/gcc/fortran/interface.cc +++ b/gcc/fortran/interface.cc @@ -457,7 +457,9 @@

[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 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 sanitizer/120837] False-positive from -fsanitize=undefined

2025-06-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120837 --- Comment #7 from Jakub Jelinek --- Self-contained testcase: [[gnu::noipa]] void bar (void **x, void **y) { x[0] = 0; x[1] = 0; x[2] = 0; y[0] = 0; y[1] = 0; y[2] = 0; y[3] = 0; y[4] = 0; } [[gnu::noipa]] void * foo (int x, i

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

2025-06-27 Thread holger--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358 --- Comment #7 from Holger Hoffstätte --- Sorry if the following is unhelpful - I'm just an interested observer. Since I could easily reproduce the problem I decided to poke at things in gdb and got a bit annoyed at the bad test code style. So

[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 #6 from Sam James --- Created attachment 61737 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61737&action=edit a-shell.i.xz

[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 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 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++/118209] ranges::sort doesn't use iter_move, cannot sort zip of move-only type

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118209 --- Comment #2 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:92417c387365033cac4fff7ec8da2b42bd75dfba commit r16-1741-g92417c387365033cac4fff7ec8da2b42bd75dfba Author: Patrick Palka Date: F

[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 #16 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:92417c387365033cac4fff7ec8da2b42bd75dfba commit r16-1741-g92417c387365033cac4fff7ec8da2b42bd75dfba 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 #20 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:d06373fa3483a1ccb182c2da7e6cf2330f48bac1 commit r16-1745-gd06373fa3483a1ccb182c2da7e6cf2330f48bac1 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 #19 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:07832a5205389b4dc2b92fe58213386fe30ca618 commit r16-1744-g07832a5205389b4dc2b92fe58213386fe30ca618 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 #18 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:04c597c05494e38cc9c231581737c1d7d7579e51 commit r16-1743-g04c597c05494e38cc9c231581737c1d7d7579e51 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 #15 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a148b0377805376e33f36bed0e48a401a6dd82c6 commit r16-1740-ga148b0377805376e33f36bed0e48a401a6dd82c6 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 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[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 middle-end/120608] [15/16 regression] error: cannot tail-call: other reasons when using address sanitizer with musttail

2025-06-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120608 --- Comment #20 from Jakub Jelinek --- Created attachment 61735 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61735&action=edit gcc16-pr120608.patch Untested fix.

[Bug target/55212] [SH] Switch to LRA

2025-06-27 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #455 from John Paul Adrian Glaubitz --- Created attachment 61734 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61734&action=edit Error log for building gcc-16 with LRA enabled, no patches (In reply to John Paul Adrian Glaubitz

[Bug target/113934] Switch avr to LRA

2025-06-27 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113934 --- Comment #14 from Segher Boessenkool --- Congratulations, and thank you!

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

2025-06-27 Thread jvdelisle2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120843 --- Comment #2 from Jerry DeLisle --- This is the error I am seeing. On Fri, Jun 27, 2025, 12:38 AM vehre at gcc dot gnu.org via Gcc-bugs < gcc-bugs@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120843 > > Bug

[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 #6 from Sam James --- (In reply to Richard Biener from comment #5) I'll find some time to try make more progress. Will try adding a counter if I cannot get further with reducing, but luckily, the C++ in the file isn't too complex ;)

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

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

[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 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 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 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++/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++/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++/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++/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 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/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 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 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/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 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/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 c++/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 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[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 Bug 113934 depends on bug 118591, which changed state. Bug 118591 Summary: [lra][avr] Wrong code with -mlra in pr43879-3.c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118591 What|Removed |Added ---

[Bug middle-end/56183] [meta-bug][avr] Problems with register allocation

2025-06-27 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56183 Bug 56183 depends on bug 118591, which changed state. Bug 118591 Summary: [lra][avr] Wrong code with -mlra in pr43879-3.c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118591 What|Removed |Added -

[Bug rtl-optimization/118591] [lra][avr] Wrong code with -mlra in pr43879-3.c

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

[Bug target/119971] [15 Regression] RISC-V: Wrong code with bitmanip extension

2025-06-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119971 --- Comment #8 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:de6124c9e5ed472f567b51fa76f18335cdddbbaf commit r16-1732-gde6124c9e5ed472f567b51fa76f18335cdddbbaf Author: Jeff Law Date: Fri Jun 27

[Bug c++/120848] New: -fmodule-header -fmodules-ts -x c++-system-header dives into symbolic links

2025-06-27 Thread piotr5 at netscape dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120848 Bug ID: 120848 Summary: -fmodule-header -fmodules-ts -x c++-system-header dives into symbolic links Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity:

[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 Assignee|unassigned at gcc dot gnu.org |vehre at gcc dot gnu.org ---

  1   2   >