[Bug middle-end/71761] missing tailcall optimization (structure return)

2025-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71761 --- Comment #13 from Andrew Pinski --- New patch which includes the fix: https://gcc.gnu.org/pipermail/gcc-patches/2025-June/687633.html

[Bug middle-end/71761] missing tailcall optimization (structure return)

2025-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71761 --- Comment #12 from Andrew Pinski --- (In reply to Andrew Pinski from comment #11) > Patch posted: > https://gcc.gnu.org/pipermail/gcc-patches/2025-June/687297.html I have a new patch in testing which fixes the targetm.calls.structure_value_rtx

[Bug target/120830] [16 regression] ICE when building opencv-4.11.0 (as_a, at machmode.h:391)

2025-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120830 --- Comment #7 from Andrew Pinski --- This looks wrong: else if (CONST_VECTOR_P (op)) { rtx first = XVECEXP (op, 0, 0); for (int i = 1; i < nunits; ++i) { rtx tmp = XVECEXP (op, 0, i); /* Vector dupl

[Bug target/120830] [16 regression] ICE when building opencv-4.11.0 (as_a, at machmode.h:391)

2025-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120830 --- Comment #3 from Andrew Pinski --- (In reply to Sam James from comment #2) > > Breakpoint 1.899, as_a (p=, > p=) at > /usr/src/debug/sys-devel/gcc-16.0./gcc-16.0./gcc/is-a.h:255 > 255 gcc_checking_assert (is_a (p)); This is

[Bug c++/120824] [modules] Cannot export unnamed enum declared in GMF

2025-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120824 --- Comment #2 from Andrew Pinski --- https://www.open-std.org/JTC1/SC22/WG21/docs/papers/2020/p2115r0.html Let me see if I can find the DR #.

[Bug c++/95938] [12/13/14/15/16 Regression] ICE in synthesize_implicit_template_parm, at cp/parser.c:44077

2025-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95938 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.5 Known to fail|

[Bug c++/95938] ICE in synthesize_implicit_template_parm, at cp/parser.c:44077

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

[Bug c++/120821] ICE: in synthesize_implicit_template_parm, at cp/parser.cc:54331

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

[Bug plugins/120829] New: All plugins testcases fail when doing cross to aarch64, _ZN8opt_pass5cloneEv undefined

2025-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
Keywords: testsuite-fail Severity: normal Priority: P3 Component: plugins Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux-gnu Target: aarch64-linux-gnu

[Bug analyzer/120809] [16 Regression] gcc.dg/analyzer/state-diagram-5.c fails when "dot" isn't installed starting with r16-1631-g2334d30cd8feac

2025-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120809 --- Comment #5 from Andrew Pinski --- (In reply to David Malcolm from comment #4) > I figured it out: r16-1631-g2334d30cd8feac added optional generation of SVG > diagrams to the generated HTML, by invoking "dot -Tsvg". state-diagram-5.c > is th

[Bug target/120827] [RISC-V] ICE unrecognizible insn in LTO build

2025-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120827 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-06-25 Status|UNCONFIRM

[Bug c++/120825] Constexpr evaluation fails with the ub sanitizer

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

[Bug sanitizer/71962] error: ‘((& x) != 0u)’ is not a constant expression with fsanitize=undefined

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

[Bug tree-optimization/107095] gcc.dg/vect/vect-89.c gets miscompiled by DSE

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

[Bug tree-optimization/120817] [13/14/15/16 regression] Wrong code when compiled with -O1 -ftree-loop-vectorize for AArch64 target

2025-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120817 --- Comment #2 from Andrew Pinski --- (In reply to Sam James from comment #1) > At -O3 on x86_64-pc-linux-gnu, we also get a bunch of -Wstringop-overflow > appearing. I think those are different.

[Bug tree-optimization/106378] Miss to handle ifn .LEN_STORE in DSE

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

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

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

[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 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 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 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 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 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 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 middle-end/120803] inline assembly sign extends unsigned constraints

2025-06-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120803 Andrew Pinski changed: What|Removed |Added Keywords||documentation --- Comment #2 from Andre

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

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120720 --- Comment #5 from Andrew Pinski --- std::max has been constexpr since c++14.

[Bug tree-optimization/23094] store ccp, or store copy prop misses an optimization

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

[Bug c++/111299] lack of warning on dangling reference to temporary

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111299 Andrew Pinski changed: What|Removed |Added CC||anthony.hayward@ast-science

[Bug c++/102530] Warn about non-extended temporary passed to a function returning a reference in temp-extending context

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102530 --- Comment #5 from Andrew Pinski --- GCC does provide a warning for: ``` struct A { ~A(); int t; }; struct B { A a; A& get_a() { return a; } }; int main() { A& ar = B().get_a(); // ar now refers to a destroyed object return ar.t;

[Bug c++/111299] warn when a temporary is created due to non-binding properties of packed fields

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

[Bug middle-end/87403] [Meta-bug] Issues that suggest a new warning

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 120785, which changed state. Bug 120785 Summary: No compiler warning when wrapping a packed C-style array in a std::span, array memcpy instead https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120785 What|Remov

[Bug c++/120785] No compiler warning when wrapping a packed C-style array in a std::span, array memcpy instead

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

[Bug c++/120785] No compiler warning when wrapping a packed C-style array in a std::span, array memcpy instead

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120785 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-06-23 Status|UNCONFIRM

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

2025-06-23 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 Last reconfirmed||2025-06-23 Status|UNCONFIRM

[Bug fortran/120788] gfortran problem with integer overflow comparison

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

[Bug bootstrap/120726] make clean (clean-stage1-target-libgcc): Recursive variable 'AR' references itself (eventually). Stop

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

[Bug bootstrap/25790] make clean fails

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25790 Andrew Pinski changed: What|Removed |Added CC||dilyan.palauzov at aegee dot org --- Co

[Bug middle-end/71761] missing tailcall optimization (structure return)

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71761 --- Comment #11 from Andrew Pinski --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2025-June/687297.html

[Bug c++/120776] [C++26] P1306R5 - Expansion statements

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

[Bug libgcc/120726] make clean (clean-stage1-target-libgcc): Recursive variable 'AR' references itself (eventually). Stop

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

[Bug c++/120775] [C++26] P2996R13 - Reflection

2025-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120775 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/120766] [12/13/14/15/16 Regression] ICE Segmentation fault with duplicate extern variable of template type

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

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

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

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

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

[Bug middle-end/54770] sibling call optimization is not applied where it ought to be

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54770 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/82705] Missing tail calls for large structs returns

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

[Bug middle-end/71761] missing tailcall optimization

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71761 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug middle-end/71761] missing tailcall optimization

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71761 Andrew Pinski changed: What|Removed |Added CC||jmuizelaar at mozilla dot com --- Commen

[Bug c++/115606] C++ front-end marks the return slot as addressable early on which prevents tail call being marked

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115606 Bug 115606 depends on bug 82705, which changed state. Bug 82705 Summary: Missing tail calls for large structs returns https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82705 What|Removed |Added -

[Bug middle-end/82705] Missing tail calls for large structs returns

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82705 --- Comment #8 from Andrew Pinski --- Created attachment 61682 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61682&action=edit Patch which I am testing but needs some testcases too

[Bug libquadmath/120762] PRINT: issue activating "Q" print format specifier [solved]

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

[Bug middle-end/82705] Missing tail calls for large structs returns

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82705 Andrew Pinski changed: What|Removed |Added Keywords||FIXME --- Comment #7 from Andrew Pinski

[Bug libquadmath/120762] PRINT: issue activating "Q" print format specifier [solved]

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120762 --- Comment #3 from Andrew Pinski --- See https://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries which documents this downstream in debian.

[Bug c++/120758] Empty initializer list (`{}`) incorrectly deduces an array size for array reference parameter

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120758 --- Comment #1 from Andrew Pinski --- EDG also rejects this code.

[Bug c++/120758] Empty initializer list (`{}`) incorrectly deduces an array size for array reference parameter

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

[Bug tree-optimization/120735] -Warray-bounds error via std::vector::data after unsigned int overflow potential

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

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 120735, which changed state. Bug 120735 Summary: -Warray-bounds error via std::vector::data after unsigned int overflow potential https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120735 What|Removed

[Bug c++/120759] [12/13/14/15/16 Regression] Empty initializer list (`{}`) in a parameter pack disables deduction for the entire pack

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120759 Andrew Pinski changed: What|Removed |Added Known to fail||4.7.1 Known to work|

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

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120750 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/120719] __builtin_rev_crc32_data8() should revert to __builtin_ia32_crc32qi() when available

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120719 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|

[Bug libgcc/120726] make clean (clean-stage1-target-libgcc): Recursive variable 'AR' references itself (eventually). Stop

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120726 Andrew Pinski changed: What|Removed |Added Component|bootstrap |libgcc Ever confirmed|0

[Bug target/120709] [15/16 Regression] ICE in expand_builtin_crc_table_based with __builtin_crc8_data8 and non constant poly argument

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120709 Andrew Pinski changed: What|Removed |Added Summary|[15/16 Regression] ICE in |[15/16 Regression] ICE in

[Bug c++/120706] [14/15/16 Regression] Incorrect underlining for -Wformat when the type has a user-defined copy constructor

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120706 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.4 Summary|Incorrect under

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

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

[Bug target/120725] [meta] Poor memcpy/memset inline strategies for -mtune=generic

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

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

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

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

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120745 --- Comment #1 from Andrew Pinski --- I am not sure bugzilla is the right place to ask for help while working on a patch/pass; the gcc@ mailing list is where that normally takes place.

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

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

[Bug middle-end/120732] simd attribute needs better documentation when dealing with memory loops and C++

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120732 Andrew Pinski changed: What|Removed |Added Summary|Compiler doesn't generate a |simd attribute needs better

[Bug target/120719] __builtin_rev_crc32_data8() should revert to __builtin_ia32_crc32qi() when available

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120719 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/120683] vector_loop/unrolled_loop generates poor codes on memset/memcpy

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

[Bug c++/120757] [12/13/14/15/16 Regression] ICE: in tsubst, at cp/pt.cc:16787

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120757 Andrew Pinski changed: What|Removed |Added Known to fail||12.4.0, 13.1.0, 14.1.0 Target Milesto

[Bug c++/120748] [16 Regression] New crash with lambda code

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

[Bug c++/120754] [12/13/14/15/16 Regression] Segfault when trying to print error about catching function type

2025-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120754 Andrew Pinski changed: What|Removed |Added Summary|Segfault when trying to |[12/13/14/15/16 Regression]

[Bug c/120744] New diagnostic: -Wrealloc-zero-bytes

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

[Bug tree-optimization/120735] -Warray-bounds error via std::vector::data after unsigned int overflow potential

2025-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120735 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Blocks|

[Bug tree-optimization/120727] Bogus -Warray-bounds on std::vector::push_back() with -O2

2025-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120727 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > I am sure this is a false positive since there is no such thing as unsigned > overflow. It is always wrapping. Whoops that was for a different bug report

[Bug tree-optimization/120727] Bogus -Warray-bounds on std::vector::push_back() with -O2

2025-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120727 --- Comment #2 from Andrew Pinski --- I am sure this is a false positive since there is no such thing as unsigned overflow. It is always wrapping.

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

2025-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120738 --- Comment #1 from Andrew Pinski --- Can you point to the definition of CTF_FP_LDOUBLE? Because it seems wrong to have IEEE 128 and IEEE 80 share both CTF_FP_LDOUBLE.

[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 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/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/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 target/110181] longlong.h for RISCV should define count_leading_zeros and count_trailing_zeros and COUNT_LEADING_ZEROS_0 when ZBB is enabled

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

[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-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120721 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

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

2025-06-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120720 --- Comment #1 from Andrew Pinski --- You could always use the non builtin constexpr function to do the same for constexpr part like is required for strlen, etc.

[Bug target/120718] [15/16 Regression] ICE (unrecognizable insn) with SVE intrinsics and C++ class since r15-4235-gbcccc3221b838e

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

[Bug target/120718] [15/16 Regression] ICE (unrecognizable insn) with SVE intrinsics and C++ class since r15-4235-gbcccc3221b838e

2025-06-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
||pinskia at gcc dot gnu.org Target Milestone|--- |15.2

[Bug bootstrap/120707] Comparing stage 2 and 3 fails because of rust-tyty-subst.o, building in src and -O3

2025-06-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120707 --- Comment #4 from Andrew Pinski --- What happens if you don't build in the src tree as recommended in the install documentation?

[Bug bootstrap/120707] Comparing stage 2 and 3 fails because of rust-tyty-subst.o, building in src and -O3

2025-06-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120707 Andrew Pinski changed: What|Removed |Added Target||X86_64 Summary|Comparing sta

[Bug bootstrap/120707] Comparing stage 2 and 3 fails because of rust-tyty-subst.o

2025-06-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120707 Andrew Pinski changed: What|Removed |Added Component|rust|bootstrap Last reconfirmed|

[Bug middle-end/120609] printf fails for a decimal type if variable is unmodified

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

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

2025-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120704 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2025-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120704 Andrew Pinski changed: What|Removed |Added Known to work||13.4.0 Summary|[14/15/16 reg

[Bug tree-optimization/120704] [14/15/16 regression] Wrong O3 optimization leads to UBs and SIGSEGV

2025-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120704 --- Comment #5 from Andrew Pinski --- Created attachment 61663 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61663&action=edit Self contained testcase without the questionable coce

  1   2   3   4   5   6   7   8   9   10   >