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
253a01b4
Commit
253a01b4
authored
Oct 07, 1997
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix thinko in last change.
From-SVN: r15874
parent
a6f02587
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
gcc/integrate.c
+7
-2
No files found.
gcc/integrate.c
View file @
253a01b4
...
...
@@ -1244,6 +1244,10 @@ expand_inline_function (fndecl, parms, target, ignore, type,
rtvec
arg_vector
=
ORIGINAL_ARG_VECTOR
(
header
);
rtx
static_chain_value
=
0
;
/* The pointer used to track the true location of the memory used
for MAP->LABEL_MAP. */
rtx
*
real_label_map
=
0
;
/* Allow for equivalences of the pseudos we make for virtual fp and ap. */
max_regno
=
MAX_REGNUM
(
header
)
+
3
;
if
(
max_regno
<
FIRST_PSEUDO_REGISTER
)
...
...
@@ -1383,8 +1387,9 @@ expand_inline_function (fndecl, parms, target, ignore, type,
/* We used to use alloca here, but the size of what it would try to
allocate would occasionally cause it to exceed the stack limit and
cause unpredictable core dumps. */
label_map
=
(
rtx
*
)
xmalloc
((
max_labelno
)
*
sizeof
(
rtx
));
map
->
label_map
=
label_map
;
real_label_map
=
(
rtx
*
)
xmalloc
((
max_labelno
)
*
sizeof
(
rtx
));
map
->
label_map
=
real_label_map
;
map
->
insn_map
=
(
rtx
*
)
alloca
(
INSN_UID
(
header
)
*
sizeof
(
rtx
));
bzero
((
char
*
)
map
->
insn_map
,
INSN_UID
(
header
)
*
sizeof
(
rtx
));
...
...
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