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
0fedef28
Commit
0fedef28
authored
May 27, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_builtin, case BUILT_IN_{LONG,SET}JMP): Convert block address
from ptr_mode to Pmode. From-SVN: r12120
parent
2ff43a33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
gcc/expr.c
+12
-4
No files found.
gcc/expr.c
View file @
0fedef28
...
@@ -8565,8 +8565,12 @@ expand_builtin (exp, target, subtarget, mode, ignore)
...
@@ -8565,8 +8565,12 @@ expand_builtin (exp, target, subtarget, mode, ignore)
{
{
rtx
buf_addr
rtx
buf_addr
=
force_reg
(
Pmode
,
expand_expr
(
TREE_VALUE
(
arglist
),
subtarget
,
=
force_reg
(
Pmode
,
VOIDmode
,
0
));
convert_modes
(
Pmode
,
ptr_mode
,
expand_expr
(
TREE_VALUE
(
arglist
),
subtarget
,
VOIDmode
,
0
),
1
));
rtx
lab1
=
gen_label_rtx
(),
lab2
=
gen_label_rtx
();
rtx
lab1
=
gen_label_rtx
(),
lab2
=
gen_label_rtx
();
enum
machine_mode
sa_mode
=
Pmode
;
enum
machine_mode
sa_mode
=
Pmode
;
rtx
stack_save
;
rtx
stack_save
;
...
@@ -8712,8 +8716,12 @@ expand_builtin (exp, target, subtarget, mode, ignore)
...
@@ -8712,8 +8716,12 @@ expand_builtin (exp, target, subtarget, mode, ignore)
tree
dummy_type
=
build_function_type
(
void_type_node
,
NULL_TREE
);
tree
dummy_type
=
build_function_type
(
void_type_node
,
NULL_TREE
);
tree
dummy_decl
=
build_decl
(
FUNCTION_DECL
,
dummy_id
,
dummy_type
);
tree
dummy_decl
=
build_decl
(
FUNCTION_DECL
,
dummy_id
,
dummy_type
);
rtx
buf_addr
rtx
buf_addr
=
force_reg
(
Pmode
,
expand_expr
(
TREE_VALUE
(
arglist
),
NULL_RTX
,
=
force_reg
(
Pmode
,
VOIDmode
,
0
));
convert_modes
(
Pmode
,
ptr_mode
,
expand_expr
(
TREE_VALUE
(
arglist
),
NULL_RTX
,
VOIDmode
,
0
),
1
));
rtx
fp
=
gen_rtx
(
MEM
,
Pmode
,
buf_addr
);
rtx
fp
=
gen_rtx
(
MEM
,
Pmode
,
buf_addr
);
rtx
lab
=
gen_rtx
(
MEM
,
Pmode
,
rtx
lab
=
gen_rtx
(
MEM
,
Pmode
,
plus_constant
(
buf_addr
,
GET_MODE_SIZE
(
Pmode
)));
plus_constant
(
buf_addr
,
GET_MODE_SIZE
(
Pmode
)));
...
...
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