SPARC, register renaming, __builtin_return_address
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Mon May 14 02:17:00 GMT 2001
At 01:50 14.05.2001, Mark Mitchell wrote:
> - The manual explicitly documents __builtin_return_address
> being guaranteed to return the correct value only when
> the index is 0.
>
> Therefore, the test-case is semi-bogus.
Nope, cause if __builtin_return_address(n) with n>=1 doesn't work on a
target, it has to return 0 and then the comparisons in the testcase are valid.
Franz.
More information about the Gcc
mailing list