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
01c7f350
Commit
01c7f350
authored
Mar 11, 1998
by
Michael Meissner
Committed by
Michael Meissner
Mar 11, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make qsort compare function type correct
From-SVN: r18483
parent
f7f308df
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
8 deletions
+15
-8
gcc/ChangeLog
+5
-0
gcc/haifa-sched.c
+5
-4
gcc/sched.c
+5
-4
No files found.
gcc/ChangeLog
View file @
01c7f350
Wed Mar 11 15:16:01 1998 Michael Meissner <meissner@cygnus.com>
* {haifa-,}sched.c (rank_for_schedule): Only take void * arguments
as per ISO C spec.
Wed Mar 11 12:05:20 1998 Teemu Torma <tot@trema.com>
* gthr.h: Changed the comment about return values.
...
...
gcc/haifa-sched.c
View file @
01c7f350
...
...
@@ -458,7 +458,7 @@ static void sched_analyze_2 PROTO ((rtx, rtx));
static
void
sched_analyze_insn
PROTO
((
rtx
,
rtx
,
rtx
));
static
void
sched_analyze
PROTO
((
rtx
,
rtx
));
static
void
sched_note_set
PROTO
((
rtx
,
int
));
static
int
rank_for_schedule
PROTO
((
rtx
*
,
rtx
*
));
static
int
rank_for_schedule
PROTO
((
const
GENERIC_PTR
,
const
GENERIC_PTR
));
static
void
swap_sort
PROTO
((
rtx
*
,
int
));
static
void
queue_insn
PROTO
((
rtx
,
int
));
static
int
schedule_insn
PROTO
((
rtx
,
rtx
*
,
int
,
int
));
...
...
@@ -3992,10 +3992,11 @@ while (0)
static
int
rank_for_schedule
(
x
,
y
)
rtx
*
x
,
*
y
;
const
GENERIC_PTR
x
;
const
GENERIC_PTR
y
;
{
rtx
tmp
=
*
y
;
rtx
tmp2
=
*
x
;
rtx
tmp
=
*
(
rtx
*
)
y
;
rtx
tmp2
=
*
(
rtx
*
)
x
;
rtx
link
;
int
tmp_class
,
tmp2_class
;
int
val
,
priority_val
,
spec_val
,
prob_val
,
weight_val
;
...
...
gcc/sched.c
View file @
01c7f350
...
...
@@ -322,7 +322,7 @@ static void sched_analyze_2 PROTO((rtx, rtx));
static
void
sched_analyze_insn
PROTO
((
rtx
,
rtx
,
rtx
));
static
int
sched_analyze
PROTO
((
rtx
,
rtx
));
static
void
sched_note_set
PROTO
((
int
,
rtx
,
int
));
static
int
rank_for_schedule
PROTO
((
rtx
*
,
rtx
*
));
static
int
rank_for_schedule
PROTO
((
const
GENERIC_PTR
,
const
GENERIC_PTR
));
static
void
swap_sort
PROTO
((
rtx
*
,
int
));
static
void
queue_insn
PROTO
((
rtx
,
int
));
static
int
birthing_insn_p
PROTO
((
rtx
));
...
...
@@ -1860,10 +1860,11 @@ sched_note_set (b, x, death)
static
int
rank_for_schedule
(
x
,
y
)
rtx
*
x
,
*
y
;
const
GENERIC_PTR
x
;
const
GENERIC_PTR
y
;
{
rtx
tmp
=
*
y
;
rtx
tmp2
=
*
x
;
rtx
tmp
=
*
(
rtx
*
)
y
;
rtx
tmp2
=
*
(
rtx
*
)
x
;
rtx
link
;
int
tmp_class
,
tmp2_class
;
int
value
;
...
...
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