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

2025-06-24 Thread christophe.peyret at onera dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120812 --- Comment #8 from Christophe Peyret --- try this on Mac with Fortran 15.1.0 program main use iso_c_binding implicit none character(len=:), pointer :: str =>null() allocate( character(len=11) :: str ) str = “0123456789x” print “((A))", s

[Bug target/120815] Update -mtune=intel for Diamond Rapids and Clearwater Forest

2025-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120815 --- Comment #4 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:7fd6cb3c8488465ae0529f543f5309584961503d commit r16-1667-g7fd6cb3c8488465ae0529f543f5309584961503d Author: H.J. Lu Date: Wed Jun 25 07

[Bug target/120815] Update -mtune=intel for Diamond Rapids and Clearwater Forest

2025-06-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120815 H.J. Lu changed: What|Removed |Added Target Milestone|--- |16.0 --- Comment #5 from H.J. Lu --- Fixed f

[Bug target/120816] [16 Regression] tcpsock_test.go:684:28: error: flow control insn inside a basic block

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

[Bug target/120816] [16 Regression] tcpsock_test.go:684:28: error: flow control insn inside a basic block

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

[Bug target/120816] New: [16 Regression] tcpsock_test.go:684:28: error: flow control insn inside a basic block

2025-06-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120816 Bug ID: 120816 Summary: [16 Regression] tcpsock_test.go:684:28: error: flow control insn inside a basic block Product: gcc Version: 16.0 Status: UNCONFIRMED Se

[Bug target/120815] Update -mtune=intel for Diamond Rapids and Clearwater Forest

2025-06-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120815 --- Comment #3 from H.J. Lu --- (In reply to Hongtao Liu from comment #2) > Maybe we should have something like mtune=intel_p and mtune=intel_e, P-core > and E-core are quite different from each other, mtune=intel maybe not > sufficient. We can

[Bug target/120815] Update -mtune=intel for Diamond Rapids and Clearwater Forest

2025-06-24 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120815 --- Comment #2 from Hongtao Liu --- Maybe we should have something like mtune=intel_p and mtune=intel_e, P-core and E-core are quite different from each other, mtune=intel maybe not sufficient.

[Bug modula2/120189] documented link command does not work

2025-06-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120189 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2025-06-25 Ever confirmed|0

[Bug target/120815] Update -mtune=intel to -mtune=alderlake

2025-06-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120815 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug middle-end/120720] __builtin_rev_crc32_data8 (and family) should be able to constant fold

2025-06-24 Thread sh1.gccbug at tikouka dot nz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120720 --- Comment #6 from Simon H. --- Oops, right you are. My check was nonsense. That makes far more sense. But for the builtins it's trying to compile line 40, using the function as an initialiser for a constexpr variable, which causes problems;

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

2025-06-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120756 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 Status|NEW

[Bug target/120814] gcc does not compute on nvptx device when the loop is given over a variable whose pointer was offloaded in another function....

2025-06-24 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120814 Benjamin Schulz changed: What|Removed |Added Attachment #61703|0 |1 is obsolete|

[Bug target/120814] gcc does not compute on nvptx device when the loop is given over a variable whose pointer was offloaded in another function....

2025-06-24 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120814 Benjamin Schulz changed: What|Removed |Added Attachment #61704|0 |1 is obsolete|

[Bug target/120814] gcc does not compute on nvptx device when the loop is given over a variable whose pointer was offloaded in another function....

2025-06-24 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120814 --- Comment #4 from Benjamin Schulz --- what is also interesting: template bool matrix_multiply_dot( mdspan& A, mdspan& B, mdspan& C, bool on_gpu=false,bool default_device=true,int devicenum=0) you can use the upload member functions of md

[Bug target/120815] New: Update -mtune=intel to -mtune=alderlake

2025-06-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120815 Bug ID: 120815 Summary: Update -mtune=intel to -mtune=alderlake Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

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

2025-06-24 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120812 --- Comment #7 from kargls at comcast dot net --- (In reply to anlauf from comment #6) > (In reply to kargls from comment #5) > > (In reply to kargls from comment #4) > > > (In reply to anlauf from comment #3) > > > > > > troutmask:sgk[215] gfcx

[Bug target/119007] RISC-V: The optimization ignored the side effects of the rounding mode, resulting in incorrect results for rvv

2025-06-24 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119007 --- Comment #3 from Jeffrey A. Law --- I think that's reasonable as well and one of the options discussed weeks ago in the patchwork call. I was thinking that having the relevant intrinsics set the flag was slightly better solution because it a

[Bug target/120216] openmp unified shared memory currently requires pageableMemoryAccess perhaps Heterogeneous Memory Management (HMM) or even just managedMemory would suffice

2025-06-24 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120216 --- Comment #4 from Benjamin Schulz --- I did a benchmark here with my new card : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120679 In many nvidia graphics cards on a pci bus, unified shared memory, in form of hmm is currently not very suit

[Bug target/119100] RISC-V: missed opportunities for vector-scalar instructions

2025-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119100 --- Comment #8 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:92e1893e0155b6b3baef2a935efd5936d23a67ea commit r16-1659-g92e1893e0155b6b3baef2a935efd5936d23a67ea Author: Paul-Antoine Arras Date: T

[Bug fortran/120743] [16 regression] ice in verify_gimple_in_seq

2025-06-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120743 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug tree-optimization/120724] [missed optimization] bit test in a loop

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

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

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

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

2025-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120756 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to work|

[Bug target/120814] gcc does not compute on nvptx device when the loop is given over a variable whose pointer was offloaded in another function....

2025-06-24 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120814 --- Comment #3 from Benjamin Schulz --- I want to note that if one comments out //A.device_upload(true); //B.device_upload(true); //C.device_alloc(true); and // C.host_update(true); in bool matrix_multiply_dot( mdspan& A, mdspan& B,

[Bug c++/120798] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in check_bit_cast_type, at cp/constexpr.cc:5035

2025-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120798 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-06-24 Ever confirmed|0

[Bug c++/120742] ICE: tree check: expected tree_vec, have type_pack_expansion in coerce_template_parameter_pack, at cp/pt.cc:9042

2025-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120742 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

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

2025-06-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120812 --- Comment #6 from anlauf at gcc dot gnu.org --- (In reply to kargls from comment #5) > (In reply to kargls from comment #4) > > (In reply to anlauf from comment #3) > > > > troutmask:sgk[215] gfcx --version > > GNU Fortran (GCC) 16.0.0 2025052

[Bug rtl-optimization/120795] [16 regression] ICE when building folly-2025.04.14.00 (df_refs_verify, at df-scan.cc:4029)

2025-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120795 --- Comment #10 from Andrew Pinski --- This might be slightly smaller, (removes c++20 specific stuff) (I can't test it with the failing case): ``` int a; void b(); struct e { int ab; int d() { return ab; } }; struct f { e g; auto d() {

[Bug c/120780] Missed __builtin_dynamic_object_size optimization(?)

2025-06-24 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120780 --- Comment #13 from Siddhesh Poyarekar --- (In reply to Jakub Jelinek from comment #12) > (In reply to Siddhesh Poyarekar from comment #11) > > OK, so we don't really need a FAM based reproducer either, here's one > > without it. FAM just make

[Bug c/120780] Missed __builtin_dynamic_object_size optimization(?)

2025-06-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120780 --- Comment #16 from Jakub Jelinek --- If it happens at runtime, better testcase would be to test it at runtime...

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

2025-06-24 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120812 --- Comment #5 from kargls at comcast dot net --- (In reply to kargls from comment #4) > (In reply to anlauf from comment #3) > > troutmask:sgk[215] gfcx --version > GNU Fortran (GCC) 16.0.0 20250528 (experimental) > There are a couple of stri

[Bug fortran/120711] [14/15/16 regression] Growing arrays segfaults

2025-06-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120711 --- Comment #3 from anlauf at gcc dot gnu.org --- (In reply to Andre Vehreschild from comment #1) > Confirmed, but this is not coarray dependent. For me it also crashes without > -fcoarray=single. Indeed. valgrind reports an invalid read with -

[Bug c/120780] Missed __builtin_dynamic_object_size optimization(?)

2025-06-24 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120780 --- Comment #15 from Siddhesh Poyarekar --- (In reply to Jakub Jelinek from comment #14) > > So, __bdos returns something larger than that? That would be weird. > Or do the two calls result in different results? It's basically comment 9; __bd

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

2025-06-24 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120811 --- Comment #1 from Vineet Gupta --- Perhaps worth looking into the new RISC-V pass fold-memory-offset ?

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

2025-06-24 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120811 --- Comment #2 from Jeffrey A. Law --- And combine. Though I suspect this is fallout from the way we're handling 2*simm12 cases with a define_insn_and_split. I've got a plan there and I'm just waiting for Shreya to wrap up her current task be

[Bug c/120780] Missed __builtin_dynamic_object_size optimization(?)

2025-06-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120780 --- Comment #14 from Jakub Jelinek --- (In reply to Siddhesh Poyarekar from comment #13) > (In reply to Jakub Jelinek from comment #12) > > (In reply to Siddhesh Poyarekar from comment #11) > > > OK, so we don't really need a FAM based reproduce

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

2025-06-24 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120812 --- Comment #4 from kargls at comcast dot net --- (In reply to anlauf from comment #3) > (In reply to kargls from comment #2) > > Harald, there's a bug (at least it fails on FreeBSD).Here's > > a testcase based on the original code. On Free

[Bug c/120780] Missed __builtin_dynamic_object_size optimization(?)

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

[Bug c/120780] Missed __builtin_dynamic_object_size optimization(?)

2025-06-24 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120780 --- Comment #10 from Siddhesh Poyarekar --- Minimal reproducer, I've written this independently, not reduced from the preprocessed source, but I'm pretty sure this is essentially what it is: typedef __SIZE_TYPE__ size_t; struct inner { int

[Bug c/120780] Missed __builtin_dynamic_object_size optimization(?)

2025-06-24 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120780 --- Comment #11 from Siddhesh Poyarekar --- OK, so we don't really need a FAM based reproducer either, here's one without it. FAM just makes this case more likely because due to it, __bdos succeeds more often in the kernel code: typedef __SIZE

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

2025-06-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120812 --- Comment #1 from anlauf at gcc dot gnu.org --- Works as expected on Linux. What happens if you replace C_NEW_LINE by something different, like c_carriage_return, or c_null_char, and pipe the output through "cat -v"?

[Bug rtl-optimization/120795] [16 regression] ICE when building folly-2025.04.14.00 (df_refs_verify, at df-scan.cc:4029)

2025-06-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120795 --- Comment #9 from Sam James --- ``` int a; void b(); struct e { int ab; int d() { return ab; } }; struct f { e g; auto d() { return g.d(); } }; template struct i : h { f j; template int ad(ac) { unsigned char k = j.d(); a

[Bug libstdc++/120810] [DR 461] std::time_get::do_get_date should consider date_order()

2025-06-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120810 --- Comment #2 from Jonathan Wakely --- If we had a working time_get::do_date_order (see Bug 9635) then we could implement DR 461 something like this: --- a/libstdc++-v3/include/bits/locale_facets_nonio.tcc +++ b/libstdc++-v3/include/bits/local

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

2025-06-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120812 --- Comment #3 from anlauf at gcc dot gnu.org --- (In reply to kargls from comment #2) > Harald, there's a bug (at least it fails on FreeBSD).Here's > a testcase based on the original code. On FreeBSD, I see > > % gfcx -o z a.f90 && ./z >

[Bug fortran/120743] [16 regression] ice in verify_gimple_in_seq

2025-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120743 --- Comment #8 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:5bc92717b804483a17dd5095f8b6d4fd75a472b1 commit r16-1658-g5bc92717b804483a17dd5095f8b6d4fd75a472b1 Author: Harald Anlauf Date: T

[Bug fortran/120743] [16 regression] ice in verify_gimple_in_seq

2025-06-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120743 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

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

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

[Bug libstdc++/9635] time_get<>::date_order unimplemented

2025-06-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9635 --- Comment #12 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #11) > We could also have a custom facet derived from time_get that we store in the > std::locale when it is created by name from a C locale, and store a > dateorde

[Bug target/120814] New: gcc does not compute on nvptx device when the loop is given over a variable whose pointer was offloaded in another function....

2025-06-24 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120814 Bug ID: 120814 Summary: gcc does not compute on nvptx device when the loop is given over a variable whose pointer was offloaded in another function Product: gcc

[Bug fortran/120711] [14/15/16 regression] Growing arrays segfaults

2025-06-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120711 --- Comment #2 from anlauf at gcc dot gnu.org --- There is another recent PR on using array constructors of derived types with allocatable character components, quite similar to this one. Cannot find it now, but very likely related.

[Bug target/120813] [15/16 Regression] RISC-V: Miscompile at -O[23] since r15-9239

2025-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120813 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.2 Summary|[15/16 Regressi

[Bug target/118518] gcc 14.2.1 nvptx cross compiler complains about alias definitions in a struct with two constructors that are not aliases

2025-06-24 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118518 --- Comment #16 from Benjamin Schulz --- Hi @all I just wanted to give you an update how my library progresses and what additional bugs I've found in GCC so far. Since some of you are familiar with my code, perhaps you can help to fix them, as

[Bug go/89173] FAIL: runtime/pprof

2025-06-24 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89173 --- Comment #2 from Jeffrey A. Law --- Still happens on the BPI. But I think we have bigger issues to resolve, so deferring further action for now.

[Bug target/120814] gcc does not compute on nvptx device when the loop is given over a variable whose pointer was offloaded in another function....

2025-06-24 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120814 --- Comment #1 from Benjamin Schulz --- Created attachment 61704 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61704&action=edit mainn_omp.cpp contains the main program

[Bug target/120814] gcc does not compute on nvptx device when the loop is given over a variable whose pointer was offloaded in another function....

2025-06-24 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120814 --- Comment #2 from Benjamin Schulz --- Created attachment 61705 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61705&action=edit cmakelists.txt cmakelists.txt to switch and see the different results between gcc-15.1 and clang-20.1

[Bug lto/114501] [12 Regression] ICE during lto streaming

2025-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114501 --- Comment #16 from GCC Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:415bad120d8f21cd754d827da9e3d5e1fbe68d4c commit r12-11224-g415bad120d8f21cd754d827da9e3d5e1fbe68d4c Author: Richard Bien

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

2025-06-24 Thread parras at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120811 Bug ID: 120811 Summary: RISC-V: missed load offset Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target As

[Bug c++/120773] [C++26] P3618R0 - Allow attaching main to the global module

2025-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120773 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ed7fc2b29ead88be30b40ec2c3c51495200b08c4 commit r16-1657-ged7fc2b29ead88be30b40ec2c3c51495200b08c4 Author: Jakub Jelinek Date: T

[Bug c++/120773] [C++26] P3618R0 - Allow attaching main to the global module

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

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

2025-06-24 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 120773, which changed state. Bug 120773 Summary: [C++26] P3618R0 - Allow attaching main to the global module https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120773 What|Removed |Added ---

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

2025-06-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 120773, which changed state. Bug 120773 Summary: [C++26] P3618R0 - Allow attaching main to the global module https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120773 What|Removed |Added ---

[Bug target/120813] New: [15/16 Regression] RISC-V: Miscompile at -O[23]

2025-06-24 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120813 Bug ID: 120813 Summary: [15/16 Regression] RISC-V: Miscompile at -O[23] Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

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

2025-06-24 Thread christophe.peyret at onera dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120812 Bug ID: 120812 Summary: [regression] buffer(80:80) = C_NEW_LINE not working with gfortran 15.1 under Mac Product: gcc Version: 15.1.0 Status: UNCONFIRMED Sever

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

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

[Bug target/120807] [15/16 Regression] LoongArch: "ICE: unrecognizable insn" building box64

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

[Bug tree-optimization/119706] [12 regression] ICE in gimple pass 'dom' for -O3 -mcpu=grace --param=aarch64-autovec-preference=sve-only

2025-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119706 --- Comment #16 from GCC Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:75f255c11f7e5a5099ad909606e21ec6bf9b82cc commit r12-11230-g75f255c11f7e5a5099ad909606e21ec6bf9b82cc Author: Richard Bien

[Bug lto/91299] [12 Regression] LTO inlines a weak definition in presence of a non-weak definition from an ELF file

2025-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91299 Richard Biener changed: What|Removed |Added Known to work||12.4.1 Known to fail|

[Bug cobol/120786] strange message for NOT=

2025-06-24 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120786 --- Comment #2 from Simon Sobisch --- Just keep in mind that a , and ; are valid separators as well, not only spaces (they can be inserted nearly every place where a space can, with the exception of places where they are required). Rechecked wi

[Bug fortran/120743] [16 regression] ice in verify_gimple_in_seq

2025-06-24 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120743 Andre Vehreschild changed: What|Removed |Added CC||vehre at gcc dot gnu.org --- Commen

[Bug testsuite/120809] New: gcc.dg/analyzer/state-diagram-5.c fail starting with r16-1631-g2334d30cd8feac

2025-06-24 Thread kishan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120809 Bug ID: 120809 Summary: gcc.dg/analyzer/state-diagram-5.c fail starting with r16-1631-g2334d30cd8feac Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords:

[Bug target/120356] [15/16 Regression] RISC-V: Miscompile at -O[23] since r15-6881-g7b815107f40

2025-06-24 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120356 Jeffrey A. Law changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |merzlyakovao at gcc dot gnu.org

[Bug target/86005] [RISCV] Invalid intermixing of __atomic_* libcalls and inline atomic instruction sequences

2025-06-24 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86005 --- Comment #12 from Jeffrey A. Law --- So this is probably still an issue given we're not supposed to use lock-free and locked sequences simultaneously on any given object. However, given this only affects us when we don't have the "A", c#2 and

[Bug target/104102] __builtin_frame_address(1) desn't work on riscv

2025-06-24 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104102 Jeffrey A. Law changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |law at gcc dot gnu.org --- Comm

[Bug analyzer/120809] gcc.dg/analyzer/state-diagram-5.c fail starting with r16-1631-g2334d30cd8feac

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

[Bug analyzer/120809] gcc.dg/analyzer/state-diagram-5.c fail starting with r16-1631-g2334d30cd8feac

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

[Bug cobol/120804] FR: allow SET of numeric-display variables

2025-06-24 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120804 --- Comment #1 from Simon Sobisch --- happening in general, not only with literals: error: invalid SET T02-IND (FldNumericDisplay) TO T01-IND (FldNumericDisplay): not a field index

[Bug rtl-optimization/120750] SEGV in remove_use, at rtl-ssa/accesses.cc:1276

2025-06-24 Thread ondrejmachota at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120750 Ondřej Machota changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug libstdc++/120810] [DR 461] std::time_get::do_get_date should consider date_order()

2025-06-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120810 --- Comment #1 from Jonathan Wakely --- Frankly, std::time_get::do_date_order() seems unusable and should be deprecated.

[Bug libstdc++/120810] New: [DR 461] std::time_get::do_get_date should consider date_order()

2025-06-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120810 Bug ID: 120810 Summary: [DR 461] std::time_get::do_get_date should consider date_order() Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/120745] SEGV in process_uses_of_deleted_def, at rtl-ssa/changes.cc:271

2025-06-24 Thread ondrejmachota at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120745 Ondřej Machota changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/93738] [12/13/14/15/16 regression] test case gcc.target/powerpc/20050603-3.c fails

2025-06-24 Thread kishan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93738 --- Comment #9 from Kishan Parmar --- I've went through the RTLs for both PowerPC LE and BE. Whether r3 is used or not now depends on the reload pass. In LE, reload often removes the extra copies added by combine. In BE, that extra instruction re

[Bug tree-optimization/115347] [12 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-2097

2025-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115347 --- Comment #11 from GCC Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:6258d3f06740c3a77cd7a91606107451d71df68d commit r12-11221-g6258d3f06740c3a77cd7a91606107451d71df68d Author: Richard Bien

[Bug libstdc++/9635] time_get<>::date_order unimplemented

2025-06-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9635 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2003-12-01 00:55:30 |2025-6-24 --- Comment #11 from Jonathan

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

2025-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120808 --- Comment #1 from Andrew Pinski --- Hmm, I think there is a dup.

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

2025-06-24 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120808 Bug ID: 120808 Summary: SLP unable to combine .FMA and .FMS to VEC_FMADDSUB Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug target/82106] [RISCV] Misaligned loads generated when doubles are split between stack and registers

2025-06-24 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82106 Palmer Dabbelt changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |palmer at gcc dot gnu.org

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

2025-06-24 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120805 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Comme

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2025-06-24 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 113833, which changed state. Bug 113833 Summary: 435.gromacs fails verification on with -Ofast -march={cascadelake,icelake-server} and PGO after r14-7272-g57f611604e8bab https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113833

[Bug tree-optimization/113833] 435.gromacs fails verification on with -Ofast -march={cascadelake,icelake-server} and PGO after r14-7272-g57f611604e8bab

2025-06-24 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113833 Filip Kastl changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/104102] __builtin_frame_address(1) desn't work on riscv

2025-06-24 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104102 Palmer Dabbelt changed: What|Removed |Added CC||palmer at gcc dot gnu.org --- Comment

[Bug c/120780] Missed __builtin_dynamic_object_size optimization(?)

2025-06-24 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120780 --- Comment #9 from Siddhesh Poyarekar --- I haven't properly reduced this yet, but the key difference appears to be this: - ifmsh_2 = &MEM[(struct ieee80211_sub_if_data *)dev_1(D) + 2624B].u.mesh; - _6 = &MEM[(struct ieee80211_sub_if_data *)

[Bug middle-end/115110] [15 regression] several failures after r15-512-g9b7cad5884f21c

2025-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115110 --- Comment #17 from GCC Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:4f63fd4b663bdde39524129dfa458c60b2d67133 commit r12-11218-g4f63fd4b663bdde39524129dfa458c60b2d67133 Author: Richard Bien

[Bug tree-optimization/120747] [16 Regression] 435.gromacs miscompares since r16-1550-g9244ea4bf55638

2025-06-24 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120747 --- Comment #10 from Filip Kastl --- > Given the nature of the change that caused this (trimming integral ranges > bounds to match the bitmasks) its probable that a smaller range had some > other pass make a different decision. Yeah, I also t

[Bug c++/120620] [13/14/15/16 Regression] Internal Compiler Error in tree.cc, Line #11240

2025-06-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120620 Patrick Palka changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug tree-optimization/120747] [16 Regression] 435.gromacs miscompares since r16-1550-g9244ea4bf55638

2025-06-24 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120747 --- Comment #9 from Filip Kastl --- Ok, I'll try to find out from which file (maybe even from which function) the numerical error originates (thanks for the tips, Sam). It will take some time though since all of the Zen4/5 machines I have avail

[Bug tree-optimization/120802] Erroneous warning, -Warray-bounds, on accessing memory returned from a function declared with the alloc_size attribute with int pointers on optimisation -02 and above.

2025-06-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120802 Richard Biener changed: What|Removed |Added Known to fail||14.3.0, 15.1.0 Known to work|

[Bug tree-optimization/117113] [12 regression] ICE on valid code at -O3 with "-fno-tree-dce -fno-inline" on x86_64-linux-gnu: verify_ssa failed since r8-5204-gdc236397e4d966

2025-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117113 --- Comment #8 from GCC Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:f4dbdeabb2944d014d506a537a576a6f9a1f4c1f commit r12-11225-gf4dbdeabb2944d014d506a537a576a6f9a1f4c1f Author: Richard Biene

[Bug libstdc++/120806] std::out_ptr is not conforming to the standard

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

[Bug fortran/120711] [14/15/16 regression] Growing arrays segfaults

2025-06-24 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120711 Andre Vehreschild changed: What|Removed |Added Summary|[15/16 regression] Growing |[14/15/16 regression]

  1   2   >