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
058d8521
Commit
058d8521
authored
Sep 03, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(main): Use new loop var J to avoid conflict with I.
From-SVN: r2043
parent
9233f8ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
gcc/gcc.c
+10
-7
No files found.
gcc/gcc.c
View file @
058d8521
...
...
@@ -3197,6 +3197,7 @@ main (argc, argv)
char
**
argv
;
{
register
int
i
;
int
j
;
int
value
;
int
error_count
=
0
;
int
linker_was_run
=
0
;
...
...
@@ -3371,17 +3372,19 @@ main (argc, argv)
input_suffix
=
""
;
len
=
0
;
for
(
i
=
0
;
i
<
sizeof
cp
->
spec
/
sizeof
cp
->
spec
[
0
]
&&
cp
->
spec
[
i
];
i
++
)
len
+=
strlen
(
cp
->
spec
[
i
]);
for
(
j
=
0
;
j
<
sizeof
cp
->
spec
/
sizeof
cp
->
spec
[
0
];
j
++
)
if
(
cp
->
spec
[
j
])
len
+=
strlen
(
cp
->
spec
[
j
]);
p
=
(
char
*
)
xmalloc
(
len
+
1
);
len
=
0
;
for
(
i
=
0
;
i
<
sizeof
cp
->
spec
/
sizeof
cp
->
spec
[
0
]
&&
cp
->
spec
[
i
];
i
++
)
{
strcpy
(
p
+
len
,
cp
->
spec
[
i
]);
len
+=
strlen
(
cp
->
spec
[
i
]);
}
for
(
j
=
0
;
j
<
sizeof
cp
->
spec
/
sizeof
cp
->
spec
[
0
];
j
++
)
if
(
cp
->
spec
[
j
])
{
strcpy
(
p
+
len
,
cp
->
spec
[
j
]);
len
+=
strlen
(
cp
->
spec
[
j
]);
}
value
=
do_spec
(
p
);
free
(
p
);
...
...
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