summaryrefslogtreecommitdiffstats
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-16 21:41:10 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-16 21:41:10 +0000
commitb9a7cc698921e2a5cee2afd48b6556af5f7fbf1f (patch)
tree5aa9e7cef82d21751e0893c56bdaeadef5722525 /gcc/haifa-sched.c
parent5ffca67a18abd443db0424475a141aa1ec601450 (diff)
downloadppe42-gcc-b9a7cc698921e2a5cee2afd48b6556af5f7fbf1f.tar.gz
ppe42-gcc-b9a7cc698921e2a5cee2afd48b6556af5f7fbf1f.zip
cp:
* cp/decl.c, cp/pt.c, cp/search.c, cp/tree.c: Don't use the PTR macro. gcc: * bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c, config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c, dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c, function.c, gcc.c, genoutput.c, gensupport.c, global.c, haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c, loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c, read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c, stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use the PTR macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68043 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r--gcc/haifa-sched.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index ee5fb2b2212..1112f534ebc 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -480,7 +480,7 @@ static int actual_hazard PARAMS ((int, rtx, int, int));
static int potential_hazard PARAMS ((int, rtx, int));
static int priority PARAMS ((rtx));
-static int rank_for_schedule PARAMS ((const PTR, const PTR));
+static int rank_for_schedule PARAMS ((const void *, const void *));
static void swap_sort PARAMS ((rtx *, int));
static void queue_insn PARAMS ((rtx, int));
static int schedule_insn PARAMS ((rtx, struct ready_list *, int));
@@ -1007,8 +1007,8 @@ while (0)
static int
rank_for_schedule (x, y)
- const PTR x;
- const PTR y;
+ const void *x;
+ const void *y;
{
rtx tmp = *(const rtx *) y;
rtx tmp2 = *(const rtx *) x;
OpenPOWER on IntegriCloud