[Bug target/118890] ubsan bootstrap failure for powerpc64le-unknown-linux-gnu

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

[Bug c++/120716] [16 regression] ICE on https://eel.is/c++draft/expr.const#example-3 in C++23 since r16-149

2025-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120716 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/120716] [16 regression] ICE on https://eel.is/c++draft/expr.const#example-3 in C++23

2025-06-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120716 Sam James changed: What|Removed |Added Target Milestone|--- |16.0 Summary|ICE on

[Bug target/120708] ix86_expand_set_or_cpymem ignores MOVE_MAX

2025-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120708 --- Comment #2 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:050b1708ea532ea4840e97d85fad4ca63d4cd631 commit r16-1588-g050b1708ea532ea4840e97d85fad4ca63d4cd631 Author: H.J. Lu Date: Thu Jun 19 05

[Bug c++/120716] [16 regression] ICE on https://eel.is/c++draft/expr.const#example-3 in C++23 since r16-149

2025-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120716 --- Comment #3 from Jakub Jelinek --- Guess the important part of the patch is tree **use = const_vars.get (var); - if (use && TREE_CODE (**use) == DECL_EXPR) +

[Bug tree-optimization/120639] vect: Strided memory access type, stores with gaps?

2025-06-20 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120639 --- Comment #3 from Robin Dapp --- > We could use scatter stores, building the index vector somehow cleverly with > i_width contiguous indexes interspaced by i_dst_stride. In fact this vector > could be built as inductions when building the i_h

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 Richard Biener changed: What|Removed |Added Status|WAITING |NEW --- Comment #9 from Richard Biener

[Bug cobol/120730] parse.cc doesn't compile with bison 3.5.1

2025-06-20 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120730 Rainer Orth changed: What|Removed |Added Target Milestone|--- |16.0

[Bug libfortran/114895] [Y2038] Build failure with !HAVE_WORKING_STAT

2025-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114895 Richard Biener changed: What|Removed |Added Keywords||build Last reconfirmed|

[Bug tree-optimization/120639] vect: Strided memory access type, stores with gaps?

2025-06-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120639 --- Comment #4 from rguenther at suse dot de --- On Fri, 20 Jun 2025, rdapp at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120639 > > --- Comment #3 from Robin Dapp --- > > We could use scatter stores, building the i

[Bug target/70308] memset generates rep stosl instead of rep stosq

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

[Bug target/120427] [12/13/14/15 Regression] "and $0,mem" is generated without -Oz since r12-6106-gef26c151c14a87

2025-06-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120427 Sam James changed: What|Removed |Added Summary|[12/13/14/15/16 Regression] |[12/13/14/15 Regression]

[Bug target/118276] memset 88 uses rep stosq while 80 uses SSE

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

[Bug target/120728] New: vmovdqu8 is used on YMM unnecessarily

2025-06-20 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120728 Bug ID: 120728 Summary: vmovdqu8 is used on YMM unnecessarily Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/120557] [14/15/16 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have integer_type in finish_non_static_data_member, at cp/semantics.cc:2809

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

[Bug target/120728] vmovdqu8 is used on YMM unnecessarily

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

[Bug target/120728] vmovdqu8 is used on YMM unnecessarily

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

[Bug middle-end/120721] [16 regression] ICE when building llvm-20.1.7 on arm64 (instantiate_virtual_regs_in_insn, at function.cc:1737)

2025-06-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120721 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug gcov-profile/120634] Memory leak in prime-paths.cc selftests (and possibly in general?)

2025-06-20 Thread j at lambda dot is via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120634 --- Comment #2 from Jørgen Kvalsvik --- I posted a fix on gcc-patches https://gcc.gnu.org/pipermail/gcc-patches/2025-June/687131.html

[Bug target/120728] vmovdqu8 is used on YMM unnecessarily

2025-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120728 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org K

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

2025-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120724 Richard Biener changed: What|Removed |Added Last reconfirmed||2025-06-20 Component|target

[Bug c++/120729] New: Compilation takes forever with -Wuninitialized

2025-06-20 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120729 Bug ID: 120729 Summary: Compilation takes forever with -Wuninitialized Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug modula2/120731] Possible error in Strings.Pos causing sigsegv

2025-06-20 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120731 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/120722] [16 Regression][gcn] ICE in gen_highpart, at emit-rtl.cc:1674 since r16-1565-g2dcc6dbd8a00ca when building libgcc/strub.c for gfx1036

2025-06-20 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120722 --- Comment #2 from Andrew Stubbs --- Previously simplify_gen_subreg worked with this pattern: (reg:DI 106 vcc_lo [orig:693 loop_mask_26 ] [693]) gave (subreg:SI (reg:DI 106 vcc_lo [orig:693 loop_mask_26 ] [693]) 4) Now it fails.

[Bug tree-optimization/120639] vect: Strided memory access type, stores with gaps?

2025-06-20 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120639 --- Comment #5 from Robin Dapp --- > Well, consider the desired index vector being a real induction (just > store it somewhere). If we can handle that, we should be able to > handle the scatter. If not, we can't handle the scatter. Hmm, I thi

[Bug libstdc++/120717] Passing reference to incomplete type to std::move_only_function emits false-positive '-Wsfinae-incomplete' warning

2025-06-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120717 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/120729] Compilation takes forever with -Wuninitialized

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

[Bug tree-optimization/120729] Compilation takes forever with -Wuninitialized

2025-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120729 --- Comment #3 from Richard Biener --- So the code checks _all_ paths through the CFG, visited_flag_phis only prunes backedges during the recursion of of processing one path. To be unlucky one has to have a very deep back-to-back PHI def chain,

[Bug c++/120557] [14/15/16 Regression] ICE: tree check: expected record_type or union_type or qual_union_type, have integer_type in finish_non_static_data_member, at cp/semantics.cc:2809

2025-06-20 Thread waffl3x at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120557 --- Comment #3 from Alex --- If I remember correctly, originally we decided that deducing this as a pre-c++23 extension should be pretty benign. Fixing this to work in c++11 would be going beyond that though, as generic lambdas are c++14, so ma

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

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

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

2025-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119971 --- Comment #6 from GCC Commits --- The releases/gcc-15 branch has been updated by Jeff Law : https://gcc.gnu.org/g:bf284e8f5edf0d039b1dd9af5d62e355ce85a7ba commit r15-9850-gbf284e8f5edf0d039b1dd9af5d62e355ce85a7ba Author: Jeff Law Date: Mo

[Bug middle-end/118443] [Meta bug] Bugs triggered by and blocking more smtgcc testing

2025-06-20 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118443 Bug 118443 depends on bug 119971, which changed state. Bug 119971 Summary: [15 Regression] RISC-V: Wrong code with bitmanip extension https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119971 What|Removed |Added

[Bug target/120722] [16 Regression][gcn] ICE in gen_highpart, at emit-rtl.cc:1674 since r16-1565-g2dcc6dbd8a00ca when building libgcc/strub.c for gfx1036

2025-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120722 --- Comment #4 from GCC Commits --- The master branch has been updated by Andrew Stubbs : https://gcc.gnu.org/g:95752870fb5c51868a084b94705a83d728be52c8 commit r16-1593-g95752870fb5c51868a084b94705a83d728be52c8 Author: Andrew Stubbs Date: F

[Bug tree-optimization/120639] vect: Strided memory access type, stores with gaps?

2025-06-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120639 --- Comment #6 from rguenther at suse dot de --- > Am 20.06.2025 um 16:17 schrieb rdapp at gcc dot gnu.org > : > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120639 > > --- Comment #5 from Robin Dapp --- >> Well, consider the desired inde

[Bug tree-optimization/120729] Compilation takes forever with -Wuninitialized

2025-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120729 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c++/120720] __builtin_rev_crc32_data8 (and family) should be constexpr functions

2025-06-20 Thread sh1.gccbug at tikouka dot nz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120720 --- Comment #2 from Simon H. --- I'm not sure what the canonical non-builtin entrypoint would be in this case. Some kind of idiom detection? I tried the is_constant_evaluated() test but it only picks up things which are explicitly constexpr ra

[Bug target/101366] memset codegen for constant sized does not use SSE instructions

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

[Bug target/108585] memset uses SSE stores but afterwards does not but if used "" will use them

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

[Bug tree-optimization/120654] [14/15/16 Regression] Crash at -O3: during GIMPLE pass: ivopts

2025-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120654 --- Comment #3 from Richard Biener --- So we get [irange] UNDEFINED into range_fits_type_p and then /* We can only handle integral and pointer types. */ src_type = vr->type (); if (!INTEGRAL_TYPE_P (src_type) && !POINTER_TYPE_P

[Bug tree-optimization/120654] [14/15/16 Regression] Crash at -O3: during GIMPLE pass: ivopts

2025-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120654 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:6bd1223bd55ed60fa5dbfd4a8444e133e5e933f5 commit r16-1589-g6bd1223bd55ed60fa5dbfd4a8444e133e5e933f5 Author: Richard Biener Date:

[Bug tree-optimization/116674] [15 regression] ICE in vectorizable_simd_clone_call bisected to r15-3509-gd34cda72098867

2025-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116674 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:638e90e5e8000b6b6b320b02229310c63c441b9f commit r14-11855-g638e90e5e8000b6b6b320b02229310c63c441b9f Author: Richard Biene

[Bug tree-optimization/120654] [14/15 Regression] Crash at -O3: during GIMPLE pass: ivopts

2025-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120654 Richard Biener changed: What|Removed |Added Summary|[14/15/16 Regression] Crash |[14/15 Regression] Crash at

[Bug tree-optimization/120666] ICE when building with fast-math, O3 and LTO

2025-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120666 Richard Biener changed: What|Removed |Added Resolution|--- |DUPLICATE Status|ASSIGNED

[Bug cobol/120730] New: parse.cc doesn't compile with bison 3.5.1

2025-06-20 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120730 Bug ID: 120730 Summary: parse.cc doesn't compile with bison 3.5.1 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug tree-optimization/116674] [15 regression] ICE in vectorizable_simd_clone_call bisected to r15-3509-gd34cda72098867

2025-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116674 Richard Biener changed: What|Removed |Added CC||eebssk1 at godaftwithebk dot pub ---

[Bug gcov-profile/120634] Memory leak in prime-paths.cc selftests (and possibly in general?)

2025-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120634 --- Comment #3 from GCC Commits --- The master branch has been updated by Jorgen Kvalsvik : https://gcc.gnu.org/g:246c33ac8e8e1967c74ae20c07454a24ef02822a commit r16-1590-g246c33ac8e8e1967c74ae20c07454a24ef02822a Author: Jørgen Kvalsvik Date:

[Bug gcov-profile/120634] Memory leak in prime-paths.cc selftests (and possibly in general?)

2025-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120634 --- Comment #4 from GCC Commits --- The master branch has been updated by Jorgen Kvalsvik : https://gcc.gnu.org/g:69725b13e9dc8bdb17ec8a7d554071b6b517ad47 commit r16-1591-g69725b13e9dc8bdb17ec8a7d554071b6b517ad47 Author: Jørgen Kvalsvik Date:

[Bug c++/120729] Compilation takes forever with -Wuninitialized

2025-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120729 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/120704] [14/15/16 regression] Wrong code at -O3

2025-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120704 Richard Biener changed: What|Removed |Added Assignee|rguenth at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug target/115842] [15/16 Regression] 6.5% slowdown of 548.exchange2_r on Intel Ice Lake

2025-06-20 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115842 --- Comment #12 from Tamar Christina --- (In reply to Hongtao Liu from comment #11) > (In reply to Tamar Christina from comment #9) > > (In reply to Hongtao Liu from comment #8) > > > (In reply to Tamar Christina from comment #7) > > > > (In rep

[Bug fortran/120723] [13/14/15/16 Regression][OpenACC] '!$acc ... attach(scalar)' – ICE 'unexpected pointer mapping node'

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

[Bug target/120722] [16 Regression][gcn] ICE in gen_highpart, at emit-rtl.cc:1674 since r16-1565-g2dcc6dbd8a00ca when building libgcc/strub.c for gfx1036

2025-06-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120722 --- Comment #1 from Tobias Burnus --- Fails for: Breakpoint 1, gen_highpart (mode=E_SImode, x=0x77195378) at /home/tob/repos/gcc/gcc/emit-rtl.cc:1674 1674 gcc_assert (result && !MEM_P (result)); (gdb) p result $1 = (rtx) 0x0 (gdb) p

[Bug c++/120729] Compilation takes forever with -Wuninitialized

2025-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120729 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Component|tre

[Bug tree-optimization/120701] [16 regression] ICE at -O{2,3} on x86_64-linux-gnu: in verify_range, at value-range.cc:1546 since r16-1550-g9244ea4bf55638

2025-06-20 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120701 Andrew Macleod changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #4 from Andrew Ma

[Bug modula2/120731] New: Possible error in Strings.Pos causing sigsegv

2025-06-20 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120731 Bug ID: 120731 Summary: Possible error in Strings.Pos causing sigsegv Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: mo

[Bug c++/120732] New: Compiler doesn't generate a call to a vector function

2025-06-20 Thread ibogosavljevic at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120732 Bug ID: 120732 Summary: Compiler doesn't generate a call to a vector function Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug target/120722] [16 Regression][gcn] ICE in gen_highpart, at emit-rtl.cc:1674 since r16-1565-g2dcc6dbd8a00ca when building libgcc/strub.c for gfx1036

2025-06-20 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120722 --- Comment #3 from Andrew Stubbs --- It looks like this is the hunk that changes the behaviour. --- a/gcc/emit-rtl.cc +++ b/gcc/emit-rtl.cc @@ -975,8 +975,9 @@ validate_subreg (machine_mode omode, machine_mode imode, /* Verify that the off

[Bug tree-optimization/120598] Compiler is unable to vectorise scalar code

2025-06-20 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2025-06-20 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 120598, which changed state. Bug 120598 Summary: Compiler is unable to vectorise scalar code https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120598 What|Removed |Added -

[Bug target/120737] New: #pragma omp atomic fails on nvptx

2025-06-20 Thread schulz.benjamin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120737 Bug ID: 120737 Summary: #pragma omp atomic fails on nvptx Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/120741] New: [16 Regression] ICE on mingw-w64-12.0.0: during RTL pass: pro_and_epilogue ICE in ix86_expand_prologue, at config/i386/i386.cc:9446

2025-06-20 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120741 Bug ID: 120741 Summary: [16 Regression] ICE on mingw-w64-12.0.0: during RTL pass: pro_and_epilogue ICE in ix86_expand_prologue, at config/i386/i386.cc:9446 Product: gcc

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

2025-06-20 Thread rush102333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120742 Bug ID: 120742 Summary: ICE: tree check: expected tree_vec, have type_pack_expansion in coerce_template_parameter_pack, at cp/pt.cc:9042 Product: gcc Version: 16

[Bug c++/80151] Add a warning to catch implicit string to bool conversion (-Wstring-conversion)

2025-06-20 Thread doug at cs dot dartmouth.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80151 doug mcilroy changed: What|Removed |Added CC||doug at cs dot dartmouth.edu --- Comment

[Bug tree-optimization/120701] [16 regression] ICE at -O{2,3} on x86_64-linux-gnu: in verify_range, at value-range.cc:1546 since r16-1550-g9244ea4bf55638

2025-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120701 --- Comment #7 from GCC Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:b03e0d69b37f6ea7aef220652635031a89f56a11 commit r16-1594-gb03e0d69b37f6ea7aef220652635031a89f56a11 Author: Andrew MacLeod Date:

[Bug target/118241] RISC-V ICE: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407 caused by prefetch instructions

2025-06-20 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118241 --- Comment #7 from Jeffrey A. Law --- Ah nuts! My mistake, I conflated this issue which is "prefetch" with the other issue in the "prefetchi" space. "prefetchi" is broken and likely requires a deeper fix than what we need here. I don't see a

[Bug tree-optimization/120701] [16 regression] ICE at -O{2,3} on x86_64-linux-gnu: in verify_range, at value-range.cc:1546 since r16-1550-g9244ea4bf55638

2025-06-20 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120701 Andrew Macleod changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/120701] [16 regression] ICE at -O{2,3} on x86_64-linux-gnu: in verify_range, at value-range.cc:1546 since r16-1550-g9244ea4bf55638

2025-06-20 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120701 --- Comment #6 from Andrew Macleod --- Not sure why the commit isn't showing up... regardless: commit b03e0d69b37f6ea7aef220652635031a89f56a11 Author: Andrew MacLeod Date: Fri Jun 20 08:50:39 2025 -0400 Fix range wrap check and enhance

[Bug target/120734] New: -m32 -march=i686 doesn't use "mov $0, mem"

2025-06-20 Thread hjl.tools at gmail dot com via Gcc-bugs
^^^ "movl $0, aligned_heap_area" should be used. ret .cfi_endproc .LFE0: .size bar, .-bar .ident "GCC: (GNU) 16.0.0 20250620 (experimental)" .section.note.GNU-stack,"",@progbits [hjl@gnu-tgl-3 gcc]$

[Bug target/120733] New: [16 Regression][aarch64] ICE in gen_highpart, at lra.cc:1484 since r16-1565-g2dcc6dbd8a00ca

2025-06-20 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120733 Bug ID: 120733 Summary: [16 Regression][aarch64] ICE in gen_highpart, at lra.cc:1484 since r16-1565-g2dcc6dbd8a00ca Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug target/119966] [16 regression] pru: Invalid register in RTL expression starting with r16-160-ge6f89d78c1a752

2025-06-20 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119966 Dimitar Dimitrov changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/119966] [16 regression] pru: Invalid register in RTL expression starting with r16-160-ge6f89d78c1a752

2025-06-20 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119966 --- Comment #18 from Dimitar Dimitrov --- (In reply to Jakub Jelinek from comment #15) > For debug insns, we generally want to be far more tolerant in what subregs > they accept. I filed PR120733 to track this particular fallout. I'm not sure i

[Bug target/120734] -m32 -march=i686 doesn't use "mov $0, mem"

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

[Bug target/120734] -m32 -march=i686 doesn't use "mov $0, mem"

2025-06-20 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120734 --- Comment #2 from H.J. Lu --- (In reply to H.J. Lu from comment #1) > It is done on purpose with > > /* X86_TUNE_SPLIT_LONG_MOVES: Avoid instructions moving immediates >directly to memory. */ > DEF_TUNE (X86_TUNE_SPLIT_LONG_MOVES, "split

[Bug c++/120735] New: -Warray-bounds error via std::vector::data after unsigned int overflow potential

2025-06-20 Thread drahflow at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120735 Bug ID: 120735 Summary: -Warray-bounds error via std::vector::data after unsigned int overflow potential Product: gcc Version: 15.1.0 Status: UNCONFIRMED Sever

[Bug target/120736] New: [16 Regression] RISC-V: Miscompile at -O[23] since r15-5375-gbeec291225b

2025-06-20 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120736 Bug ID: 120736 Summary: [16 Regression] RISC-V: Miscompile at -O[23] since r15-5375-gbeec291225b Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: norma

[Bug debug/120739] New: ctf: Emit CTF_K_ARRAY for GNU vector types

2025-06-20 Thread bruce.mcculloch at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120739 Bug ID: 120739 Summary: ctf: Emit CTF_K_ARRAY for GNU vector types Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: de

[Bug target/120652] [16 Regression] RISC-V: ICE in require, at machmode.h:323 with rv64gcv_zvl256b

2025-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120652 --- Comment #2 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:52582b40a9bf839ae3771de1557ce6691eb8eedd commit r16-1597-g52582b40a9bf839ae3771de1557ce6691eb8eedd Author: Pan Li Date: Thu Jun 19 18:5

[Bug target/120603] Improve addition/subtraction on RISC-V for out of range constants

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

[Bug debug/120738] ctf: use CTF_FP_LDOUBLE encoding for 128-bit floats

2025-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120738 --- Comment #4 from Andrew Pinski --- Long double could be 64bit while having _Float128 too. This is allowed with c23 even. Even _Float16 is not able to be represented.

[Bug debug/120738] ctf: use CTF_FP_LDOUBLE encoding for 128-bit floats

2025-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120738 Andrew Pinski changed: What|Removed |Added Status|WAITING |SUSPENDED --- Comment #3 from Andrew Pi

[Bug debug/120738] ctf: use CTF_FP_LDOUBLE encoding for 128-bit floats

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

[Bug debug/120739] ctf: Emit CTF_K_ARRAY for GNU vector types

2025-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120739 --- Comment #2 from Andrew Pinski --- A patch for this was already rejected: https://patchwork.sourceware.org/project/gcc/patch/20250501213426.2252847-2-bruce.mccull...@oracle.com/

[Bug debug/120739] ctf: Emit CTF_K_ARRAY for GNU vector types

2025-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120739 Andrew Pinski changed: What|Removed |Added Keywords||btf-debug --- Comment #1 from Andrew Pi

[Bug target/120734] *mov_(and|or) can be used for TARGET_SPLIT_LONG_MOVES

2025-06-20 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120734 H.J. Lu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org Summar

[Bug target/120734] *mov_(and|or) can be used for TARGET_SPLIT_LONG_MOVES

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

[Bug debug/120738] New: ctf: use CTF_FP_LDOUBLE encoding for 128-bit floats

2025-06-20 Thread bruce.mcculloch at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120738 Bug ID: 120738 Summary: ctf: use CTF_FP_LDOUBLE encoding for 128-bit floats Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug target/120659] ICE: in riscv_sched_variable_issue, at config/riscv/riscv.cc:9879 with -O2 -mcpu=sifive-x280

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

[Bug cobol/120621] COBOL isn't built with STRICT_WARN

2025-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120621 --- Comment #10 from GCC Commits --- The master branch has been updated by James K. Lowden : https://gcc.gnu.org/g:007392c0f93cf46b9e87aebdd04e123e3381fc07 commit r16-1595-g007392c0f93cf46b9e87aebdd04e123e3381fc07 Author: James K. Lowden Date

[Bug target/120737] #pragma omp atomic fails on nvptx

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

[Bug target/118241] RISC-V ICE: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407 caused by prefetch instructions

2025-06-20 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118241 --- Comment #8 from Jeffrey A. Law --- So I think the way to go for the data prefetching issue is: 1. Define a proper predicate for valid prefetch operands. a. REG b. REG+D where D is a simm12 with D & 0xf == 0 c. Immediate wehre immed