https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95076
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Yeah, I believe it is safe in this case, but we would need the info whether the conversion is ok or not already during the tailc pass and on many targets such a conversion is not ok (e.g. if the target says that the value is zero-extended into 64-bits or sign-extended, or 32-bit and 64-bit returned in different register, whatever). The question is if the existing target hooks are sufficient to query this or if we need a new target hook.