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]
Other format: [Raw text]

Re: __builtin_frame_address on MIPS


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


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