summaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-23 07:20:55 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-23 07:20:55 +0000
commitb8a21949fa255f9366e95c472665f7668012e1da (patch)
treefdb47569e86fdbcfcd516dea2f4adaa666e43043 /gcc/config/i386
parent79705d573f573d2f68e5171df065cc88bca2c912 (diff)
downloadgcc-b8a21949fa255f9366e95c472665f7668012e1da.tar.gz
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
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 41ec025c750..f134a211769 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -1335,7 +1335,7 @@ ix86_osf_output_function_prologue (file, size)
{
const char *prefix = "";
const char *const lprefix = LPREFIX;
- int labelno = profile_label_no;
+ int labelno = current_function_profile_label_no;
#ifdef OSF_OS