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
e3cb8f05
Commit
e3cb8f05
authored
10 years ago
by
Chen Gang
Committed by
Jeff Law
10 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c (do_spec_1): Allocate enough space for saved_suffix.
From-SVN: r213387
parent
f3d95c69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/gcc.c
+1
-1
No files found.
gcc/ChangeLog
View file @
e3cb8f05
2014
-
07
-
31
Chen
Gang
<
gang
.
chen
.5
i5j
@
gmail
.
com
>
*
gcc
.
c
(
do_spec_1
):
Allocate
enough
space
for
saved_suffix
.
2014
-
07
-
31
James
Greenhalgh
<
james
.
greenhalgh
@
arm
.
com
>
*
config
/
aarch64
/
arm_neon
.
h
(
vpadd_
<
suf
><
8
,
16
,
32
,
64
>):
Move
to
...
...
This diff is collapsed.
Click to expand it.
gcc/gcc.c
View file @
e3cb8f05
...
...
@@ -4894,7 +4894,7 @@ do_spec_1 (const char *spec, int inswitch, const char *soft_matched_part)
{
saved_suffix
=
XNEWVEC
(
char
,
suffix_length
+
strlen
(
TARGET_OBJECT_SUFFIX
));
+
strlen
(
TARGET_OBJECT_SUFFIX
)
+
1
);
strncpy
(
saved_suffix
,
suffix
,
suffix_length
);
strcpy
(
saved_suffix
+
suffix_length
,
TARGET_OBJECT_SUFFIX
);
...
...
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