https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115599
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-06-23 Keywords| |ice-checking, | |missed-optimization Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- It's compare_repeat_factors (gdb) p (*repeat_factor_vec.m_vec)[0] $6 = (repeat_factor &) @0x5d6a7b8: {factor = <ssa_name 0x7ffff3396a20 36814>, rank = 2147549184, count = 1, repr = <tree 0x0>} (gdb) p (*repeat_factor_vec.m_vec)[4] $7 = (repeat_factor &) @0x5d6a838: {factor = <ssa_name 0x7ffff33db8b8 15299>, rank = 1, count = 1, repr = <tree 0x0>} where one obvious issue might be that rank is unsigned (and count is int64). I'm testing a fix. Note this bug only results in less optimal code.