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
af035616
Commit
af035616
authored
Mar 09, 1998
by
J"orn Rennecke
Committed by
Joern Rennecke
Mar 09, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* final.c (shorten_branches): Initialize insn_addresses.
From-SVN: r18448
parent
97e3c422
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
gcc/ChangeLog
+4
-0
gcc/final.c
+3
-0
No files found.
gcc/ChangeLog
View file @
af035616
Mon Mar 9 19:57:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* final.c (shorten_branches): Initialize insn_addresses.
Mon Mar 9 14:10:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.h (MUST_PASS_IN_STACK): Define.
...
...
gcc/final.c
View file @
af035616
...
...
@@ -1067,6 +1067,9 @@ shorten_branches (first)
if
(
insn_addresses
)
free
(
insn_addresses
);
insn_addresses
=
(
int
*
)
xmalloc
(
max_uid
*
sizeof
(
int
));
/* Syntax errors can lead to labels being outside of the main insn stream.
Initialize insn_addresses, so that we get reproducible results. */
bzero
((
char
*
)
insn_addresses
,
max_uid
*
sizeof
*
insn_addresses
);
if
(
uid_align
)
free
(
uid_align
);
uid_align
=
(
rtx
*
)
xmalloc
(
max_uid
*
sizeof
*
uid_align
);
...
...
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