This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Refine escaping pointers when integers are involved
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: dberlin at dberlin dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 26 Nov 04 20:22:17 EST
- Subject: Re: Refine escaping pointers when integers are involved
Except that it only matters when you cast it back to a pointer.
Yes, but you might not see that one. For example, you might pass that
integer to a function that converts it back to a pointer. The *integer*
is escaping, but we don't look for that case.
In order to detect that, we'd have to have the code treat an integer
that receives a pointer value as if it were a pointer and that seems to
be much too much trouble.