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
2ac4fed0
Commit
2ac4fed0
authored
Jan 28, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r245
parent
1fcea2b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
gcc/rtlanal.c
+6
-1
No files found.
gcc/rtlanal.c
View file @
2ac4fed0
...
...
@@ -364,6 +364,8 @@ reg_referenced_p (x, body)
case
TRAP_IF
:
return
reg_overlap_mentioned_p
(
x
,
TRAP_CONDITION
(
body
));
case
UNSPEC
:
case
UNSPEC_VOLATILE
:
case
PARALLEL
:
for
(
i
=
XVECLEN
(
body
,
0
)
-
1
;
i
>=
0
;
i
--
)
if
(
reg_referenced_p
(
x
,
XVECEXP
(
body
,
0
,
i
)))
...
...
@@ -1171,7 +1173,7 @@ remove_note (insn, note)
}
/* Nonzero if X contains any volatile memory references
or volatile ASM_OPERANDS expressions. */
UNSPEC_VOLATILE operations
or volatile ASM_OPERANDS expressions. */
int
volatile_refs_p
(
x
)
...
...
@@ -1198,6 +1200,7 @@ volatile_refs_p (x)
return
0
;
case
CALL
:
case
UNSPEC_VOLATILE
:
/* case TRAP_IF: This isn't clear yet. */
return
1
;
...
...
@@ -1269,6 +1272,7 @@ side_effects_p (x)
case
POST_INC
:
case
POST_DEC
:
case
CALL
:
case
UNSPEC_VOLATILE
:
/* case TRAP_IF: This isn't clear yet. */
return
1
;
...
...
@@ -1331,6 +1335,7 @@ may_trap_p (x)
return
0
;
/* Conditional trap can trap! */
case
UNSPEC_VOLATILE
:
case
TRAP_IF
:
return
1
;
...
...
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