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
e7180acb
Commit
e7180acb
authored
May 14, 2013
by
Mike Stump
Committed by
Mike Stump
May 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* web.c (union_match_dups): Also check DF_REF_REAL_LOC.
From-SVN: r198896
parent
fd6beed4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
gcc/ChangeLog
+4
-0
gcc/web.c
+12
-4
No files found.
gcc/ChangeLog
View file @
e7180acb
2013-05-14 Mike Stump <mikestump@comcast.net>
* web.c (union_match_dups): Also check DF_REF_REAL_LOC.
2013-05-14 Steven Bosscher <steven@gcc.gnu.org>
2013-05-14 Steven Bosscher <steven@gcc.gnu.org>
* resource.h (struct resources): Remove unch_memory member.
* resource.h (struct resources): Remove unch_memory member.
...
...
gcc/web.c
View file @
e7180acb
...
@@ -132,14 +132,22 @@ union_match_dups (rtx insn, struct web_entry *def_entry,
...
@@ -132,14 +132,22 @@ union_match_dups (rtx insn, struct web_entry *def_entry,
ref
=
type
==
OP_IN
?
use_link
:
def_link
;
ref
=
type
==
OP_IN
?
use_link
:
def_link
;
entry
=
type
==
OP_IN
?
use_entry
:
def_entry
;
entry
=
type
==
OP_IN
?
use_entry
:
def_entry
;
for
(;
*
ref
;
ref
++
)
for
(;
*
ref
;
ref
++
)
if
(
DF_REF_LOC
(
*
ref
)
==
recog_data
.
operand_loc
[
op
])
{
break
;
if
(
DF_REF_LOC
(
*
ref
)
==
recog_data
.
operand_loc
[
op
])
break
;
if
(
DF_REF_REAL_LOC
(
*
ref
)
==
recog_data
.
operand_loc
[
op
])
break
;
}
if
(
!*
ref
&&
type
==
OP_INOUT
)
if
(
!*
ref
&&
type
==
OP_INOUT
)
{
{
for
(
ref
=
use_link
,
entry
=
use_entry
;
*
ref
;
ref
++
)
for
(
ref
=
use_link
,
entry
=
use_entry
;
*
ref
;
ref
++
)
if
(
DF_REF_LOC
(
*
ref
)
==
recog_data
.
operand_loc
[
op
])
{
break
;
if
(
DF_REF_LOC
(
*
ref
)
==
recog_data
.
operand_loc
[
op
])
break
;
if
(
DF_REF_REAL_LOC
(
*
ref
)
==
recog_data
.
operand_loc
[
op
])
break
;
}
}
}
gcc_assert
(
*
ref
);
gcc_assert
(
*
ref
);
...
...
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