unused insn variable.
* genemit.c (output_peephole2_scratches): Only declare and initialize
_regs_allocated if it will be ever used.
* cfgloopmanip.c (create_empty_if_region_on_edge): Remove unused
succ_bb variable.
(create_empty_loop_on_edge): Remove unused freq and cnt variables.
* unwind-c.c (PERSONALITY_FUNCTION): Remove unused action_record
variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154701
138bc75d-0d04-0410-961f-
82ee72b054a4
2009-11-27 Jakub Jelinek <jakub@redhat.com>
+ * config/i386/i386.c (ix86_emit_restore_sse_regs_using_mov): Remove
+ unused insn variable.
+ * genemit.c (output_peephole2_scratches): Only declare and initialize
+ _regs_allocated if it will be ever used.
+ * cfgloopmanip.c (create_empty_if_region_on_edge): Remove unused
+ succ_bb variable.
+ (create_empty_loop_on_edge): Remove unused freq and cnt variables.
+ * unwind-c.c (PERSONALITY_FUNCTION): Remove unused action_record
+ variable.
+
* opts.c (decode_options): If optimize is bigger than 255,
set it to 255.
create_empty_if_region_on_edge (edge entry_edge, tree condition)
{
- basic_block succ_bb, cond_bb, true_bb, false_bb, join_bb;
+ basic_block cond_bb, true_bb, false_bb, join_bb;
edge e_true, e_false, exit_edge;
gimple cond_stmt;
tree simple_cond;
gimple_stmt_iterator gsi;
- succ_bb = entry_edge->dest;
cond_bb = split_edge (entry_edge);
/* Insert condition in cond_bb. */
{
basic_block loop_header, loop_latch, succ_bb, pred_bb;
struct loop *loop;
- int freq;
- gcov_type cnt;
gimple_stmt_iterator gsi;
gimple_seq stmts;
gimple cond_expr;
add_loop (loop, outer);
/* TODO: Fix frequencies and counts. */
- freq = EDGE_FREQUENCY (entry_edge);
- cnt = entry_edge->count;
-
prob = REG_BR_PROB_BASE / 2;
scale_loop_frequencies (loop, REG_BR_PROB_BASE - prob, REG_BR_PROB_BASE);
{
int regno;
rtx base_address = gen_rtx_MEM (TImode, pointer);
- rtx mem, insn;
+ rtx mem;
for (regno = 0; regno < FIRST_PSEUDO_REGISTER; regno++)
if (SSE_REGNO_P (regno) && ix86_save_reg (regno, maybe_eh_return))
}
mem = adjust_address (base_address, TImode, offset);
set_mem_align (mem, 128);
- insn = emit_move_insn (reg, mem);
+ emit_move_insn (reg, mem);
offset += 16;
ix86_add_cfa_restore_note (NULL_RTX, reg, red_offset);
/* Generate code from machine description to emit insns as rtl.
Copyright (C) 1987, 1988, 1991, 1994, 1995, 1997, 1998, 1999, 2000, 2001,
- 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
+ 2003, 2004, 2005, 2007, 2008, 2009 Free Software Foundation, Inc.
This file is part of GCC.
{
int i;
int insn_nr = 0;
-
- printf (" HARD_REG_SET _regs_allocated;\n");
- printf (" CLEAR_HARD_REG_SET (_regs_allocated);\n");
+ bool first = true;
for (i = 0; i < XVECLEN (split, 0); i++)
{
else if (GET_CODE (XVECEXP (split, 0, j)) != MATCH_SCRATCH)
cur_insn_nr++;
+ if (first)
+ {
+ printf (" HARD_REG_SET _regs_allocated;\n");
+ printf (" CLEAR_HARD_REG_SET (_regs_allocated);\n");
+ first = false;
+ }
+
printf (" if ((operands[%d] = peep2_find_free_register (%d, %d, \"%s\", %smode, &_regs_allocated)) == NULL_RTX)\n\
return NULL;\n",
XINT (elt, 0),
#endif
{
lsda_header_info info;
- const unsigned char *language_specific_data, *p, *action_record;
+ const unsigned char *language_specific_data, *p;
_Unwind_Ptr landing_pad, ip;
int ip_before_insn = 0;
/* Can never have null landing pad for sjlj -- that would have
been indicated by a -1 call site index. */
landing_pad = (_Unwind_Ptr)cs_lp + 1;
- if (cs_action)
- action_record = info.action_table + cs_action - 1;
goto found_something;
}
#else
{
if (cs_lp)
landing_pad = info.LPStart + cs_lp;
- if (cs_action)
- action_record = info.action_table + cs_action - 1;
goto found_something;
}
}