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
d6c0e1c8
Commit
d6c0e1c8
authored
Jan 11, 1999
by
Richard Henderson
Committed by
Richard Henderson
Jan 11, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* rtl.c (rtx_alloc): Use memset instead of inline loop.
From-SVN: r24632
parent
08b8d8e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
gcc/ChangeLog
+4
-0
gcc/rtl.c
+1
-3
No files found.
gcc/ChangeLog
View file @
d6c0e1c8
Tue
Jan
12
01
:
30
:
19
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
*
rtl
.
c
(
rtx_alloc
)
:
Use
memset
instead
of
inline
loop
.
Tue
Jan
12
00
:
23
:
31
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
Tue
Jan
12
00
:
23
:
31
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
*
function
.
c
(
purge_addressof_1
)
:
If
the
note
accesses
a
mem
+
addressof
*
function
.
c
(
purge_addressof_1
)
:
If
the
note
accesses
a
mem
+
addressof
...
...
gcc/rtl.c
View file @
d6c0e1c8
...
@@ -254,9 +254,7 @@ rtx_alloc (code)
...
@@ -254,9 +254,7 @@ rtx_alloc (code)
one int, but we don't want to assume that and it isn't very portable
one int, but we don't want to assume that and it isn't very portable
anyway; this is. */
anyway; this is. */
length
=
(
sizeof
(
struct
rtx_def
)
-
sizeof
(
rtunion
)
-
1
)
/
sizeof
(
int
);
memset
(
rt
,
0
,
sizeof
(
struct
rtx_def
)
-
sizeof
(
rtunion
));
for
(;
length
>=
0
;
length
--
)
((
int
*
)
rt
)[
length
]
=
0
;
PUT_CODE
(
rt
,
code
);
PUT_CODE
(
rt
,
code
);
...
...
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