[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #19 from Jürgen Reuter --- (In reply to anlauf from comment #18) > (In reply to Jürgen Reuter from comment #17) > > (In reply to anlauf from comment #16) > > > (In reply to Jürgen Reuter from comment #15) > > > > Created attachment 6

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #18 from anlauf at gcc dot gnu.org --- (In reply to Jürgen Reuter from comment #17) > (In reply to anlauf from comment #16) > > (In reply to Jürgen Reuter from comment #15) > > > Created attachment 61950 [details] > > > Close-to-minim

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #20 from Sam James --- (In reply to Jürgen Reuter from comment #19) The suggestion is that these broke it, not fixed it, to be clear.

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #21 from Jürgen Reuter --- (In reply to anlauf from comment #18) > (In reply to Jürgen Reuter from comment #17) > > (In reply to anlauf from comment #16) > > > (In reply to Jürgen Reuter from comment #15) > > > > Created attachment 6

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #22 from Jürgen Reuter --- (In reply to Sam James from comment #20) > (In reply to Jürgen Reuter from comment #19) > > The suggestion is that these broke it, not fixed it, to be clear. Ok, this now coincides with my latest findings

[Bug rtl-optimization/121218] [15/16 regression] highway miscompiled at -O2 -march=znver2 since r15-3036-gb8ea13ebf12117

2025-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121218 --- Comment #15 from Andrew Pinski --- Note the reduced code has some questionable code in it: unsigned char &__trans_tmp_8 = in[Simd<2>::kPrivateLanes]; //in[2] Vec> in1 = Load(&__trans_tmp_8); // reads in[2,3] but uses the reference a

[Bug fortran/105473] semicolon allowed when list-directed read integer with decimal='point'

2025-07-23 Thread manfred99 at gmx dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105473 Manfred Schwarb changed: What|Removed |Added CC||manfred99 at gmx dot ch --- Comment #

[Bug c++/114632] ICE when converting static / explicit this lambda to function pointer

2025-07-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114632 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/121223] loongarch: Compilation failed after bootstrap is enabled

2025-07-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121223 --- Comment #2 from Xi Ruoyao --- (In reply to chenglulu from comment #1) > The reason for the failure to compile final.cc is that LoongArch defines the > macro as follows: > > ``` > #define CASE_VECTOR_SHORTEN_MODE(MIN, MAX, BODY) Pmode > ```

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 kargls at comcast dot net changed: What|Removed |Added CC||mikael at gcc dot gnu.org --

[Bug c++/121226] ICE in core_vals, at cp/module.cc:6641

2025-07-23 Thread rohan at rohanlean dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121226 --- Comment #2 from Rohan Lean --- Created attachment 61952 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61952&action=edit Preprocessed source

[Bug c++/121226] ICE in core_vals, at cp/module.cc:6641

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

[Bug c++/121226] ICE in core_vals, at cp/module.cc:6641

2025-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121226 --- Comment #3 from Andrew Pinski --- #pragma GCC optimize("Og")

[Bug c++/121226] ICE in core_vals, at cp/module.cc:6641

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

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

2025-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 121226, which changed state. Bug 121226 Summary: ICE in core_vals, at cp/module.cc:6641 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121226 What|Removed |Added

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

2025-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108080 Andrew Pinski changed: What|Removed |Added CC||rohan at rohanlean dot de --- Comment #

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

2025-07-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930 --- Comment #14 from Iain Sandoe --- I suppose that the new/delete opts might not be able to 'see though' the coroutine suspend returns. We can identify that a function is a coroutine component and perhaps just punt on the optimisation in that

[Bug target/121223] loongarch: Compilation failed after bootstrap is enabled

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

[Bug c++/114632] ICE when converting static / explicit this lambda to function pointer

2025-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114632 Patrick Palka changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #4 from

[Bug translation/119684] [15 Regression] Severe bug in german translation

2025-07-23 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119684 --- Comment #25 from Bruno Haible --- Jakub, Joseph, (In reply to Jakub Jelinek from comment #18) > I'm afraid implementing format specifier extensions months or years before > they are actually used in the compiler is not possible, they are ad

[Bug target/121073] [16 Regression] RISC-V: ICE during RTL pass: avlprop insn does not satisfy its constraints

2025-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121073 --- Comment #3 from GCC Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:f796f819c35cc08e0a6e7242aee92eb96f62a3b5 commit r16-2452-gf796f819c35cc08e0a6e7242aee92eb96f62a3b5 Author: Robin Dapp Date: Thu Jul

[Bug target/107359] [aarch64] should avoid the punpklo/punpkhi compare to llvm

2025-07-23 Thread sabson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107359 Spencer Abson changed: What|Removed |Added CC||sabson at gcc dot gnu.org --- Comment #

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

2025-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 121179, which changed state. Bug 121179 Summary: When importing std, chrono calculation will cause a compilation error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121179 What|Removed

[Bug target/121227] New: dot_prodv16siv64qi uses unsupported insn

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121227 Bug ID: 121227 Summary: dot_prodv16siv64qi uses unsupported insn Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug middle-end/108953] inefficient codegen for trivial equality (defaulted operator==)

2025-07-23 Thread tdebock at DRWUK dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108953 --- Comment #10 from Thomas de Bock --- Perhaps a similar tree-ssa pass for detecting these comparison chains, replacing them with __builtin_memcmp if vectorization is enabled, would be appropriate? Since memcmp seems to vectorize properly in gc

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #23 from anlauf at gcc dot gnu.org --- Shorter reproducer for (at least one of) the close-to-minimal one: program p implicit none type t complex, allocatable :: x(:) end type t type, extends (t) :: t2 end type t2 rea

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #24 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #23) > Shorter reproducer for (at least one of) the close-to-minimal one: Similar failures with multiplication instead of division, whether complex, real, or int

[Bug tree-optimization/117423] [13/14/15 Regression] union not written to with particular layout since r10-6321-g636e80eea24b78

2025-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117423 --- Comment #27 from GCC Commits --- The releases/gcc-15 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:420b1632e0058d6c722fbf75ec5d071ce87202f7 commit r15-10058-g420b1632e0058d6c722fbf75ec5d071ce87202f7 Author: Martin Jambor

[Bug c++/121219] [16 regression] Coroutine `operator new` heap-use-after-free on trunk (16.0), regression from 15.1

2025-07-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121219 --- Comment #4 from Iain Sandoe --- (In reply to Iain Sandoe from comment #3) > It's another chicken-and-egg issue in that we do not know the type of g_r_o > when we first need to deal with the g_r_o_o_a_f > > > maybe something like ... wel

[Bug c++/121219] [16 regression] Coroutine `operator new` heap-use-after-free on trunk (16.0), regression from 15.1

2025-07-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121219 Iain Sandoe changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug c++/121219] [16 regression] Coroutine `operator new` heap-use-after-free on trunk (16.0), regression from 15.1

2025-07-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121219 Iain Sandoe changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2 f

[Bug c++/121179] When importing std, chrono calculation will cause a compilation error

2025-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121179 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Key

[Bug rtl-optimization/121218] [15/16 regression] highway miscompiled at -O2 -march=znver2 since r15-3036-gb8ea13ebf12117

2025-07-23 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121218 --- Comment #13 from rguenther at suse dot de --- On Wed, 23 Jul 2025, rsandifo at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121218 > > --- Comment #12 from Richard Sandiford --- > On the REG_DEAD thing: REG_DEAD n

[Bug c++/121219] [16 regression] Coroutine `operator new` heap-use-after-free on trunk (16.0), regression from 15.1

2025-07-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121219 --- Comment #3 from Iain Sandoe --- It's another chicken-and-egg issue in that we do not know the type of g_r_o when we first need to deal with the g_r_o_o_a_f maybe something like ... auto g_r_o; if (allocation_is_ok) { several_nested

[Bug fortran/121203] Incorrect result when character functions are passed as arguments to a subroutine

2025-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121203 --- Comment #5 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:53b64337ef325c4e47ae96ea8dea86031a3a0602 commit r16-2453-g53b64337ef325c4e47ae96ea8dea86031a3a0602 Author: Harald Anlauf Date: T

[Bug rtl-optimization/121218] [15/16 regression] highway miscompiled at -O2 -march=znver2 since r15-3036-gb8ea13ebf12117

2025-07-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121218 --- Comment #14 from Sam James --- Created attachment 61951 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61951&action=edit interleaved_test_3.cxx cvise finished overnight with this, but can't make it fail on trunk with this, just with 1

[Bug c++/121055] [15/16 Regression] __is_invocable built-in doesn't match std::invoke for rvalue-ref qualified member function

2025-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121055 --- Comment #2 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:04a176a1d84a84c630cfd4d232736c12b105957a commit r16-2447-g04a176a1d84a84c630cfd4d232736c12b105957a Author: Patrick Palka Date: W

[Bug c++/121179] When importing std, chrono calculation will cause a compilation error

2025-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121179 --- Comment #1 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:7590c14b53a762ab30f5026148bd1cb9cf142264 commit r16-2448-g7590c14b53a762ab30f5026148bd1cb9cf142264 Author: Patrick Palka Date: W

[Bug target/121227] dot_prodv16siv64qi uses unsupported insn

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121227 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Keywords|

[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-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120119 --- Comment #13 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:66c879571ab1fbdb4b119b8b0a1a30ebc7160057 commit r16-2450-g66c879571ab1fbdb4b119b8b0a1a30ebc7160057 Author: Andrew Pinski Date: T

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

2025-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120119 Andrew Pinski changed: What|Removed |Added Summary|[15/16 Regression] GCC |[15 Regression] GCC 15.1.0

[Bug other/105404] Update in-tree copy of zlib to zlib-1.3.1

2025-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105404 --- Comment #19 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:3f78fd83b75d603a778e3373bcb8a3a1aab34aca commit r16-2454-g3f78fd83b75d603a778e3373bcb8a3a1aab34aca Author: Sam James Date: Wed Jul

[Bug c++/121226] ICE in core_vals, at cp/module.cc:6641

2025-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121226 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Last reconfirmed|

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW --- Comment #16 from anl

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #17 from Jürgen Reuter --- (In reply to anlauf from comment #16) > (In reply to Jürgen Reuter from comment #15) > > Created attachment 61950 [details] > > Close-to-minimal reproducer, 186 lines > > > > The division of the array pmat

[Bug c++/121228] New: -fno-access-control doesn't work with structured bindings

2025-07-23 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121228 Bug ID: 121228 Summary: -fno-access-control doesn't work with structured bindings Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/121228] -fno-access-control doesn't work with structured bindings

2025-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121228 Andrew Pinski changed: What|Removed |Added Severity|normal |minor

[Bug c++/121228] -fno-access-control doesn't work with structured bindings

2025-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121228 --- Comment #1 from Andrew Pinski --- This might work: ``` [apinski@xeond2 cp]$ git diff decl.cc diff --git a/gcc/cp/decl.cc b/gcc/cp/decl.cc index 0ac92f84b0e..9fc57e59764 100644 --- a/gcc/cp/decl.cc +++ b/gcc/cp/decl.cc @@ -9654,7 +9654,7 @@ f

[Bug c/121212] Two enumerated types without enumerator lists shouldn't be compatible

2025-07-23 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121212 uecker at gcc dot gnu.org changed: What|Removed |Added CC||uecker at gcc dot gnu.org --

[Bug tree-optimization/121218] [15/16 regression] highway miscompiled at -O2 -march=znver2 since r15-3036-gb8ea13ebf12117

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121218 --- Comment #10 from Richard Biener --- Even w/o the -fdbg-cnt there's exactly one SLP vectorization at the place pointed out. The vector code seems still sensible at RTL expansion time: __BB(6,guessed_local(119292721)): _18 = __MEM ((cha

[Bug libstdc++/106610] elements_view::iterator::iterator_category invokes the operator*() && of the underlying iterator

2025-07-23 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106610 Tomasz Kamiński changed: What|Removed |Added CC||tkaminsk at gcc dot gnu.org --- Comme

[Bug tree-optimization/121225] New: Missed autovectorization of bswap8 in a loop

2025-07-23 Thread Dusan.Stojkovic--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121225 Bug ID: 121225 Summary: Missed autovectorization of bswap8 in a loop Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tre

[Bug tree-optimization/121220] Missed optimization: Lowering struct materialization into cold branches

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

[Bug c++/121226] New: ICE in core_vals, at cp/module.cc:6641

2025-07-23 Thread rohan at rohanlean dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121226 Bug ID: 121226 Summary: ICE in core_vals, at cp/module.cc:6641 Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/121218] [15/16 regression] highway miscompiled at -O2 -march=znver2 since r15-3036-gb8ea13ebf12117

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121218 --- Comment #9 from Richard Biener --- Created attachment 61949 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61949&action=edit more reduced and clang-formatted So this is more reduced (instantiation-wise) and clang formatted and thus re

[Bug tree-optimization/119085] [13/14/15/16 regression] tree-sra generates wrong code for unions containing structs with holes (Emacs crashes with -O3) since r10-6321-g636e80eea24b78

2025-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119085 --- Comment #11 from GCC Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:171fcc80ede596442712e559c4fc787aa4636694 commit r16-2441-g171fcc80ede596442712e559c4fc787aa4636694 Author: Martin Jambor Date:

[Bug tree-optimization/121218] [15/16 regression] highway miscompiled at -O2 -march=znver2 since r15-3036-gb8ea13ebf12117

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121218 --- Comment #8 from Richard Biener --- (In reply to Richard Biener from comment #3) > Confirmed also with -fno-tree-loop-vectorize. The vect_slp debug counter > behaves a bit odd. > > I'll note the abort happens here: > > 7205auto in

[Bug fortran/121185] [16 Regression] Numerics of Monte Carlo integrator changed

2025-07-23 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #14 from Jürgen Reuter --- Created attachment 61948 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61948&action=edit Even shorter reproducer, polarization_test v3 Now ca. 1,400 lines, compare with output file correct.txt. The

[Bug libstdc++/119137] [C++26] P0843R14 inplace_vector

2025-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119137 --- Comment #6 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:4722841216a184474188473522e308b57da3ab9e commit r16-2439-g4722841216a184474188473522e308b57da3ab9e Author: Tomasz KamiÅski Date:

[Bug c++/121219] [16 regression] Coroutine `operator new` heap-use-after-free on trunk (16.0), regression from 15.1

2025-07-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121219 Iain Sandoe changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/121068] Placement new of array element is rejected at compile-time

2025-07-23 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121068 --- Comment #14 from Tomasz Kamiński --- Not sure if this is expected, so noting this here. On trunk (with r16-2432-gfdbc5ff61b471076cc9c758fb6c30d62f7ef1c56), if I value initialize the array (like in inplace_vector), then the code works: uni

[Bug tree-optimization/121220] Missed optimization: Lowering struct materialization into cold branches

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121220 --- Comment #4 from Richard Biener --- Ah, and the reason for the restriction to a PHI is limited virtual operand updating. For a = 1; if (...) .. = a; a = 0; we have to insert a PHI node on the CFG merge. We cannot easliy delay this eithe

[Bug target/121224] auto-vectorizer generates aligned accesses to potentially unaligned memory

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121224 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/121224] auto-vectorizer generates aligned accesses to potentially unaligned memory

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121224 --- Comment #2 from Richard Biener --- You could argue that a + i should increment by i * 32 bytes (it doesn't), but then that wouldn't do what you want either I guess.

[Bug target/121224] auto-vectorizer generates aligned accesses to potentially unaligned memory

2025-07-23 Thread olaf.krzikalla at dlr dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121224 --- Comment #3 from Olaf Krzikalla --- The type `aligned_double*` could be interpreted in two ways: 1. A aligned pointer to an array of doubles packed in the usual way. That's how the vectorizer currently treats it. 2. A pointer to an array of

[Bug rtl-optimization/121218] [15/16 regression] highway miscompiled at -O2 -march=znver2 since r15-3036-gb8ea13ebf12117

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121218 Richard Biener changed: What|Removed |Added Component|tree-optimization |rtl-optimization Target|

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #15 from Jürgen Reuter --- Created attachment 61950 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61950&action=edit Close-to-minimal reproducer, 186 lines The division of the array pmatrix%value by trace is not performed elem

[Bug tree-optimization/121220] Missed optimization: Lowering struct materialization into cold branches

2025-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121220 --- Comment #5 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:44b24b62a44e6208d654513cf567dd6900a2fb56 commit r16-2443-g44b24b62a44e6208d654513cf567dd6900a2fb56 Author: Richard Biener Date:

[Bug target/121224] auto-vectorizer generates aligned accesses to potentially unaligned memory

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121224 Richard Biener changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Comment #

[Bug tree-optimization/121225] Missed autovectorization of bswap8 in a loop

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121225 Richard Biener changed: What|Removed |Added Blocks||53947 Last reconfirmed|

[Bug rtl-optimization/121218] [15/16 regression] highway miscompiled at -O2 -march=znver2 since r15-3036-gb8ea13ebf12117

2025-07-23 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121218 --- Comment #12 from Richard Sandiford --- On the REG_DEAD thing: REG_DEAD notes are not kept up-to-date, so any pass that wants to use them needs to ask for them to be recomputed. The REG_DEAD usage in scalar_chain::convert_insn_common suggest

[Bug testsuite/119382] [15 Regression] gcc.target/powerpc/vsx-builtin-7.c fail starting with r15-7961-gdc47161c1f32c3

2025-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119382 --- Comment #9 from GCC Commits --- The master branch has been updated by jeevitha : https://gcc.gnu.org/g:a1fb757342058111fddcdc5ca2f866c61e87c9b8 commit r16-2462-ga1fb757342058111fddcdc5ca2f866c61e87c9b8 Author: Jeevitha Date: Wed Jul 23

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #27 from anlauf at gcc dot gnu.org --- (In reply to Jürgen Reuter from comment #26) > (In reply to kargls from comment #25) > > (In reply to anlauf from comment #18) > > > (In reply to Jürgen Reuter from comment #17) > > > > (In reply

[Bug middle-end/118440] a store from an uninitalized variable could be removed

2025-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118440 --- Comment #5 from Andrew Pinski --- Created attachment 61954 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61954&action=edit Patch which I tested The RFC/RFH is posted here: https://gcc.gnu.org/pipermail/gcc/2025-July/246413.html

[Bug target/121208] Wrong user-level interrupt vector value with TLS variable when build with optimisation

2025-07-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121208 H.J. Lu changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hjl.tools at gmail dot com --- Commen

[Bug tree-optimization/106247] GCC12 warning in Eigen: array subscript is partly outside array bounds

2025-07-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106247 --- Comment #9 from Sam James --- (In reply to Michael Duggan from comment #8) > Created attachment 53533 [details] > Reduced bug exemplar $ g++-16 l.cxx -O2 -c -Wall -Wextra -std=c++14 In member function ‘void i< >::m(k*) [with ab = s]’,

[Bug middle-end/121222] add support for -fsanitize-coverage=stack-depth

2025-07-23 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121222 --- Comment #8 from Kees Cook --- Linux uses 100 by default, but it is configurable. I have not measured the overhead lately, but mcount is pretty expensive, and with the 100 byte stack size guard, the performance overhead is, by definition, sm

[Bug fortran/105473] semicolon allowed when list-directed read integer with decimal='point'

2025-07-23 Thread john.harper at vuw dot ac.nz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105473 --- Comment #42 from john.harper at vuw dot ac.nz --- I think Manfred is correct here because buffer and a are both of type character, and so the read statement should not have been trying to read integers. On Wed, 23 Jul 2025, manfred99 at gm

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #29 from Jürgen Reuter --- (In reply to anlauf from comment #27) > > Hm just changed to HEAD bd0ddee220f0988aec641060021298b343ae6922 (daily bump > > from Monday July 21 early morning), but still see the problem with the code. > >

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

2025-07-23 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120412 Nathaniel Shead changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

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

2025-07-23 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 120412, which changed state. Bug 120412 Summary: Modules ICE using decltype and lambda across TUs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120412 What|Removed |Added --

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

2025-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120412 --- Comment #3 from GCC Commits --- The releases/gcc-15 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:efce571b152ac9f5bdbd6821dd537a93e36c1b73 commit r15-10060-gefce571b152ac9f5bdbd6821dd537a93e36c1b73 Author: Nathaniel Sh

[Bug middle-end/121223] [16 Regression] loongarch: Compilation failed after bootstrap is enabled

2025-07-23 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121223 --- Comment #3 from chenglulu --- (In reply to Xi Ruoyao from comment #2) > (In reply to chenglulu from comment #1) > > The reason for the failure to compile final.cc is that LoongArch defines the > > macro as follows: > > > > ``` > > #define C

[Bug target/121064] Loongarch: FFmpeg test failure when enable autovectorization

2025-07-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121064 --- Comment #13 from Sam James --- This seems to have come up at https://ffmpeg.org/pipermail/ffmpeg-devel/2025-July/346439.html. I emailed the author off-list to let them know of this bug.

[Bug target/121073] [16 Regression] RISC-V: ICE during RTL pass: avlprop insn does not satisfy its constraints

2025-07-23 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121073 Robin Dapp changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #28 from Jürgen Reuter --- (In reply to anlauf from comment #27) > (In reply to Jürgen Reuter from comment #26) > > (In reply to kargls from comment #25) > > > (In reply to anlauf from comment #18) > > > > (In reply to Jürgen Reuter

[Bug middle-end/118440] a store from an uninitalized variable could be removed

2025-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118440 --- Comment #4 from Andrew Pinski --- Failures when doing this (this was mostly expected even): +FAIL: gcc.dg/analyzer/torture/boxed-int-1.c -O1 (test for warnings, line 155) +FAIL: gcc.dg/uninit-40.c (test for warnings, line 24) +FAIL: gc

[Bug cobol/119521] gcc-cobol generated programs with memory leak

2025-07-23 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119521 Robert Dubner changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug cobol/121229] Debugging DECLARATIVE: No warning, and loops infinitely.

2025-07-23 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121229 Robert Dubner changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/121185] [16 Regression] regression on elemental operation of division

2025-07-23 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185 --- Comment #26 from Jürgen Reuter --- (In reply to kargls from comment #25) > (In reply to anlauf from comment #18) > > (In reply to Jürgen Reuter from comment #17) > > > (In reply to anlauf from comment #16) > > > > (In reply to Jürgen Reuter

[Bug middle-end/121223] [16 Regression] loongarch: Compilation failed after bootstrap is enabled

2025-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121223 Andrew Pinski changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug cobol/121229] New: Debugging DECLARATIVE: No warning, and loops infinitely.

2025-07-23 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121229 Bug ID: 121229 Summary: Debugging DECLARATIVE: No warning, and loops infinitely. Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Pri

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

2025-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120412 --- Comment #2 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:be81c5c01c243013c4bac0718e63e0fdc132d384 commit r16-2459-gbe81c5c01c243013c4bac0718e63e0fdc132d384 Author: Nathaniel Shead Date:

[Bug tree-optimization/97605] unused conditionally freed allocation not eliminated

2025-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97605 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2020-10-2

[Bug tree-optimization/86889] s390x gcc build fails when configured with --disable-checking

2025-07-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86889 Sam James changed: What|Removed |Added Keywords||needs-bisection --- Comment #7 from Sam Jame

[Bug testsuite/120805] [16 Regression] gcc.target/powerpc/p9-vec-length-epil-4.c fail starting with r16-1645-g309dbcea2cabb3

2025-07-23 Thread avinashd at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120805 --- Comment #15 from Avinash Jayakar --- Ok so I will submit a patch with the change that Tamar Christina suggested and add a few comments for few of the failing test cases as Segher suggested.

[Bug tree-optimization/121220] Missed optimization: Lowering struct materialization into cold branches

2025-07-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121220 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/121223] New: loongarch: Compilation failed after bootstrap is enabled

2025-07-23 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121223 Bug ID: 121223 Summary: loongarch: Compilation failed after bootstrap is enabled Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Prio

[Bug modula2/121164] [15 Regression] Modula 2 build failure

2025-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121164 --- Comment #8 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:ab5a89c0b4f1ead202dee072e16690607b810111 commit r16-2440-gab5a89c0b4f1ead202dee072e16690607b810111 Author: Gaius Mulley Date: Wed

  1   2   >