Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
e3c02cc7
Commit
e3c02cc7
authored
11 years ago
by
Xinliang David Li
Committed by
Xinliang David Li
11 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused variable and field
From-SVN: r201752
parent
6469da2c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
gcc/ChangeLog
+6
-1
gcc/config/i386/i386.c
+2
-4
No files found.
gcc/ChangeLog
View file @
e3c02cc7
2013-08-14 Xinliang David Li <davidxl@google.com>
* config/i386/i386.c (ix86_option_override_internal):
Remove unused variable and field.
2013-08-14 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/57949
...
...
@@ -20,7 +25,7 @@
2013-08-14 Xinliang David Li <davidxl@google.com>
* config/i386/i386.c (ix86_option_override_internal):
Fix
potential u
nitialized variable error.
Fix
uni
nitialized variable error.
2013-08-14 Xinliang David Li <davidxl@google.com>
...
...
This diff is collapsed.
Click to expand it.
gcc/config/i386/i386.c
View file @
e3c02cc7
...
...
@@ -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
m
ins
=
0
,
m
axs
;
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"
))
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment