https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374
--- Comment #41 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #39)
> Created attachment 56601 [details]
> gcc14-pr112374.patch
>
> So the following then?
LGTM. Refactoring to more explicitly handle debug stmts like with
if (is_gimple_debug (op_use_stmt))
continue;
else if (cond_fn_p && ...)
would also be fine but it isn't technically necessary after this fix.
