summaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2001-12-07 12:31:06 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2001-12-07 07:31:06 -0500
commit5af0b89c0d06133ec4fda00a308232f585361850 (patch)
tree06ece13f72728e1abe69b2a6232406853dc3f8b8 /gcc/final.c
parentcc8943918801ba7c3bf2cfcf3aef19a46c1c9f34 (diff)
downloadgcc-5af0b89c0d06133ec4fda00a308232f585361850.tar.gz
final.c (bb_head, [...]): Deleted; were used only by BB profiler code.
* final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num): Deleted; were used only by BB profiler code. (sbb_head, sbb_tail, sbb_label_num): Likewise. (end_final): Delete now-unused vars I, PTR, and SPTR. From-SVN: r47755
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 9725c0ba078..16c95dee903 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -212,11 +212,6 @@ struct bb_list
int func_label_num; /* LPBC<n> label # for stored function name */
};
-static struct bb_list *bb_head = 0; /* Head of basic block list */
-static struct bb_list **bb_tail = &bb_head; /* Ptr to store next bb ptr */
-static int bb_file_label_num = -1; /* Current label # for file */
-static int bb_func_label_num = -1; /* Current label # for func */
-
/* Linked list to hold the strings for each file and function name output. */
struct bb_str
@@ -227,10 +222,6 @@ struct bb_str
int length; /* string length */
};
-static struct bb_str *sbb_head = 0; /* Head of string list. */
-static struct bb_str **sbb_tail = &sbb_head; /* Ptr to store next bb str */
-static int sbb_label_num = 0; /* Last label used */
-
#ifdef HAVE_ATTR_length
static int asm_insn_count PARAMS ((rtx));
#endif
@@ -276,15 +267,11 @@ void
end_final (filename)
const char *filename;
{
- int i;
-
if (profile_arc_flag)
{
char name[20];
int align = exact_log2 (BIGGEST_ALIGNMENT / BITS_PER_UNIT);
int size, rounded;
- struct bb_list *ptr;
- struct bb_str *sptr;
int long_bytes = LONG_TYPE_SIZE / BITS_PER_UNIT;
int gcov_type_bytes = GCOV_TYPE_SIZE / BITS_PER_UNIT;
int pointer_bytes = POINTER_SIZE / BITS_PER_UNIT;
@@ -1710,8 +1697,6 @@ final_end_function ()
&& dwarf2out_do_frame ())
dwarf2out_end_epilogue ();
#endif
-
- bb_func_label_num = -1; /* not in function, nuke label # */
}
/* Output assembler code for some insns: all or part of a function.