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
e0651058
Commit
e0651058
authored
Mar 01, 2008
by
Alexandre Oliva
Committed by
Alexandre Oliva
Mar 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* rtlanal.c (loc_mentioned_in_p): Test XVECEXPs correctly.
From-SVN: r132794
parent
d2b6be72
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
gcc/ChangeLog
+4
-0
gcc/rtlanal.c
+3
-4
No files found.
gcc/ChangeLog
View file @
e0651058
2008-03-01 Alexandre Oliva <aoliva@redhat.com>
* rtlanal.c (loc_mentioned_in_p): Test XVECEXPs correctly.
2008-03-01 Alexandre Oliva <aoliva@redhat.com>
* tree-flow-inline.h (next_readonly_imm_use): Return
NULL_USE_OPERAND_P after the end.
...
...
gcc/rtlanal.c
View file @
e0651058
...
...
@@ -2989,16 +2989,15 @@ loc_mentioned_in_p (rtx *loc, const_rtx in)
fmt
=
GET_RTX_FORMAT
(
code
);
for
(
i
=
GET_RTX_LENGTH
(
code
)
-
1
;
i
>=
0
;
i
--
)
{
if
(
loc
==
&
in
->
u
.
fld
[
i
].
rt_rtx
)
return
1
;
if
(
fmt
[
i
]
==
'e'
)
{
if
(
loc_mentioned_in_p
(
loc
,
XEXP
(
in
,
i
)))
if
(
loc
==
&
XEXP
(
in
,
i
)
||
loc
_mentioned_in_p
(
loc
,
XEXP
(
in
,
i
)))
return
1
;
}
else
if
(
fmt
[
i
]
==
'E'
)
for
(
j
=
XVECLEN
(
in
,
i
)
-
1
;
j
>=
0
;
j
--
)
if
(
loc_mentioned_in_p
(
loc
,
XVECEXP
(
in
,
i
,
j
)))
if
(
loc
==
&
XVECEXP
(
in
,
i
,
j
)
||
loc_mentioned_in_p
(
loc
,
XVECEXP
(
in
,
i
,
j
)))
return
1
;
}
return
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