From e1eb390dfeaa984d3ea61318303d1af858e4127b Mon Sep 17 00:00:00 2001 From: davidxl Date: Wed, 14 Aug 2013 20:57:52 +0000 Subject: [PATCH] Remove unused variable and field git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201752 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 7 ++++++- gcc/config/i386/i386.c | 6 ++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1040af8b046..a5975f55d6c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-08-14 Xinliang David Li + + * config/i386/i386.c (ix86_option_override_internal): + Remove unused variable and field. + 2013-08-14 Bill Schmidt PR target/57949 @@ -20,7 +25,7 @@ 2013-08-14 Xinliang David Li * config/i386/i386.c (ix86_option_override_internal): - Fix potential unitialized variable error. + Fix uninitialized variable error. 2013-08-14 Xinliang David Li diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index e1de475bada..2f905d2b31a 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -2792,7 +2792,6 @@ static const char *stringop_alg_names[] = { struct stringop_size_range { - int min; int max; stringop_alg alg; bool noalign; @@ -2815,7 +2814,7 @@ ix86_parse_stringop_strategy_string (char *strategy_str, bool is_memset) do { - int mins = 0, maxs; + int maxs; stringop_alg alg; char alg_name[128]; char align[16]; @@ -2831,7 +2830,7 @@ ix86_parse_stringop_strategy_string (char *strategy_str, bool is_memset) return; } - if (n > 0 && (maxs < (mins = input_ranges[n - 1].max + 1) && maxs != -1)) + if (n > 0 && (maxs < (input_ranges[n - 1].max + 1) && maxs != -1)) { error ("size ranges of option %s should be increasing", is_memset ? "-mmemset_strategy=" : "-mmemcpy_strategy="); @@ -2855,7 +2854,6 @@ ix86_parse_stringop_strategy_string (char *strategy_str, bool is_memset) return; } - input_ranges[n].min = mins; input_ranges[n].max = maxs; input_ranges[n].alg = alg; if (!strcmp (align, "align")) -- 2.11.4.GIT