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
791ca74c
Commit
791ca74c
authored
Apr 12, 1999
by
Jan Hubicka
Committed by
Jeff Law
Apr 12, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* reg-stack.c (check_stack_regs_mentioned): Remove variable SIZE.
From-SVN: r26386
parent
d78b684f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
gcc/ChangeLog
+4
-0
gcc/reg-stack.c
+3
-8
No files found.
gcc/ChangeLog
View file @
791ca74c
Mon
Apr
12
14
:
58
:
30
MET
DST
1999
Jan
Hubicka
<
hubicka
@freesoft
.
cz
>
*
reg
-
stack
.
c
(
check_stack_regs_mentioned
)
:
Remove
variable
SIZE
.
Mon
Apr
12
19
:
15
:
17
1999
Daniel
Jacobowitz
<
dan
@debian
.
org
>
*
rs6000
/
sysv4
.
h
(
CPP_OS_LINUX_SPEC
)
:
Add
missing
backslash
.
...
...
gcc/reg-stack.c
View file @
791ca74c
...
...
@@ -296,14 +296,9 @@ check_stack_regs_mentioned (insn)
{
unsigned
int
uid
=
INSN_UID
(
insn
);
if
(
uid
>=
VARRAY_SIZE
(
stack_regs_mentioned_data
))
{
unsigned
int
size
=
VARRAY_SIZE
(
stack_regs_mentioned_data
);
/* Allocate some extra size to avoid too many reallocs, but
do not grow exponentially. */
size
=
uid
+
uid
/
20
;
VARRAY_GROW
(
stack_regs_mentioned_data
,
size
);
}
/* Allocate some extra size to avoid too many reallocs, but
do not grow exponentially. */
VARRAY_GROW
(
stack_regs_mentioned_data
,
uid
+
uid
/
20
);
if
(
stack_regs_mentioned_p
(
PATTERN
(
insn
)))
{
VARRAY_CHAR
(
stack_regs_mentioned_data
,
uid
)
=
1
;
...
...
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