This is the mail archive of the gcc-patches@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: ia64 cond_exec


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

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