summaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-06-30 09:46:10 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-06-30 09:46:10 +0000
commite0d004613455b10e12519102e0b46e794de7877f (patch)
treed917bc6d01d27e3bad8affa2b65ba94c4be1d3ef /gcc/final.c
parent968f653cde06adb69cbdc688e235e0d822b93014 (diff)
downloadgcc-e0d004613455b10e12519102e0b46e794de7877f.tar.gz
(end_final,profile_function): Profiling variables are size of pointer,
not int. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7617 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/final.c b/gcc/final.c
index e2cb53ebd72..20172513839 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -303,7 +303,7 @@ end_final (filename)
{
char name[20];
int align = exact_log2 (BIGGEST_ALIGNMENT / BITS_PER_UNIT);
- int size = (INT_TYPE_SIZE / BITS_PER_UNIT) * count_basic_blocks;
+ int size = (POINTER_SIZE / BITS_PER_UNIT) * count_basic_blocks;
int rounded = size;
struct bb_list *ptr;
struct bb_str *sptr;
@@ -947,14 +947,14 @@ static void
profile_function (file)
FILE *file;
{
- int align = MIN (BIGGEST_ALIGNMENT, BITS_PER_WORD);
+ int align = MIN (BIGGEST_ALIGNMENT, POINTER_SIZE);
int sval = current_function_returns_struct;
int cxt = current_function_needs_context;
data_section ();
ASM_OUTPUT_ALIGN (file, floor_log2 (align / BITS_PER_UNIT));
ASM_OUTPUT_INTERNAL_LABEL (file, "LP", profile_label_no);
- assemble_integer (const0_rtx, UNITS_PER_WORD, 1);
+ assemble_integer (const0_rtx, POINTER_SIZE / BITS_PER_UNIT, 1);
text_section ();