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
1497faf6
Commit
1497faf6
authored
Sep 11, 1999
by
Richard Henderson
Committed by
Richard Henderson
Sep 11, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cse.c (cse_main): If gc'ing, collect around cse_basic_block.
From-SVN: r29354
parent
0172a8f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
gcc/ChangeLog
+7
-0
gcc/cse.c
+10
-0
No files found.
gcc/ChangeLog
View file @
1497faf6
Sat
Sep
11
23
:
23
:
46
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
*
cse
.
c
(
cse_main
)
:
If
gc
'
ing
,
collect
around
cse_basic_block
.
*
ggc
-
simple
.
c
(
ggc_pop_context
)
:
Fold
outstanding
bytes
into
surrounding
context
.
Sat
Sep
11
19
:
52
:
43
1999
Mark
Mitchell
<
mark
@codesourcery
.
com
>
*
tree
.
c
(
type_hash_canon
)
:
Put
all
types
in
the
hash
-
table
,
when
...
...
gcc/cse.c
View file @
1497faf6
...
...
@@ -36,6 +36,7 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h"
#include "output.h"
#include "splay-tree.h"
#include "ggc.h"
/* The basic idea of common subexpression elimination is to go
through the code, keeping a record of expressions that would
...
...
@@ -8730,6 +8731,9 @@ cse_main (f, nregs, after_loop, file)
||
global_regs
[
i
])
SET_HARD_REG_BIT
(
regs_invalidated_by_call
,
i
);
if
(
ggc_p
)
ggc_push_context
();
/* Loop over basic blocks.
Compute the maximum number of qty's needed for each basic block
(which is 2 for each SET). */
...
...
@@ -8786,11 +8790,17 @@ cse_main (f, nregs, after_loop, file)
cse_jumps_altered
|=
old_cse_jumps_altered
;
}
if
(
ggc_p
)
ggc_collect
();
#ifdef USE_C_ALLOCA
alloca
(
0
);
#endif
}
if
(
ggc_p
)
ggc_pop_context
();
/* Tell refers_to_mem_p that qty_const info is not available. */
qty_const
=
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