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] |
On IRC, Chris Lattner mentioned (if I understood him correctly) that in LLVM this kind of pointer arithmetic doesn't exist, and that instead it is converted to "regular" integer arithmatic by casting the pointer to intptr_t (instead of casting the integer to a pointer). Would that be a better solution for GCC too, perhaps?
-- Mark Mitchell CodeSourcery, LLC mark@codesourcery.com (916) 791-8304
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |