https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122589
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
full backtrace:
```
[apinski@xeond2 upstream-gcc-git]$ ./gcc/objdir/prev-gcc/cc1plus t.ii -quiet
-fpreprocessed -o t.s -std=gnu++23 -march=znver4 -mshstk -fPIC -O2 -g3
-fno-exceptions
during GIMPLE pass: widening_mul
/var/tmp/portage/kde-plasma/kwin-6.5.49.9999/work/kwin-6.5.49.9999/src/placement.cpp:
In member function ‘std::optional<std::variant<QPointF, QRectF,
KWin::MaximizeMode> > KWin::Placement::placeOnMainWindow(const KWin::Window*,
const QRect&, KWin::PlacementPolicy)’:
/var/tmp/portage/kde-plasma/kwin-6.5.49.9999/work/kwin-6.5.49.9999/src/placement.cpp:454:33:
internal compiler error: in delink_imm_use, at ssa-iterators.h:285
0x3babe5c internal_error(char const*, ...)
/home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostic-global-context.cc:787
0x3bba695 fancy_abort(char const*, int, char const*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostics/context.cc:1806
0x16468c7 delink_imm_use(ssa_use_operand_t*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/ssa-iterators.h:285
0x206388e operands_scanner::finalize_ssa_uses()
/home/apinski/src/upstream-gcc-git/gcc/gcc/tree-ssa-operands.cc:460
0x2063a6d operands_scanner::finalize_ssa_stmt_operands()
/home/apinski/src/upstream-gcc-git/gcc/gcc/tree-ssa-operands.cc:506
0x20620ed operands_scanner::build_ssa_operands()
/home/apinski/src/upstream-gcc-git/gcc/gcc/tree-ssa-operands.cc:1009
0x206272e update_stmt_operands(function*, gimple*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/tree-ssa-operands.cc:1150
0x1646752 update_stmt(gimple*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/gimple-ssa.h:177
0x212a9b5 insert_debug_temp_for_var_def(gimple_stmt_iterator*, tree_node*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/tree-ssa.cc:478
0x212aab8 insert_debug_temps_for_defs(gimple_stmt_iterator*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/tree-ssa.cc:506
0x18c7ede gsi_remove(gimple_stmt_iterator*, bool)
/home/apinski/src/upstream-gcc-git/gcc/gcc/gimple-iterator.cc:568
0x18c7d8f gsi_replace_with_seq(gimple_stmt_iterator*, gimple*, bool)
/home/apinski/src/upstream-gcc-git/gcc/gcc/gimple-iterator.cc:483
0x18cb7a9 gsi_replace_with_seq_vops(gimple_stmt_iterator*, gimple*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/gimple-fold.cc:646
0x18dff7b replace_stmt_with_simplification
/home/apinski/src/upstream-gcc-git/gcc/gcc/gimple-fold.cc:6414
0x18e1912 fold_stmt_1
/home/apinski/src/upstream-gcc-git/gcc/gcc/gimple-fold.cc:6750
0x18e2029 fold_stmt(gimple_stmt_iterator*, tree_node* (*)(tree_node*),
bitmap_head*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/gimple-fold.cc:6914
0x205357b convert_mult_to_fma_1
/home/apinski/src/upstream-gcc-git/gcc/gcc/tree-ssa-math-opts.cc:3167
0x2054800 convert_mult_to_fma
/home/apinski/src/upstream-gcc-git/gcc/gcc/tree-ssa-math-opts.cc:3621
0x205f3a9 after_dom_children
/home/apinski/src/upstream-gcc-git/gcc/gcc/tree-ssa-math-opts.cc:6469
0x3763819 dom_walker::walk(basic_block_def*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/domwalk.cc:354
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
```