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
fa0933ba
Commit
fa0933ba
authored
Dec 13, 1999
by
Jeffrey A Law
Committed by
Jeff Law
Dec 12, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cse.c (cse_basic_block): Free qty_table consistently.
From-SVN: r30882
parent
3a1760ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
gcc/ChangeLog
+4
-0
gcc/cse.c
+12
-3
No files found.
gcc/ChangeLog
View file @
fa0933ba
Sun
Dec
12
21
:
31
:
44
1999
Jeffrey
A
Law
(
law
@cygnus
.
com
)
*
cse
.
c
(
cse_basic_block
)
:
Free
qty_table
consistently
.
1999
-
12
-
12
David
S
.
Miller
<
davem
@redhat
.
com
>
Jakub
Jelinek
<
jakub
@redhat
.
com
>
...
...
gcc/cse.c
View file @
fa0933ba
...
...
@@ -6961,7 +6961,10 @@ cse_basic_block (from, to, next_branch, around_loop)
if
(
simplejump_p
(
insn
))
{
if
(
to
==
0
)
return
0
;
{
free
(
qty_table
+
max_reg
);
return
0
;
}
if
(
JUMP_LABEL
(
insn
)
==
to
)
to_usage
=
1
;
...
...
@@ -6993,13 +6996,19 @@ cse_basic_block (from, to, next_branch, around_loop)
/* If TO was the last insn in the function, we are done. */
if
(
insn
==
0
)
return
0
;
{
free
(
qty_table
+
max_reg
);
return
0
;
}
/* If TO was preceded by a BARRIER we are done with this block
because it has no continuation. */
prev
=
prev_nonnote_insn
(
to
);
if
(
prev
&&
GET_CODE
(
prev
)
==
BARRIER
)
return
insn
;
{
free
(
qty_table
+
max_reg
);
return
insn
;
}
/* Find the end of the following block. Note that we won't be
following branches in this case. */
...
...
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