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
665bf351
Commit
665bf351
authored
Apr 01, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(print_multilib_info): Don't use LAST_PATH if not set.
From-SVN: r9281
parent
d0d99d5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/gcc.c
+2
-2
No files found.
gcc/gcc.c
View file @
665bf351
...
@@ -5202,7 +5202,7 @@ static void
...
@@ -5202,7 +5202,7 @@ static void
print_multilib_info
()
print_multilib_info
()
{
{
char
*
p
=
multilib_select
;
char
*
p
=
multilib_select
;
char
*
last_path
,
*
this_path
;
char
*
last_path
=
0
,
*
this_path
;
int
skip
,
use_arg
;
int
skip
,
use_arg
;
int
last_path_len
=
0
;
int
last_path_len
=
0
;
...
@@ -5225,7 +5225,7 @@ print_multilib_info ()
...
@@ -5225,7 +5225,7 @@ print_multilib_info ()
}
}
/* If this is a duplicate, skip it. */
/* If this is a duplicate, skip it. */
skip
=
(
p
-
this_path
==
last_path_len
skip
=
(
last_path
!=
0
&&
p
-
this_path
==
last_path_len
&&
!
strncmp
(
last_path
,
this_path
,
last_path_len
));
&&
!
strncmp
(
last_path
,
this_path
,
last_path_len
));
last_path
=
this_path
;
last_path
=
this_path
;
...
...
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