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
ea9c5b9e
Commit
ea9c5b9e
authored
Oct 14, 1992
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(find_reloads): Don't let an operand have a numbered
constraint that makes it match itself. From-SVN: r2463
parent
c0e12601
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
gcc/reload.c
+11
-0
No files found.
gcc/reload.c
View file @
ea9c5b9e
...
...
@@ -2090,6 +2090,17 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
c
-=
'0'
;
operands_match
[
c
][
i
]
=
operands_match_p
(
recog_operand
[
c
],
recog_operand
[
i
]);
/* An operand may not match itself. */
if
(
c
==
i
)
{
if
(
this_insn_is_asm
)
warning_for_asm
(
this_insn
,
"operand %d has constraint %d"
,
i
,
c
);
else
abort
();
}
/* If C can be commuted with C+1, and C might need to match I,
then C+1 might also need to match I. */
if
(
commutative
>=
0
)
...
...
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