In http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/Explicit-Reg-Vars.html#Explicit-Reg-Vars
it explains how to use register variables .. but doesn't list them. Is there a document somewhere which lists a) each CPU macro name b) all the registers supported ? I need to get the stack pointer when __builtin_frame_address(0) isn't working .. on amd64 this: register void *stack asm ("%rsp"); appears to work. Also this is the current stack pointer .. not the frame pointer, which could be different. -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net