https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90737

--- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> ---
I don't understand very well why the cast to an integer before returning is
relevant. What if I return the pointer, and convert it to an integer afterwards
in the caller? Or what if there is no cast, but I test if the pointer is NULL
both in the caller and the callee? What if I return an integer, and then cast
it to a pointer in the caller? This optimization was always a bit borderline, I
am trying to understand the difference better.

Reply via email to