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
99edfd16
Commit
99edfd16
authored
Nov 12, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(stupid_reg_compare): Use `const void *' arguments.
From-SVN: r13133
parent
788a0818
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
gcc/stupid.c
+4
-3
No files found.
gcc/stupid.c
View file @
99edfd16
...
...
@@ -106,7 +106,7 @@ static HARD_REG_SET *after_insn_hard_regs;
#define MARK_LIVE_AFTER(INSN,REGNO) \
SET_HARD_REG_BIT (after_insn_hard_regs[INSN_SUID (INSN)], (REGNO))
static
int
stupid_reg_compare
PROTO
((
int
*
,
int
*
));
static
int
stupid_reg_compare
PROTO
((
const
GENERIC_PTR
,
const
GENERIC_PTR
));
static
int
stupid_find_reg
PROTO
((
int
,
enum
reg_class
,
enum
machine_mode
,
int
,
int
,
int
));
static
void
stupid_mark_refs
PROTO
((
rtx
,
rtx
));
...
...
@@ -303,9 +303,10 @@ stupid_life_analysis (f, nregs, file)
static
int
stupid_reg_compare
(
r1p
,
r2p
)
int
*
r1p
,
*
r2p
;
const
GENERIC_PTR
r1p
;
const
GENERIC_PTR
r2p
;
{
register
int
r1
=
*
r1p
,
r2
=
*
r2p
;
register
int
r1
=
*
(
int
*
)
r1p
,
r2
=
*
(
int
*
)
r2p
;
register
int
len1
=
reg_where_dead
[
r1
]
-
reg_where_born
[
r1
];
register
int
len2
=
reg_where_dead
[
r2
]
-
reg_where_born
[
r2
];
int
tem
;
...
...
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