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
5570ddd5
Commit
5570ddd5
authored
May 11, 2015
by
Richard Henderson
Committed by
Richard Henderson
May 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only resolve_asm_operand_names once
We do it in the front end already; no need to repeat. From-SVN: r223022
parent
5ce039df
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
gcc/ChangeLog
+6
-0
gcc/cfgexpand.c
+0
-2
gcc/stmt.c
+4
-3
No files found.
gcc/ChangeLog
View file @
5570ddd5
2015-05-11 Richard Henderson <rth@redhat.com>
* cfgexpand.c (expand_asm_operands): Don't call
resolve_asm_operand_names.
* stmt.c (resolve_asm_operand_names): Clarify block comment.
2015-05-11 Jan Hubicka <hubicka@ucw.cz>
* dwarf2out.c (gen_member_die): Sanity check that we access
...
...
gcc/cfgexpand.c
View file @
5570ddd5
...
...
@@ -2554,8 +2554,6 @@ expand_asm_operands (tree string, tree outputs, tree inputs,
if
(
!
check_operand_nalternatives
(
outputs
,
inputs
))
return
;
string
=
resolve_asm_operand_names
(
string
,
outputs
,
inputs
,
labels
);
/* Collect constraints. */
i
=
0
;
for
(
t
=
outputs
;
t
;
t
=
TREE_CHAIN
(
t
),
i
++
)
...
...
gcc/stmt.c
View file @
5570ddd5
...
...
@@ -562,9 +562,10 @@ check_unique_operand_names (tree outputs, tree inputs, tree labels)
return
false
;
}
/* A subroutine of expand_asm_operands. Resolve the names of the operands
in *POUTPUTS and *PINPUTS to numbers, and replace the name expansions in
STRING and in the constraints to those numbers. */
/* Resolve the names of the operands in *POUTPUTS and *PINPUTS to numbers,
and replace the name expansions in STRING and in the constraints to
those numbers. This is generally done in the front end while creating
the ASM_EXPR generic tree that eventually becomes the GIMPLE_ASM. */
tree
resolve_asm_operand_names
(
tree
string
,
tree
outputs
,
tree
inputs
,
tree
labels
)
...
...
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