https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104894
--- Comment #4 from Alan Modra <amodra at gmail dot com> --- Do check that the result is not a direct call. I think I was wrong to say the assert could be removed (or modified as you have done).
amodra at gmail dot com via Gcc-bugs Tue, 22 Mar 2022 18:11:14 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104894
--- Comment #4 from Alan Modra <amodra at gmail dot com> --- Do check that the result is not a direct call. I think I was wrong to say the assert could be removed (or modified as you have done).