diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-06-30 05:46:10 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-06-30 05:46:10 -0400 |
commit | 14e7bf7c23ef7c73505606524baaab8fae79186b (patch) | |
tree | d917bc6d01d27e3bad8affa2b65ba94c4be1d3ef /gcc/final.c | |
parent | 8e1a11fc9e283481d8cb59516666f47304be69ea (diff) | |
download | gcc-14e7bf7c23ef7c73505606524baaab8fae79186b.zip gcc-14e7bf7c23ef7c73505606524baaab8fae79186b.tar.gz gcc-14e7bf7c23ef7c73505606524baaab8fae79186b.tar.bz2 |
(end_final,profile_function): Profiling variables are size of pointer,
not int.
From-SVN: r7617
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/final.c b/gcc/final.c index e2cb53e..2017251 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 (); |