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
926d1ca5
Commit
926d1ca5
authored
Nov 26, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fixup_var_refs_1): Make pseudo for DEST in PROMOTED_MODE unless in a
SUBREG. From-SVN: r10608
parent
f353588a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
gcc/function.c
+4
-3
No files found.
gcc/function.c
View file @
926d1ca5
...
...
@@ -2059,13 +2059,14 @@ fixup_var_refs_1 (var, promoted_mode, loc, insn, replacements)
fixeddest
=
XEXP
(
fixeddest
,
0
);
/* Convert (SUBREG (MEM)) to a MEM in a changed mode. */
if
(
GET_CODE
(
fixeddest
)
==
SUBREG
)
{
fixeddest
=
fixup_memory_subreg
(
fixeddest
,
insn
,
0
);
promoted_mode
=
GET_MODE
(
fixeddest
);
}
else
fixeddest
=
fixup_stack_1
(
fixeddest
,
insn
);
temp
=
gen_reg_rtx
(
GET_MODE
(
SET_SRC
(
x
))
==
VOIDmode
?
GET_MODE
(
fixeddest
)
:
GET_MODE
(
SET_SRC
(
x
)));
temp
=
gen_reg_rtx
(
promoted_mode
);
emit_insn_after
(
gen_move_insn
(
fixeddest
,
gen_lowpart
(
GET_MODE
(
fixeddest
),
...
...
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