On Tue, Oct 16, 2012 at 12:23 PM, Alfonso Acosta <alfonso.acosta@xxxxxxxxx> wrote: >> It should be defined in GCC 4.6.1. Note that it's called >> __builtin_extract_return_addr. > > Thanks! There's a typo in the documentation (it is documented as > __builtin_extract_return_address): > > http://gcc.gnu.org/onlinedocs/gcc/Return-Address.html#Return-Address Thanks for pointing that out. I fixed it in mainline. http://gcc.gnu.org/ml/gcc-patches/2012-10/msg01617.html Ian