summaryrefslogtreecommitdiff
path: root/gcc/global.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-06-16 21:41:10 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-06-16 21:41:10 +0000
commitfad205ffba97267072c69704481aac372dd62f16 (patch)
tree5aa9e7cef82d21751e0893c56bdaeadef5722525 /gcc/global.c
parent4ff58371763d8dfb211e776e22e74a51fa3eb909 (diff)
downloadgcc-fad205ffba97267072c69704481aac372dd62f16.tar.gz
decl.c, [...]: Don't use the PTR macro.
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. From-SVN: r68043
Diffstat (limited to 'gcc/global.c')
-rw-r--r--gcc/global.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/global.c b/gcc/global.c
index d5636084ce7..1cc668004ef 100644
--- a/gcc/global.c
+++ b/gcc/global.c
@@ -289,7 +289,7 @@ static int n_regs_set;
static HARD_REG_SET eliminable_regset;
-static int allocno_compare PARAMS ((const PTR, const PTR));
+static int allocno_compare PARAMS ((const void *, const void *));
static void global_conflicts PARAMS ((void));
static void mirror_conflicts PARAMS ((void));
static void expand_preferences PARAMS ((void));
@@ -600,8 +600,8 @@ global_alloc (file)
static int
allocno_compare (v1p, v2p)
- const PTR v1p;
- const PTR v2p;
+ const void *v1p;
+ const void *v2p;
{
int v1 = *(const int *)v1p, v2 = *(const int *)v2p;
/* Note that the quotient will never be bigger than