This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Implement __builtin_return_address(0) for v850
- To: Nick Clifton <nickc at redhat dot com>
- Subject: Re: Implement __builtin_return_address(0) for v850
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 5 Jan 2001 18:32:39 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200101060000.QAA05637@elmo.cygnus.com>
On Fri, Jan 05, 2001 at 04:00:03PM -0800, Nick Clifton wrote:
> * config/v850/v850.c (struct machine_function): Define.
> (v850_save_machine_status): New function.
> (v850_restore_machine_status): New function.
> (v850_return_addr): New function.
> (v850_init_expanders): New function.
You really want init_machine_status and mark_machine_status.
Moreover, you'll get gc errors without mark_machine_status.
r~