This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SPARC, register renaming, __builtin_return_address


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]