target/6413
amodra@gcc.gnu.org
amodra@gcc.gnu.org
Tue Apr 23 01:16:00 GMT 2002
The following reply was made to PR target/6413; it has been noted by GNATS.
From: amodra@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: target/6413
Date: 23 Apr 2002 08:11:27 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_1-branch
Changes by: amodra@gcc.gnu.org 2002-04-23 01:11:27
Modified files:
gcc : ChangeLog final.c function.c function.h
output.h
gcc/config/i386: i386.c
gcc/config/pa : pa.c pa.h
Log message:
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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.13152.2.434&r2=1.13152.2.435
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/final.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.241.2.2&r2=1.241.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.347.2.8&r2=1.347.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.h.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.75&r2=1.75.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/output.h.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.94&r2=1.94.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.368.2.8&r2=1.368.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.148.2.3&r2=1.148.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.h.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.138.2.2&r2=1.138.2.3
More information about the Gcc-prs
mailing list