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
541b0512
Commit
541b0512
authored
Sep 24, 1999
by
Mark Mitchell
Committed by
Mark Mitchell
Sep 24, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* optabs.c (init_traps): Register trap_rtx as a GC root.
From-SVN: r29643
parent
da8a66fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
gcc/ChangeLog
+4
-0
gcc/optabs.c
+5
-4
No files found.
gcc/ChangeLog
View file @
541b0512
Thu
Sep
23
18
:
07
:
01
1999
Mark
Mitchell
<
mark
@codesourcery
.
com
>
*
optabs
.
c
(
init_traps
)
:
Register
trap_rtx
as
a
GC
root
.
Thu
Sep
23
17
:
41
:
47
1999
Alexandre
Oliva
<
oliva
@lsd
.
ic
.
unicamp
.
br
>
*
config
/
mips
/
mips
.
c
(
function_arg_pass_by_reference
)
:
Define
...
...
gcc/optabs.c
View file @
541b0512
...
...
@@ -4754,16 +4754,17 @@ ldexp(x,n)
/* The insn generating function can not take an rtx_code argument.
TRAP_RTX is used as an rtx argument. Its code is replaced with
the code to be used in the trap insn and all other fields are
ignored.
??? Will need to change to support garbage collection. */
ignored. */
static
rtx
trap_rtx
;
static
void
init_traps
()
{
if
(
HAVE_conditional_trap
)
trap_rtx
=
gen_rtx_fmt_ee
(
EQ
,
VOIDmode
,
NULL_RTX
,
NULL_RTX
);
{
trap_rtx
=
gen_rtx_fmt_ee
(
EQ
,
VOIDmode
,
NULL_RTX
,
NULL_RTX
);
ggc_add_tree_root
(
&
trap_rtx
,
1
);
}
}
#endif
...
...
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