http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8743
Christian Häggström <gcc at kalvdans dot no-ip.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gcc at kalvdans dot | |no-ip.org --- Comment #10 from Christian Häggström <gcc at kalvdans dot no-ip.org> 2012-06-18 19:34:23 UTC --- I guess this bug can be closed now, my gcc 4.7 documentation states: -- Built-in Function: void * __builtin_return_address (unsigned int LEVEL) [...] On some machines it may be impossible to determine the return address of any function other than the current one; in such cases, or when the top of the stack has been reached, this function will return `0' or a random value. [...] This function should only be used with a nonzero argument for debugging purposes.