This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]