aboutsummaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorDavid Binderman <dcb314@hotmail.com>2009-11-24 12:59:00 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2009-11-24 12:59:00 +0000
commit2d8882865f812124cce403d0a28d372dd6d712b2 (patch)
treec4c734414946f093503d760e00bd8bb69ef8e901 /gcc/emit-rtl.c
parent44018bc325fd70bba94cbfa4f8fa4b51c56ea0b6 (diff)
downloadgcc-2d8882865f812124cce403d0a28d372dd6d712b2.zip
gcc-2d8882865f812124cce403d0a28d372dd6d712b2.tar.gz
gcc-2d8882865f812124cce403d0a28d372dd6d712b2.tar.bz2
cfgrtl.c (commit_one_edge_insertion): Remove set but not used local variable bb_note.
2009-11-24 David Binderman <dcb314@hotmail.com> * cfgrtl.c (commit_one_edge_insertion): Remove set but not used local variable bb_note. * dominance.c (get_dominated_by): Likewise local var n. (output_file_names): Likewise local var idx. (add_location_or_const_value_attribute): Likewise local var status. * dwarf2out.c (gen_variable_die): Likewise local var field. * emit-rtl.c (no_line_numbers): Remove. (init_emit_once): Remove line_numbers parameter. * rtl.h (init_emit_once): Adjust prototype. * toplev.c (backend_init): Adjust init_emit_once call. From-SVN: r154496
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 674bcc4..6ef490e 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -84,10 +84,6 @@ rtx * regno_reg_rtx;
static GTY(()) int label_num = 1;
-/* Nonzero means do not generate NOTEs for source line numbers. */
-
-static int no_line_numbers;
-
/* Commonly used rtx's, so that we only need space for one copy.
These are initialized once for the entire compilation.
All of these are unique; no other rtx-object will be equal to any
@@ -5714,11 +5710,10 @@ init_emit_regs (void)
pic_offset_table_rtx = NULL_RTX;
}
-/* Create some permanent unique rtl objects shared between all functions.
- LINE_NUMBERS is nonzero if line numbers are to be generated. */
+/* Create some permanent unique rtl objects shared between all functions. */
void
-init_emit_once (int line_numbers)
+init_emit_once (void)
{
int i;
enum machine_mode mode;
@@ -5740,8 +5735,6 @@ init_emit_once (int line_numbers)
reg_attrs_htab = htab_create_ggc (37, reg_attrs_htab_hash,
reg_attrs_htab_eq, NULL);
- no_line_numbers = ! line_numbers;
-
/* Compute the word and byte modes. */
byte_mode = VOIDmode;