summaryrefslogtreecommitdiff
path: root/gcc/genautomata.c
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-07 20:51:14 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-07 20:51:14 +0000
commit1e4adcfc349ec3fd567987ddbc4e1160c7479a1c (patch)
tree07da1dd6026189443a185a7f6c35b6b3b9a63907 /gcc/genautomata.c
parentf7908e06695960797626a37837b837a28bba1576 (diff)
downloadgcc-1e4adcfc349ec3fd567987ddbc4e1160c7479a1c.tar.gz
2009-11-07 David Binderman <dcb314@hotmail.com>
* builtins.c (apply_args_size, expand_builtin_mathfn, expand_powi, expand_builtin_expect, maybe_emit_sprintf_chk_warning): Remove some set but not used variables. * calls.c (flags_from_decl_or_type): Likewise. * genautomata.c (check_regexp_units_distribution): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154001 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genautomata.c')
-rw-r--r--gcc/genautomata.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/genautomata.c b/gcc/genautomata.c
index e78eea2c258..77dea231ed5 100644
--- a/gcc/genautomata.c
+++ b/gcc/genautomata.c
@@ -5045,7 +5045,7 @@ static void
check_regexp_units_distribution (const char *insn_reserv_name,
regexp_t regexp)
{
- int i, j, k, cycle, cycle2, start, n_alts, alt, alt2;
+ int i, j, k, cycle, start, n_alts, alt, alt2;
bool annotation_reservation_message_reported_p;
regexp_t seq, allof, unit;
struct unit_usage *unit_usage_ptr;
@@ -5164,7 +5164,6 @@ check_regexp_units_distribution (const char *insn_reserv_name,
j < (int) VEC_length (unit_usage_t, cycle_alt_unit_usages);
j++)
{
- cycle2 = j / n_alts;
alt2 = j % n_alts;
if (! unit_present_on_list_p
(VEC_index (unit_usage_t, cycle_alt_unit_usages,