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
f645e2bd
Commit
f645e2bd
authored
Apr 17, 2004
by
Richard Sandiford
Committed by
Richard Sandiford
Apr 17, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c (used_arg): Check whether an option has been removed.
From-SVN: r80787
parent
04db08db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
14 deletions
+19
-14
gcc/ChangeLog
+4
-0
gcc/gcc.c
+15
-14
No files found.
gcc/ChangeLog
View file @
f645e2bd
2004-04-17 Richard Sandiford <rsandifo@redhat.com>
* gcc.c (used_arg): Check whether an option has been removed.
2004-04-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2004-04-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* config.gcc (i[34567]86-*-solaris2*): Default to DWARF-2
* config.gcc (i[34567]86-*-solaris2*): Default to DWARF-2
...
...
gcc/gcc.c
View file @
f645e2bd
...
@@ -6909,20 +6909,21 @@ used_arg (const char *p, int len)
...
@@ -6909,20 +6909,21 @@ used_arg (const char *p, int len)
=
xmalloc
(
sizeof
(
struct
mswitchstr
)
=
xmalloc
(
sizeof
(
struct
mswitchstr
)
*
(
n_mdswitches
+
(
n_switches
?
n_switches
:
1
)));
*
(
n_mdswitches
+
(
n_switches
?
n_switches
:
1
)));
for
(
i
=
0
;
i
<
n_switches
;
i
++
)
for
(
i
=
0
;
i
<
n_switches
;
i
++
)
{
if
(
switches
[
i
].
live_cond
!=
SWITCH_IGNORE
)
int
xlen
=
strlen
(
switches
[
i
].
part1
);
{
for
(
j
=
0
;
j
<
cnt
;
j
++
)
int
xlen
=
strlen
(
switches
[
i
].
part1
);
if
(
xlen
==
matches
[
j
].
len
for
(
j
=
0
;
j
<
cnt
;
j
++
)
&&
!
strncmp
(
switches
[
i
].
part1
,
matches
[
j
].
str
,
xlen
))
if
(
xlen
==
matches
[
j
].
len
{
&&
!
strncmp
(
switches
[
i
].
part1
,
matches
[
j
].
str
,
xlen
))
mswitches
[
n_mswitches
].
str
=
matches
[
j
].
replace
;
{
mswitches
[
n_mswitches
].
len
=
matches
[
j
].
rep_len
;
mswitches
[
n_mswitches
].
str
=
matches
[
j
].
replace
;
mswitches
[
n_mswitches
].
replace
=
(
char
*
)
0
;
mswitches
[
n_mswitches
].
len
=
matches
[
j
].
rep_len
;
mswitches
[
n_mswitches
].
rep_len
=
0
;
mswitches
[
n_mswitches
].
replace
=
(
char
*
)
0
;
n_mswitches
++
;
mswitches
[
n_mswitches
].
rep_len
=
0
;
break
;
n_mswitches
++
;
}
break
;
}
}
}
/* Add MULTILIB_DEFAULTS switches too, as long as they were not present
/* Add MULTILIB_DEFAULTS switches too, as long as they were not present
on the command line nor any options mutually incompatible with
on the command line nor any options mutually incompatible with
...
...
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