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
2c852885
Commit
2c852885
authored
Dec 13, 1999
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* flow.c (create_edge_list): Cast xmalloc return value.
From-SVN: r30886
parent
eb33f744
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
gcc/ChangeLog
+8
-0
gcc/flow.c
+2
-2
No files found.
gcc/ChangeLog
View file @
2c852885
Mon
Dec
13
00
:
54
:
14
1999
Philippe
De
Muyter
<
phdm
@macqel
.
be
>
*
flow
.
c
(
create_edge_list
)
:
Cast
xmalloc
return
value
.
Mon
Dec
13
00
:
47
:
58
1999
Jeffrey
A
Law
(
law
@cygnus
.
com
)
*
cse
.
c
:
Fix
a
few
minor
whitespace
goofs
.
1999
-
12
-
13
Don
Bowman
<
don
@pixstream
.
com
>
*
mips
/
vxworks
.
h
:
Fix
problem
with
comment
termination
.
...
...
gcc/flow.c
View file @
2c852885
...
...
@@ -6009,10 +6009,10 @@ create_edge_list ()
for
(
e
=
ENTRY_BLOCK_PTR
->
succ
;
e
;
e
=
e
->
succ_next
)
num_edges
++
;
elist
=
xmalloc
(
sizeof
(
struct
edge_list
));
elist
=
(
struct
edge_list
*
)
xmalloc
(
sizeof
(
struct
edge_list
));
elist
->
num_blocks
=
block_count
;
elist
->
num_edges
=
num_edges
;
elist
->
index_to_edge
=
xmalloc
(
sizeof
(
edge
)
*
num_edges
);
elist
->
index_to_edge
=
(
edge
*
)
xmalloc
(
sizeof
(
edge
)
*
num_edges
);
num_edges
=
0
;
...
...
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