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
76ebc969
Commit
76ebc969
authored
Dec 21, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_asm_operands): Make sure input operands are valid constants if
they are constants. From-SVN: r8682
parent
aa10adff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gcc/stmt.c
+6
-0
No files found.
gcc/stmt.c
View file @
76ebc969
...
...
@@ -1492,6 +1492,12 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
XVECEXP
(
body
,
3
,
i
)
/* argvec */
=
expand_expr
(
TREE_VALUE
(
tail
),
NULL_RTX
,
VOIDmode
,
0
);
if
(
CONSTANT_P
(
XVECEXP
(
body
,
3
,
i
))
&&
!
general_operand
(
XVECEXP
(
body
,
3
,
i
),
TYPE_MODE
(
TREE_TYPE
(
TREE_VALUE
(
tail
)))))
XVECEXP
(
body
,
3
,
i
)
=
force_reg
(
TYPE_MODE
(
TREE_TYPE
(
TREE_VALUE
(
tail
))),
XVECEXP
(
body
,
3
,
i
));
XVECEXP
(
body
,
4
,
i
)
/* constraints */
=
gen_rtx
(
ASM_INPUT
,
TYPE_MODE
(
TREE_TYPE
(
TREE_VALUE
(
tail
))),
TREE_STRING_POINTER
(
TREE_PURPOSE
(
tail
)));
...
...
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