https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123276

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
#0  comperr.compiler_abort (x=..., fallback_loc=..., from_gcc=<optimized out>)
at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/ada/comperr.adb:422
#1  0x0000555555ec7ee2 in internal_error_function (context=<optimized out>,
msgid=<optimized out>, ap=<optimized out>)
    at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/ada/gcc-interface/misc.cc:352
#2  0x000055555886fca7 in diagnostics::context::report_diagnostic
(this=0x55555a96e280 <global_diagnostic_context>, diagnostic=0x7fffffffd0c0)
    at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/diagnostics/context.cc:1471
#3  0x0000555558870738 in diagnostics::context::diagnostic_impl
(this=0x55555a96e280 <global_diagnostic_context>,
richloc=richloc@entry=0x7fffffffd1e0, metadata=metadata@entry=0x0,
    opt_id=opt_id@entry=..., gmsgid=gmsgid@entry=0x5555590f7358 "RTL check:
expected code '%s' and not mode '%s', have code '%s' and mode '%s' in %s, at
%s:%d["00"]",
    ap=ap@entry=0x7fffffffd1c8, kind=diagnostics::kind::ice) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/diagnostics/context.cc:1681
#4  0x0000555558861204 in internal_error (gmsgid=gmsgid@entry=0x5555590f7358
"RTL check: expected code '%s' and not mode '%s', have code '%s' and mode '%s'
in %s, at %s:%d["00"]")
    at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/diagnostics/option-id.h:35
#5  0x00005555556e6402 in rtl_check_failed_code_mode (r=r@entry=0x7fffe9608400,
code=code@entry=CONST_DOUBLE, mode=mode@entry=E_VOIDmode,
not_mode=not_mode@entry=true,
    file=file@entry=0x5555590d9908
"/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/expr.cc["00"]",
line=line@entry=4786,
    func=0x555558fb2073 "compress_float_constant["00"]") at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/rtl.cc:801
#6  0x00005555555eeb30 in compress_float_constant (x=0x7fffe7ce35d0,
y=0x7fffe9608400) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/expr.cc:4786
#7  emit_move_insn (x=x@entry=0x7fffe7ce35d0, y=y@entry=0x7fffe9608400) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/expr.cc:4716
#8  0x00005555566a1965 in copy_to_mode_reg (mode=mode@entry=E_SFmode,
x=0x7fffe9608400) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/explow.cc:659
#9  0x0000555556b11fee in maybe_legitimize_operand
(icode=icode@entry=CODE_FOR_movsfcc, opno=3, op=op@entry=0x7fffffffd628)
    at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/optabs.cc:8253
#10 0x0000555556b1379e in maybe_legitimize_operands (icode=<optimized out>,
ops=ops@entry=0x7fffffffd5e0, nops=4, opno=0)
    at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/optabs.cc:8396
#11 0x0000555556b13f13 in maybe_gen_insn (nops=4, icode=<optimized out>,
ops=0x7fffffffd5e0) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/optabs.cc:8415
#12 maybe_expand_insn (icode=<optimized out>, nops=4, ops=0x7fffffffd5e0) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/optabs.cc:8470
#13 emit_conditional_move_1 (target=0x7fffe7ce3588, comparison=0x7fffe7ce35b8,
op2=0x7fffe7cd09c0, op3=0x7fffe9608400, mode=<optimized out>)
    at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/optabs.cc:5403
#14 emit_conditional_move_1 (target=<optimized out>, comparison=0x7fffe7ce35b8,
op2=0x7fffe7cd09c0, op3=0x7fffe9608400, mode=<optimized out>)
    at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/optabs.cc:5364
#15 0x0000555556b16efd in emit_conditional_move
(target=target@entry=0x7fffe7ce3588, comp=..., op2=0x7fffe7cd09c0,
op2@entry=0x7fffe9608400, op3=0x7fffe9608400,
    op3@entry=0x7fffe7cd09c0, mode=E_SFmode, unsignedp=unsignedp@entry=0) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/optabs.cc:5316
#16 0x000055555857dfa4 in noce_emit_cmove
(if_info=if_info@entry=0x7fffffffdb80, x=0x7fffe7ce3588, code=NE,
cmp_a=0x7fffe7ce20d8, cmp_b=0x7fffe9608400, vfalse=0x7fffe7cd09c0,
    vtrue=0x7fffe9608400, cc_cmp=0x0, rev_cc_cmp=0x0) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/ifcvt.cc:1982
#17 0x0000555558583946 in noce_try_cond_zero_arith
(if_info=if_info@entry=0x7fffffffdb80) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/ifcvt.cc:3194
#18 0x0000555558587a95 in noce_process_if_block
(if_info=if_info@entry=0x7fffffffdb80) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/ifcvt.cc:4401
#19 0x000055555858c2a0 in noce_find_if_block (test_bb=0x7fffe7cd73c0,
then_edge=0x7fffe7ccfbd0, else_edge=0x7fffe7ccffc0, pass=<optimized out>)
    at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/ifcvt.cc:4875
#20 find_if_header (test_bb=0x7fffe7cd73c0, pass=<optimized out>) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/ifcvt.cc:5080
#21 if_convert (after_combine=after_combine@entry=false) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/ifcvt.cc:6227
#22 0x000055555858d856 in rest_of_handle_if_conversion () at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/ifcvt.cc:6292
#23 (anonymous namespace)::pass_rtl_ifcvt::execute (this=<optimized out>) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/ifcvt.cc:6331
#24 0x0000555556b6b27b in execute_one_pass (pass=0x55555a9cd980) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/passes.cc:2648
#25 0x0000555556b6c07c in execute_pass_list_1 (pass=0x55555a9cd980) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/passes.cc:2757
#26 0x0000555556b6c588 in execute_pass_list_1 (pass=0x55555a9cd3e0) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/passes.cc:2758
#27 execute_pass_list (fn=0x7ffff7fb3960, pass=<optimized out>) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/passes.cc:2768
#28 0x000055555658180f in cgraph_node::expand (this=0x7fffe9629aa0) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/context.h:48
#29 0x0000555556584bb9 in expand_all_functions () at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/cgraphunit.cc:2052
#30 symbol_table::compile (this=this@entry=0x7fffe9606000) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/cgraphunit.cc:2430
#31 0x000055555658747e in symbol_table::compile (this=0x7fffe9606000) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/cgraphunit.cc:2340
#32 symbol_table::finalize_compilation_unit (this=0x7fffe9606000) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/cgraphunit.cc:2619
#33 0x0000555556d4004c in compile_file () at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/toplev.cc:482
#34 0x0000555555e9c242 in do_compile () at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/toplev.cc:2228
#35 toplev::main (this=this@entry=0x7fffffffdfe6, argc=<optimized out>,
argc@entry=24, argv=<optimized out>, argv@entry=0x7fffffffe118)
    at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/toplev.cc:2393
#36 0x0000555555e9e3dd in main (argc=24, argv=0x7fffffffe118) at
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/gcc/main.cc:39

Reply via email to