This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: target/6413
On Tue, Apr 23, 2002 at 01:58:15PM +0930, Alan Modra wrote:
> * function.h: (struct function): Add profile_label_no field.
> (current_function_profile_label_no): Define.
> * function.c: (profile_label_no): New static var.
> (expand_function_start): Increment it, and copy to
> current_function_profile_label_no.
> * output.h (profile_label_no): Delete.
> * final.c (profile_label_no): Delete.
> (profile_function): Use current_function_profile_label_no.
> (final_end_function): Don't increment profile_label_no here.
> * config/pa/pa.c (current_function_number): Delete.
> (pa_output_function_prologue): Don't output profile label here.
> (hppa_profile_hook): Use label_no param rather than
> current_function_number.
> (FUNC_BEGIN_PROLOG_LABEL): Move to ..
> * config/pa/pa.h: .. here.
> (FUNCTION_PROFILER): Output profile label here.
Ok everywhere.
r~