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
9413de45
Commit
9413de45
authored
Dec 29, 2001
by
Richard Kenner
Committed by
Richard Kenner
Dec 29, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expr.c (convert_move): If -fforce-mem, force FROM to not be memory.
From-SVN: r48385
parent
6790d1bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
gcc/ChangeLog
+2
-0
gcc/expr.c
+3
-0
No files found.
gcc/ChangeLog
View file @
9413de45
Sat
Dec
29
15
:
48
:
54
2001
Richard
Kenner
<
kenner
@vlsi1
.
ultra
.
nyu
.
edu
>
Sat
Dec
29
15
:
48
:
54
2001
Richard
Kenner
<
kenner
@vlsi1
.
ultra
.
nyu
.
edu
>
*
expr
.
c
(
convert_move
)
:
If
-
fforce
-
mem
,
force
FROM
to
not
be
memory
.
*
stor
-
layout
.
c
(
layout_decl
)
:
Don
'
t
misalign
field
of
variable
size
*
stor
-
layout
.
c
(
layout_decl
)
:
Don
'
t
misalign
field
of
variable
size
for
packed
record
.
for
packed
record
.
...
...
gcc/expr.c
View file @
9413de45
...
@@ -1052,6 +1052,9 @@ convert_move (to, from, unsignedp)
...
@@ -1052,6 +1052,9 @@ convert_move (to, from, unsignedp)
if
((
code
=
can_extend_p
(
to_mode
,
from_mode
,
unsignedp
))
if
((
code
=
can_extend_p
(
to_mode
,
from_mode
,
unsignedp
))
!=
CODE_FOR_nothing
)
!=
CODE_FOR_nothing
)
{
{
if
(
flag_force_mem
)
from
=
force_not_mem
(
from
);
emit_unop_insn
(
code
,
to
,
from
,
equiv_code
);
emit_unop_insn
(
code
,
to
,
from
,
equiv_code
);
return
;
return
;
}
}
...
...
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