https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119493
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #8) > (In reply to Andrew Pinski from comment #7) > > Created attachment 60904 [details] > > the musttail patch for GCC 15 > > This one didn't work for LTO. Back to the board. So while deciding to inline or not for LTO callstmt of the edge is not available yet. The only way I can think of having that info there is to have a bit in the edge for musttail that gets copied from the callstmt and verfied if it is the same as the callstmt. There are at least 2 spare bits in cgraphedge (if I counted correctly). The only question is do we want to do this just for this workaround or I missing a better way of getting this same issue?