"H.J. Lu" <hjl.to...@gmail.com> writes: > On Tue, Jun 3, 2025 at 6:06 AM H.J. Lu <hjl.to...@gmail.com> wrote: >> Always add REG_CALL_DECL note for CALL so that get_call_fndecl works >> without -fipa-ra. >> >> PR other/120494 >> * calls.cc (expand_call): Always add REG_CALL_DECL note. >> (emit_library_call_value_1): Likewise. >> >> Thanks. >> >> >> -- >> H.J. > > I found another way to check recursive function. I don't need this patch for > my pass.
The patch LGTM FWIW, so: OK for trunk if you change your mind. Richard