[Bug testsuite/112728] gcc.dg/scantest-lto.c FAILs

2025-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112728 --- Comment #11 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:6ce76052aeaa3370243909b62c87bfdcb243b885 commit r16-3557-g6ce76052aeaa3370243909b62c87bfdcb243b885 Author: Iain Sandoe Date: We

[Bug target/121213] Poor RV64 code generated for __atomic_exchange_n (llvm seems to do it right)

2025-09-03 Thread vincenzo.romano at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121213 --- Comment #9 from Vincenzo Romano --- I confirm trunk now produces expected code also for case no.2 .

[Bug target/121781] New: [Trunk] RISC-V rv64gcv: miscompile at -O1/O2

2025-09-03 Thread xxs_chy at outlook dot com via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: xxs_chy at outlook dot com Target Milestone: --- GCC version: gcc version 16.0.0 20250903 (experimental) (gbda76b479) Testcase: #include #include typedef int16_t a; typedef uint16_t b; typedef b c __attribute__

[Bug target/121780] New: [Trunk] RISC-V rv64gcv: miscompile at -O1

2025-09-03 Thread xxs_chy at outlook dot com via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: xxs_chy at outlook dot com Target Milestone: --- GCC version: gcc version 16.0.0 20250903 (experimental) (gbda76b479) Testcase: #include #include typedef uint8_t a; typedef a b __attribute__((vector_size(4))); typedef a c

[Bug target/65266] [SH] Use rotcl for bit reversals

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

[Bug ipa/93921] -Os generates much bigger code than -O{1,2,3,fast} for std::string::size

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

[Bug libstdc++/86023] Fake triviality test for internal purposes

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86023 --- Comment #1 from Andrew Pinski --- I suspect we could optimize this at the gimple level too: ``` [local count: 4971102460]: # __last_57 = PHI <_47(9), _45(7)> _47 = __last_57 + 18446744073709551608; _50 = MEM[(int *)_47]; MEM[(int *

[Bug rtl-optimization/117838] [13/14/15/16 regression] IRA issues: The higher cost variable a is spilled for the lower cost variable conflict_a in improve_allocation() since r12-6416-g037cc0b4a6646c

2025-09-03 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117838 cuilili changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/121765] `std::formatter` specialization for user-defined type inheriting from `std::formatter` fails concept `std::formattable` check unexpectedly

2025-09-03 Thread nishuangcheng at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121765 --- Comment #4 from Shuangcheng Ni --- A possible fix: ```cpp namespace std { namespace __format { template <__char _CharT> struct _Iter_for<_CharT> { using type = _Sink_iter<_CharT>; }; } // namespace __format } // namespace std ``` Test

[Bug c++/121777] [15/16 Regression] ICE with returning a generic lambda to a template function

2025-09-03 Thread basil--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121777 --- Comment #6 from Basil Milanich --- (In reply to Andrew Pinski from comment #1) > >However, the gcc-15.2 ICE seemingly depends on the environment > > No it depends on how you configure gcc. In your case you have > `--enable-checking=yes,extr

[Bug tree-optimization/93556] lower mempcpy to memcpy when result is unused

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93556 Andrew Pinski changed: What|Removed |Added Keywords||easyhack Assignee|unassigned a

[Bug c++/121777] [15/16 Regression] ICE with returning a generic lambda to a template function

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121777 --- Comment #7 from Andrew Pinski --- (In reply to Basil Milanich from comment #6) > > What about Godbolt's trunk, is this the same bug - Godbolt does not report > --enable-checking in its config but this could be forced in the source? The dev

[Bug target/47186] -O2 moves invariant address load INTO loop

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

[Bug target/70079] missed constant propagation in memcpy expansion

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70079 --- Comment #5 from Andrew Pinski --- The trunk just calls memcpy now.

[Bug libstdc++/78713] [missed optimization] gcc doesn't use clobbers to optimize constructors

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78713 --- Comment #6 from Andrew Pinski --- Note std::optional produces the best code already. I am not sure if we care about code generation of std::experimental::optional.

[Bug tree-optimization/50382] Reassoc doesn't optimize pointer arithmetics

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

[Bug c++/121779] [16 Regression] use of operator < with spaceship operator returning int inside a template

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121779 Andrew Pinski changed: What|Removed |Added Known to work||15.1.0 Status|UNCONFIRMED

[Bug c++/121779] New: ICE when building ladybird browser: internal compiler error: tree check: expected call_expr, have lt_expr in build_min_non_dep_op_overload, at cp/tree.cc:3733

2025-09-03 Thread csfore at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121779 Bug ID: 121779 Summary: ICE when building ladybird browser: internal compiler error: tree check: expected call_expr, have lt_expr in build_min_non_dep_op_overload, at cp/tree.cc:3733

[Bug c++/121779] ICE when building ladybird browser: internal compiler error: tree check: expected call_expr, have lt_expr in build_min_non_dep_op_overload, at cp/tree.cc:3733

2025-09-03 Thread csfore at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121779 --- Comment #1 from Christopher Fore --- Created attachment 62298 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62298&action=edit compressed preprocessed file

[Bug target/65266] [SH] Use rotcl for bit reversals

2025-09-03 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65266 --- Comment #2 from Oleg Endo --- (In reply to Jeffrey A. Law from comment #1) > So I took at peek at this as it looked like it might be an interesting > missed optimization case for one my interns. Sure, always welcome :)

[Bug c++/121777] [15/16 Regression] ICE with returning a generic lambda to a template function

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

[Bug c++/121777] New: Possible UB in g++.

2025-09-03 Thread basil--- via Gcc-bugs
in Godbolt, using gcc-trunk, I get an ICE: Using built-in specs. COLLECT_GCC=/opt/compiler-explorer/gcc-snapshot/bin/g++ Target: x86_64-linux-gnu Configured with: ../gcc-trunk-20250903/configure --prefix=/opt/compiler-explorer/gcc-build/staging --enable-libstdcxx-backtrace=yes --build=x86_64-linux

[Bug c++/121777] [15/16 Regression] ICE with returning a generic lambda to a template function

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121777 --- Comment #4 from Andrew Pinski --- I am 99% sure it was caused by r15-6709-g325189c675017b .

[Bug c++/121777] [15/16 Regression] ICE with returning a generic lambda to a template function

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121777 --- Comment #3 from Andrew Pinski --- gcc_checking_assert (!TYPE_REF_P (TREE_TYPE (expr))); Yes that shows it explictly an assert which is only enabled with checking.

[Bug c++/121777] [15/16 Regression] ICE with returning a generic lambda to a template function

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121777 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.3

[Bug c++/121777] [15/16 Regression] ICE with returning a generic lambda to a template function

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121777 Andrew Pinski changed: What|Removed |Added Known to work||14.3.0 Ever confirmed|0

[Bug tree-optimization/121776] New: [13/14/15 Regression] memcmp expansion in strlen uses the wrong alignment

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121776 Bug ID: 121776 Summary: [13/14/15 Regression] memcmp expansion in strlen uses the wrong alignment Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: wron

[Bug target/121778] New: Improve rotation detection for RISC-V

2025-09-03 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121778 Bug ID: 121778 Summary: Improve rotation detection for RISC-V Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/121777] Possible UB in g++.

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121777 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #1 from A

[Bug tree-optimization/121776] [13/14/15 Regression] memcmp expansion in strlen uses the wrong alignment

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

[Bug rtl-optimization/121773] [13/14/15/16 Regression] Combine over-simplifies a subreg write

2025-09-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121773 Sam James changed: What|Removed |Added Keywords||needs-bisection CC|

[Bug rtl-optimization/121773] [13/14/15/16 Regression] Combine over-simplifies a subreg write

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121773 --- Comment #2 from Andrew Pinski --- Most likely r12-11174-gaffa145910b676 or r12-10976-g77172598dcb07b caused it. Those 2 combine patches are the ones on all 3 release branches when it seems like it started to go wrong. Based on the anlaysis

[Bug rtl-optimization/121773] [13/14/15/16 Regression] Combine over-simplifies a subreg write

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

[Bug rtl-optimization/121757] [15/16 Regression] ICE in rtl_ssa::clobber_info::recompute_group

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121757 --- Comment #9 from Andrew Pinski --- If i get some time tonight, I will figure out if it is reproducible without LTO. I tried a few testcases trying to do that but I have not been able to get one that failed without LTO just yet. Plus goldbolt'

[Bug rtl-optimization/121757] [15/16 Regression] ICE in rtl_ssa::clobber_info::recompute_group

2025-09-03 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121757 Richard Sandiford changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassig

[Bug rtl-optimization/121757] [15/16 Regression] ICE in rtl_ssa::clobber_info::recompute_group

2025-09-03 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121757 Richard Sandiford changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug rtl-optimization/121757] [15/16 Regression] ICE in rtl_ssa::clobber_info::recompute_group

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

[Bug c++/121643] [15/16 Regression] Internal compiler error when await_suspend takes default argument

2025-09-03 Thread danijel.zlaus at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121643 --- Comment #7 from Danijel Zlaus --- (In reply to Danijel Zlaus from comment #3) > Just hit this bug when bumping up GCC from 15.1 to 15.2. > > https://godbolt.org/z/fdsc69PzY > > The issue appears to be the same. That is, await_suspend of th

[Bug rtl-optimization/121757] [15/16 Regression] ICE in rtl_ssa::clobber_info::recompute_group

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121757 Andrew Pinski changed: What|Removed |Added Attachment #62295|0 |1 is obsolete|

[Bug debug/121763] Disable -gstatement-frontiers, -gvariable-location-views by default

2025-09-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121763 Sam James changed: What|Removed |Added Keywords||patch --- Comment #7 from Sam James --- ht

[Bug target/65266] [SH] Use rotcl for bit reversals

2025-09-03 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65266 --- Comment #1 from Jeffrey A. Law --- So I took at peek at this as it looked like it might be an interesting missed optimization case for one my interns.

[Bug rtl-optimization/121757] [15/16 Regression] ICE in rtl_ssa::clobber_info::recompute_group

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121757 Andrew Pinski changed: What|Removed |Added Keywords||lto --- Comment #5 from Andrew Pinski

[Bug fortran/121263] [13/14/15 Regression] ICE with transfer with rank 1 unlimited polymorhpic

2025-09-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121263 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|[13/14/15/16 Regression]|[13/14/15 Regression] ICE

[Bug fortran/121263] [13/14/15/16 Regression] ICE with transfer with rank 1 unlimited polymorhpic

2025-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121263 --- Comment #6 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:692281a38773a70ae795b3b594f0c0f8fd83e5ef commit r16-3551-g692281a38773a70ae795b3b594f0c0f8fd83e5ef Author: Harald Anlauf Date: W

[Bug c++/121643] [15/16 Regression] Internal compiler error when await_suspend takes default argument

2025-09-03 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121643 --- Comment #6 from Iain Sandoe --- (In reply to Iain Sandoe from comment #5) > (In reply to Patrick Palka from comment #4) > > Started with r16-1548 / r15-10103-ga169a4718b5b62 > > interesting ... > > https://eel.is/c++draft/expr.await#3.7 >

[Bug c++/121643] [15/16 Regression] Internal compiler error when await_suspend takes default argument

2025-09-03 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121643 --- Comment #5 from Iain Sandoe --- (In reply to Patrick Palka from comment #4) > Started with r16-1548 / r15-10103-ga169a4718b5b62 interesting ... https://eel.is/c++draft/expr.await#3.7 does not appear to give the option for additional param

[Bug c++/121643] [15/16 Regression] Internal compiler error when await_suspend takes default argument

2025-09-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121643 Patrick Palka changed: What|Removed |Added CC||iains at gcc dot gnu.org,

[Bug rtl-optimization/121757] [15/16 Regression] ICE in rtl_ssa::clobber_info::recompute_group

2025-09-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121757 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug rtl-optimization/121757] [15/16 Regression] ICE in rtl_ssa::clobber_info::recompute_group

2025-09-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121757 --- Comment #4 from Sam James --- Created attachment 62295 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62295&action=edit unity_0_cxx.cxx.ii ``` $ g++ -O2 unity_0_cxx.cxx.ii -shared -flto during RTL pass: late_combine unity_0_cxx.cxx.ii

[Bug target/121775] arm: wrong code in vset_lane*

2025-09-03 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121775 Richard Earnshaw changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rearnsha at gcc dot gnu.org

[Bug target/121775] New: arm: wrong code in vset_lane*

2025-09-03 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121775 Bug ID: 121775 Summary: arm: wrong code in vset_lane* Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3

[Bug target/121766] SVE vector cost model does not model narrowing store costs accurately

2025-09-03 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121766 --- Comment #3 from Tamar Christina --- Ok, have a patch that teaches the cost model about truncating stores. We now get the SVE code again, but this makes me wonder about the widening loads code. We also pick a ridiculous unroll factor for th

[Bug debug/121157] -gcodeview does not work with Ada

2025-09-03 Thread tkacvins at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157 --- Comment #24 from Tom Kacvinsky --- I wonder what support will be like for VLAs in Visual Studio 2025 will be like. My understanding is that that version will be released in November of this year. Supposing the 2025 release supports VLAs, w

[Bug target/121213] Poor RV64 code generated for __atomic_exchange_n (llvm seems to do it right)

2025-09-03 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121213 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/121213] Poor RV64 code generated for __atomic_exchange_n (llvm seems to do it right)

2025-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121213 --- Comment #7 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:b790606e492d33e0cdb8159e38cb148d3526071b commit r16-3549-gb790606e492d33e0cdb8159e38cb148d3526071b Author: Austin Law Date: Wed Sep 3

[Bug c++/121655] [13/14/15/16 Regression] struct binding as template argument vs reinterpret_cast since r8-4678

2025-09-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121655 --- Comment #4 from Jakub Jelinek --- template void foo (); struct A { char a; }; #ifndef SB char &bar (); char &x = bar (); #else A &bar (); auto &[x] = bar (); #endif void baz () { foo (); } shows that without structured binding we rej

[Bug tree-optimization/121772] [13/14/15/16 Regression] aarch64: ICE (invalid gimple) with vcombine since r13-1836-g8a1e05b7618fed

2025-09-03 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121772 --- Comment #4 from Alex Coplan --- Simplified testcase: #include int16_t f(int16x4_t b) { return vaddvq_s16(vcombine_s16(b, vdup_n_s16 (0))); }

[Bug c++/98163] ICE symtab_node::verify failed, auto& NTTP specialized with same entity but different type.

2025-09-03 Thread mail at johslarsen dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98163 Johannes Larsen changed: What|Removed |Added CC||mail at johslarsen dot net --- Comment

[Bug tree-optimization/121772] [13/14/15/16 Regression] aarch64: ICE (invalid gimple) with vcombine since r13-1836-g8a1e05b7618fed

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121772 --- Comment #3 from Andrew Pinski --- Most like needs `types_match (@0, type)` added to the match pattern.

[Bug tree-optimization/121772] [13/14/15/16 Regression] aarch64: ICE (invalid gimple) with vcombine since r13-1836-g8a1e05b7618fed

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121772 Andrew Pinski changed: What|Removed |Added Component|target |tree-optimization --- Comment #2 from A

[Bug target/121749] [14/15 Regression] aarch64: Invalid assembly with vqshrn intrinsic since r14-1886-gd20b2ad845876e

2025-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121749 --- Comment #6 from GCC Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:2b8256d0ce18ed4d00868c78f5128d32884ccfa1 commit r16-3546-g2b8256d0ce18ed4d00868c78f5128d32884ccfa1 Author: Kyrylo Tkachov Date:

[Bug tree-optimization/121774] [14 Regression] expensive-optimizations produces wrong results

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

[Bug tree-optimization/121774] New: [14 Regression] expensive-optimizations produces wrong results

2025-09-03 Thread szhong at perforce dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121774 Bug ID: 121774 Summary: [14 Regression] expensive-optimizations produces wrong results Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/121772] [13/14/15/16 Regression] aarch64: ICE (invalid gimple) with vcombine since r13-1836-g8a1e05b7618fed

2025-09-03 Thread acarlotti at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121772 Alice Carlotti changed: What|Removed |Added Last reconfirmed||2025-09-03 Status|UNCONFIR

[Bug target/121770] [16 Regression] 5% slowdown of 503.bwaves_r on Aarch64

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121770 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Com

[Bug target/121749] [14/15 Regression] aarch64: Invalid assembly with vqshrn intrinsic since r14-1886-gd20b2ad845876e

2025-09-03 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121749 ktkachov at gcc dot gnu.org changed: What|Removed |Added Summary|[14/15/16 Regression] |[14/15 Regression] aarch64:

[Bug target/121749] [14/15/16 Regression] aarch64: Invalid assembly with vqshrn intrinsic since r14-1886-gd20b2ad845876e

2025-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121749 --- Comment #4 from GCC Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:cb508e54140687a50790059fac548d87515df6be commit r16-3544-gcb508e54140687a50790059fac548d87515df6be Author: Kyrylo Tkachov Date:

[Bug tree-optimization/121768] [16 Regression] ICE on valid code at -O{2,3} with "-fno-tree-dce -fno-inline" on x86_64-linux-gnu: in vect_build_slp_tree_2, at tree-vect-slp.cc:3217

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121768 Andrew Pinski changed: What|Removed |Added Summary|ICE on valid code at|[16 Regression] ICE on

[Bug libstdc++/121496] [14 Regression] 'class std::timed_mutex' has no member named '_M_clocklock' with -fsanitize=thread

2025-09-03 Thread ted at lyncon dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121496 --- Comment #12 from Ted Lyngmo --- Brilliant! Thanks!

[Bug c++/121655] [13/14/15/16 Regression] struct binding as template argument vs reinterpret_cast since r8-4678

2025-09-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121655 Jakub Jelinek changed: What|Removed |Added Summary|[13/14/15/16 Regression]|[13/14/15/16 Regression]

[Bug target/121772] [13/14/15/16 Regression] aarch64: ICE (invalid gimple) with vcombine since r13-1836-g8a1e05b7618fed

2025-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121772 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.5 CC|

[Bug rtl-optimization/121773] New: Combine over-simplifies a subreg write

2025-09-03 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121773 Bug ID: 121773 Summary: Combine over-simplifies a subreg write Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P

[Bug c++/97740] [13/14/15 Regression] Weird error message about accessing a private member of my own class inside of std::string_view inside of constexpr

2025-09-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97740 Patrick Palka changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=10

[Bug c++/55004] [meta-bug] constexpr issues

2025-09-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 109576, which changed state. Bug 109576 Summary: access checking done on constexpr even if the access was done in the class itself when used inside a template https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109576

[Bug c++/109576] access checking done on constexpr even if the access was done in the class itself when used inside a template

2025-09-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109576 Patrick Palka changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=9

[Bug target/121772] New: [13/14/15/16 Regression] aarch64: ICE (invalid gimple) with vcombine since r13-1836-g8a1e05b7618fed

2025-09-03 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121772 Bug ID: 121772 Summary: [13/14/15/16 Regression] aarch64: ICE (invalid gimple) with vcombine since r13-1836-g8a1e05b7618fed Product: gcc Version: 16.0 Status: UNCONFIRME

[Bug c++/55004] [meta-bug] constexpr issues

2025-09-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 96716, which changed state. Bug 96716 Summary: GCC reports "object is private" when it's accessed through proper accessor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96716 What|Removed

[Bug c++/97740] [13/14/15 Regression] Weird error message about accessing a private member of my own class inside of std::string_view inside of constexpr

2025-09-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97740 Patrick Palka changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=96

[Bug c++/96716] GCC reports "object is private" when it's accessed through proper accessor

2025-09-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96716 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED See Also|https://gcc.

[Bug c++/97740] [13/14/15 Regression] Weird error message about accessing a private member of my own class inside of std::string_view inside of constexpr

2025-09-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97740 Patrick Palka changed: What|Removed |Added Summary|[13/14/15/16 Regression]|[13/14/15 Regression] Weird

[Bug c++/97740] [13/14/15/16 Regression] Weird error message about accessing a private member of my own class inside of std::string_view inside of constexpr

2025-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97740 --- Comment #9 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:3e2077d8c7a0acba2d54bd0666ae578fe114cd72 commit r16-3543-g3e2077d8c7a0acba2d54bd0666ae578fe114cd72 Author: Patrick Palka Date: We

[Bug c++/106658] [C++23] P2590 - Explicit lifetime management

2025-09-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106658 --- Comment #5 from Jakub Jelinek --- https://gcc.gnu.org/pipermail/gcc-patches/2025-August/693665.html

[Bug tree-optimization/121768] ICE on valid code at -O{2,3} with "-fno-tree-dce -fno-inline" on x86_64-linux-gnu: in vect_build_slp_tree_2, at tree-vect-slp.cc:3217

2025-09-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121768 Richard Biener changed: What|Removed |Added Last reconfirmed||2025-09-03 Ever confirmed|0

[Bug libstdc++/110853] [13/14/15 Regression] Bad interaction between deduction guide with decay and constraints (CTAD, std::pair and function lvalue)

2025-09-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110853 Jonathan Wakely changed: What|Removed |Added Summary|[13/14/15/16 Regression]|[13/14/15 Regression] Bad

[Bug libstdc++/121771] [13/14/15/16 Regression] std::tuple CTAD fails for lvalue reference to function type

2025-09-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121771 Jonathan Wakely changed: What|Removed |Added Known to fail||12.2.0, 13.1.0, 14.3.0,

[Bug libstdc++/121771] New: [13/14/15/16 Regression] std::tuple CTAD fails for lvalue reference to function type

2025-09-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121771 Bug ID: 121771 Summary: [13/14/15/16 Regression] std::tuple CTAD fails for lvalue reference to function type Product: gcc Version: 16.0 Status: UNCONFIRMED Key

[Bug tree-optimization/121770] [16 Regression] 5% slowdown of 503.bwaves_r on Aarch64

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

[Bug middle-end/114449] bswap64 not optimized

2025-09-03 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114449 Xi Ruoyao changed: What|Removed |Added CC||rockeet at gmail dot com --- Comment #6 fro

[Bug c++/121769] gcc does not optimize manual bswap

2025-09-03 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121769 Xi Ruoyao changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug tree-optimization/121756] [16 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_ssa failed

2025-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121756 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:df64893e7082d7fae5d6863fd02371b37c78557f commit r16-3542-gdf64893e7082d7fae5d6863fd02371b37c78557f Author: Richard Biener Date:

[Bug tree-optimization/121756] [16 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_ssa failed

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

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

2025-09-03 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120747 --- Comment #22 from Filip Kastl --- Hmm, but the patch makes a few testsuite tests fail. So that would have to be sorted out. +FAIL: gcc.dg/optimize-bswapdi-3.c scan-tree-dump-times bswap "64 bit bswap implementation found at" 3 +FAIL: gcc.dg

[Bug tree-optimization/121770] New: [16 Regression] 5% slowdown of 503.bwaves_r on Aarch64

2025-09-03 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121770 Bug ID: 121770 Summary: [16 Regression] 5% slowdown of 503.bwaves_r on Aarch64 Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: missed-optimization, needs-bisection

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

2025-09-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120775 --- Comment #5 from Jakub Jelinek --- Created attachment 62293 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62293&action=edit gcc16-p3394r4-wip.patch Untested partial implementation of P3394R4, in particular the one which doesn't depend

[Bug libstdc++/121765] `std::formatter` specialization for user-defined type inheriting from `std::formatter` fails concept `std::formattable` check unexpectedly

2025-09-03 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121765 Tomasz KamiƄski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tkaminsk at gcc dot gnu.org -

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

2025-09-03 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120747 --- Comment #21 from Filip Kastl --- Created attachment 62292 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62292&action=edit Patch removing stabilization "hacks" from sort_operands_by_rank() So I gave this some more time. I confirmed t

[Bug libstdc++/121745] The return of get(pair<_Up, _Tp>&& __p) may be ill-formed

2025-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121745 --- Comment #3 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c8a24f60b6874fca4fb3adb153f8d5f1dd72b951 commit r16-3541-gc8a24f60b6874fca4fb3adb153f8d5f1dd72b951 Author: Jonathan Wakely Date:

[Bug c++/97740] [13/14/15/16 Regression] Weird error message about accessing a private member of my own class inside of std::string_view inside of constexpr

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

[Bug c++/121769] New: gcc does not optimize manual bswap

2025-09-03 Thread rockeet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121769 Bug ID: 121769 Summary: gcc does not optimize manual bswap Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/121758] [16 Regression] ice with -O1 -ftree-loop-vectorize -ftree-loop-distribution -fno-strict-aliasing

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

  1   2   >