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
c0b178d0
Commit
c0b178d0
authored
Dec 25, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(gen_reg_rtx): Only clear part of arrays we aren't going to copy into.
From-SVN: r6324
parent
3207b172
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
gcc/emit-rtl.c
+3
-2
No files found.
gcc/emit-rtl.c
View file @
c0b178d0
...
...
@@ -482,13 +482,14 @@ gen_reg_rtx (mode)
rtx
*
new1
;
char
*
new
=
(
char
*
)
oballoc
(
regno_pointer_flag_length
*
2
);
bzero
(
new
,
regno_pointer_flag_length
*
2
);
bcopy
(
regno_pointer_flag
,
new
,
regno_pointer_flag_length
);
bzero
(
&
new
[
regno_pointer_flag_length
],
regno_pointer_flag_length
);
regno_pointer_flag
=
new
;
new1
=
(
rtx
*
)
oballoc
(
regno_pointer_flag_length
*
2
*
sizeof
(
rtx
));
bzero
(
new1
,
regno_pointer_flag_length
*
2
*
sizeof
(
rtx
));
bcopy
(
regno_reg_rtx
,
new1
,
regno_pointer_flag_length
*
sizeof
(
rtx
));
bzero
(
&
new1
[
regno_pointer_flag_length
],
regno_pointer_flag_length
*
sizeof
(
rtx
));
regno_reg_rtx
=
new1
;
regno_pointer_flag_length
*=
2
;
...
...
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