https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69291
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- Ok, not inlining compile_length_quantifier_node fixes it as well. It's inlined in compile_length_tree. -fdisable-tree-uncprop1 fixes it - that hints more at a target specific RTL issue or an RTL expansion issue. -fno-tree-coalesce-vars also fixes it (disabling TER doesn't).