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
2f1553a4
Commit
2f1553a4
authored
Dec 08, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(mark_used_regs, case CLOBBER): Refine previous change to just look at
the address of a MEM inside a CLOBBER. From-SVN: r6195
parent
aae67841
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
gcc/flow.c
+8
-1
No files found.
gcc/flow.c
View file @
2f1553a4
/* Data flow analysis for GNU compiler.
/* Data flow analysis for GNU compiler.
Copyright (C) 1987, 1988, 1992 Free Software Foundation, Inc.
Copyright (C) 1987, 1988, 1992
, 1993
Free Software Foundation, Inc.
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -2170,6 +2170,13 @@ mark_used_regs (needed, live, x, final, insn)
...
@@ -2170,6 +2170,13 @@ mark_used_regs (needed, live, x, final, insn)
return
;
return
;
#endif
#endif
case
CLOBBER
:
/* If we are clobbering a MEM, mark any registers inside the address
as being used. */
if
(
GET_CODE
(
XEXP
(
x
,
0
))
==
MEM
)
mark_used_regs
(
needed
,
live
,
XEXP
(
XEXP
(
x
,
0
),
0
),
final
,
insn
);
return
;
case
MEM
:
case
MEM
:
/* Invalidate the data for the last MEM stored. We could do this only
/* Invalidate the data for the last MEM stored. We could do this only
if the addresses conflict, but this doesn't seem worthwhile. */
if the addresses conflict, but this doesn't seem worthwhile. */
...
...
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