------- Additional Comments From schwab at suse dot de 2004-11-29 23:17 ------- Note that the following generates the same code, but IMHO is fully defined (apart of the implementation-defined behaviour of the intptr_t cast). #include <stdint.h> intptr_t foo () { static int n; return (intptr_t) &n - 89477598;}
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17224