This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __builtin_frame_address on MIPS
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: Ranjit Deshpande <ranjit at kenati dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Sat, 26 Feb 2005 07:53:04 +0000
- Subject: Re: __builtin_frame_address on MIPS
- References: <BE44DC97.7A90%ranjit@kenati.com>
Ranjit Deshpande <ranjit@kenati.com> writes:
> It seems as if __builtin_return_address() with arguments > 1 does not work
> correctly on GCC 3.3.x.
Correct. MIPS is one of those (many) platforms where 0 is the only
supported argument for __builtin_return_address(). The bug in 3.3.x
was that it didn't return 0 for other arguments.
> Has this problem been addressed in gcc 3.4.x ?
Yes.
Richard