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
62acb978
Commit
62acb978
authored
Jul 28, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_expr, case CONJ_EXPR): Use correct mode for parts of a complex
expression. From-SVN: r7815
parent
bb14e228
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
gcc/expr.c
+6
-4
No files found.
gcc/expr.c
View file @
62acb978
...
...
@@ -6058,6 +6058,7 @@ expand_expr (exp, target, tmode, modifier)
case
CONJ_EXPR
:
{
enum
machine_mode
partmode
=
TYPE_MODE
(
TREE_TYPE
(
TREE_TYPE
(
exp
)));
rtx
imag_t
;
rtx
insns
;
...
...
@@ -6069,11 +6070,12 @@ expand_expr (exp, target, tmode, modifier)
start_sequence
();
/* Store the realpart and the negated imagpart to target. */
emit_move_insn
(
gen_realpart
(
mode
,
target
),
gen_realpart
(
mode
,
op0
));
emit_move_insn
(
gen_realpart
(
partmode
,
target
),
gen_realpart
(
partmode
,
op0
));
imag_t
=
gen_imagpart
(
mode
,
target
);
temp
=
expand_unop
(
mode
,
neg_optab
,
gen_imagpart
(
mode
,
op0
),
imag_t
,
0
);
imag_t
=
gen_imagpart
(
part
mode
,
target
);
temp
=
expand_unop
(
part
mode
,
neg_optab
,
gen_imagpart
(
part
mode
,
op0
),
imag_t
,
0
);
if
(
temp
!=
imag_t
)
emit_move_insn
(
imag_t
,
temp
);
...
...
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