diff options
author | Andrey Belevantsev <abel@ispras.ru> | 2008-09-01 16:40:32 +0400 |
---|---|---|
committer | Andrey Belevantsev <abel@gcc.gnu.org> | 2008-09-01 16:40:32 +0400 |
commit | 68ad446f149f501726ac386f64add454ac37e342 (patch) | |
tree | 98af3b39f6429d6be90720f999217fa493a3444f | |
parent | dfb0e60d22af8a61eb38e2b7c351e9fa516fef00 (diff) | |
download | gcc-68ad446f149f501726ac386f64add454ac37e342.zip gcc-68ad446f149f501726ac386f64add454ac37e342.tar.gz gcc-68ad446f149f501726ac386f64add454ac37e342.tar.bz2 |
sel-sched-ir.c (cmp_v_in_regset_pool): Surround with #ifdef ENABLE_CHECKING.
* sel-sched-ir.c (cmp_v_in_regset_pool): Surround with
#ifdef ENABLE_CHECKING.
From-SVN: r139863
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/sel-sched-ir.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa1f937..078acdb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,9 @@ 2008-09-01 Andrey Belevantsev <abel@ispras.ru> + + * sel-sched-ir.c (cmp_v_in_regset_pool): Surround with + #ifdef ENABLE_CHECKING. + +2008-09-01 Andrey Belevantsev <abel@ispras.ru> * sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING. * sched-int.h (print_insn, print_pattern, print_value): Declare also diff --git a/gcc/sel-sched-ir.c b/gcc/sel-sched-ir.c index 856fb42..84a2725 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 |