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

--- Comment #8 from Sam James <sjames at gcc dot gnu.org> ---
```
(gdb) bt
#0  profile_count::operator+= (this=0x7ffff6e7e888, other=...) at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/profile-count.h:932
#1  profile_count::operator+= (this=0x7ffff6e7e888, other=...) at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/profile-count.h:919
#2  0x0000555556d872bd in adjust_clone_incoming_counts(cgraph_node*,
desc_incoming_count_struct*) [clone .isra.0] (desc=0x7fffffff72b0,
node=<optimized out>)
    at /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/ipa-cp.cc:4604
#3  0x00005555557111b0 in update_counts_for_self_gen_clones
(orig_node=0x7ffff6fc4440, self_gen_clones=...) at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/ipa-cp.cc:4720
#4  decide_whether_version_node (node=<optimized out>) at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/ipa-cp.cc:6082
#5  0x000055555776f65f in ipcp_decision_stage (topo=<optimized out>) at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/ipa-cp.cc:6247
#6  ipcp_driver () at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/ipa-cp.cc:6422
#7  (anonymous namespace)::pass_ipa_cp::execute (this=<optimized out>) at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/ipa-cp.cc:6495
#8  0x00005555555cd414 in execute_one_pass (pass=pass@entry=0x555558963540) at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/passes.cc:2659
#9  0x000055555775cf47 in execute_ipa_pass_list (pass=0x555558963540) at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/passes.cc:3112
#10 0x0000555556f3bff4 in ipa_passes () at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cgraphunit.cc:2286
#11 symbol_table::compile (this=0x7ffff7006000) at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cgraphunit.cc:2351
#12 0x0000555557795bc9 in symbol_table::finalize_compilation_unit
(this=0x7ffff7006000) at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cgraphunit.cc:2603
#13 0x000055555773d7c1 in compile_file () at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/toplev.cc:480
#14 0x00005555576e8882 in do_compile () at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/toplev.cc:2213
#15 toplev::main (this=this@entry=0x7fffffffd576, argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/toplev.cc:2375
#16 0x00005555576e7aca in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/main.cc:39
(gdb) p debug_tree(orig_node.decl)
 <function_decl 0x7ffff6fb4f00 reset_ctx
    type <function_type 0x7ffff6fb6a80
        type <void_type 0x7ffff7022f18 void VOID
            align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ffff7022f18
            pointer_to_this <pointer_type 0x7ffff702a000>>
        QI
        size <integer_cst 0x7ffff7024048 constant 8>
        unit-size <integer_cst 0x7ffff7024060 constant 1>
        align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ffff6fb6b28
        arg-types <tree_list 0x7ffff6fcba78 value <pointer_type 0x7ffff6e88930>
            chain <tree_list 0x7ffff6fcba50 value <integer_type 0x7ffff70225e8
int>
                chain <tree_list 0x7ffff701cd98 value <void_type 0x7ffff7022f18
void>>>>
        pointer_to_this <pointer_type 0x7ffff6fb6d20>>
    addressable used nothrow static decl_5 QI
/var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c:264:13
align:8 warn_if_not_align:0 context <translat
ion_unit_decl 0x7ffff6ff5300
/var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c>
initial <block 0x7ffff6fbe888>
    result <result_decl 0x7ffff6fa8780 D.7184 type <void_type 0x7ffff7022f18
void>
        ignored VOID
/var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c:264:8
        align:8 warn_if_not_align:0 context <function_decl 0x7ffff6fb4f00
reset_ctx>>
    arguments <parm_decl 0x7ffff6fc7770 s
        type <pointer_type 0x7ffff6e88930 type <record_type 0x7ffff6e883f0
AVTXContext>
            sizes-gimplified public unsigned DI
            size <integer_cst 0x7ffff7002f48 constant 64>
            unit-size <integer_cst 0x7ffff7002f60 constant 8>
            align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ffff6e889d8
            pointer_to_this <pointer_type 0x7ffff6e88e70>>
        used unsigned read DI
/var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c:264:36
size <integer_cst 0x7ffff7002f48 64> unit-size <integer_cst 0
x7ffff7002f60 8>
        align:64 warn_if_not_align:0 context <function_decl 0x7ffff6fb4f00
reset_ctx> arg-type <pointer_type 0x7ffff6e88930>
        chain <parm_decl 0x7ffff6fc77f8 free_sub type <integer_type
0x7ffff70225e8 int>
            used read SI
/var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c:264:43
            size <integer_cst 0x7ffff7024198 constant 32>
            unit-size <integer_cst 0x7ffff70241b0 constant 4>
            align:32 warn_if_not_align:0 context <function_decl 0x7ffff6fb4f00
reset_ctx> arg-type <integer_type 0x7ffff70225e8 int>>>
    struct-function 0x7ffff6fa5b60 chain <function_decl 0x7ffff6fb4900
ff_tx_null_init>>
$17 = void
```

Reply via email to