summaryrefslogtreecommitdiff
path: root/gcc/sel-sched-ir.c
diff options
context:
space:
mode:
authorabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-01 12:40:32 +0000
committerabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-01 12:40:32 +0000
commitdde7ed1e5ade68db9b583bc1ff1b6842671b91e6 (patch)
tree98af3b39f6429d6be90720f999217fa493a3444f /gcc/sel-sched-ir.c
parentda61904d17e61b768115ebbf60f15dd81270062b (diff)
downloadgcc-dde7ed1e5ade68db9b583bc1ff1b6842671b91e6.tar.gz
* sel-sched-ir.c (cmp_v_in_regset_pool): Surround with
#ifdef ENABLE_CHECKING. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139863 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sel-sched-ir.c')
-rw-r--r--gcc/sel-sched-ir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/sel-sched-ir.c b/gcc/sel-sched-ir.c
index 856fb4259c7..84a2725b8eb 100644
--- a/gcc/sel-sched-ir.c
+++ b/gcc/sel-sched-ir.c
@@ -939,6 +939,7 @@ return_regset_to_pool (regset rs)
regset_pool.v[regset_pool.n++] = rs;
}
+#ifdef ENABLE_CHECKING
/* This is used as a qsort callback for sorting regset pool stacks.
X and XX are addresses of two regsets. They are never equal. */
static int
@@ -946,6 +947,7 @@ cmp_v_in_regset_pool (const void *x, const void *xx)
{
return *((const regset *) x) - *((const regset *) xx);
}
+#endif
/* Free the regset pool possibly checking for memory leaks. */
void