PR target/6413
commitb8a21949fa255f9366e95c472665f7668012e1da
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Apr 2002 07:20:55 +0000 (23 07:20 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Apr 2002 07:20:55 +0000 (23 07:20 +0000)
treefdb47569e86fdbcfcd516dea2f4adaa666e43043
parent79705d573f573d2f68e5171df065cc88bca2c912
PR target/6413
* 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/i386/i386.c (ix86_osf_output_function_prologue): Replace
profile_label_no with current_function_profile_label_no.
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52656 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/pa/pa.c
gcc/config/pa/pa.h
gcc/final.c
gcc/function.c
gcc/function.h
gcc/output.h