This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ia64 cond_exec
- To: Jim Wilson <wilson at cygnus dot com>, gcc-patches at gcc dot gnu dot org
- Subject: Re: ia64 cond_exec
- From: graham <grahams at rcp dot co dot uk>
- Date: Tue, 09 May 2000 00:09:18 +0100
- References: <200005082231.PAA25894@rtl.cygnus.com>
Jim
I've just noticed that the definition of
the RETURN_ADDR_RTX macro in ia64.h looks
a bit bogus
#define RETURN_ADDR_RTX(COUNT, FRAMEADDR) \
((count == 0) \
? gen_rtx_REG (Pmode, RETURN_ADDRESS_REGNUM) \
: (rtx) 0)
Note the suspect use of `count' and not `(COUNT)'.
This works because the only use of RETURN_ADDR_RTX
is using `count' for the `COUNT' parameter.
Graham