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
833c0b26
Commit
833c0b26
authored
28 years ago
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(rtx_addr_varies_p): Scan operands of type `E'.
From-SVN: r11935
parent
233fdd10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
gcc/rtlanal.c
+12
-3
No files found.
gcc/rtlanal.c
View file @
833c0b26
/* Analyze RTL for C-Compiler
Copyright (C) 1987, 88, 9
1, 92, 93, 94, 1995
Free Software Foundation, Inc.
Copyright (C) 1987, 88, 9
-5, 1996
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -177,8 +177,17 @@ rtx_addr_varies_p (x)
fmt
=
GET_RTX_FORMAT
(
code
);
for
(
i
=
GET_RTX_LENGTH
(
code
)
-
1
;
i
>=
0
;
i
--
)
if
(
fmt
[
i
]
==
'e'
)
if
(
rtx_addr_varies_p
(
XEXP
(
x
,
i
)))
return
1
;
{
if
(
rtx_addr_varies_p
(
XEXP
(
x
,
i
)))
return
1
;
}
else
if
(
fmt
[
i
]
==
'E'
)
{
int
j
;
for
(
j
=
0
;
j
<
XVECLEN
(
x
,
i
);
j
++
)
if
(
rtx_addr_varies_p
(
XVECEXP
(
x
,
i
,
j
)))
return
1
;
}
return
0
;
}
...
...
This diff is collapsed.
Click to expand it.
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