aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1997-09-21 23:43:38 +0000
committerJeff Law <law@gcc.gnu.org>1997-09-21 17:43:38 -0600
commit7014927a4e113c2c94c99a3e03bcd53e7d74a631 (patch)
tree4a021ac56bc15666218dcefdd784466e6d65b1a7 /gcc/loop.c
parent6d53d7c2521b09e8e60b3a4af3d74c1588c6cb9a (diff)
downloadgcc-7014927a4e113c2c94c99a3e03bcd53e7d74a631.zip
gcc-7014927a4e113c2c94c99a3e03bcd53e7d74a631.tar.gz
gcc-7014927a4e113c2c94c99a3e03bcd53e7d74a631.tar.bz2
loop.c (fix_bct_param): Delete unused function.
* loop.c (fix_bct_param): Delete unused function. (check_bct_param): Likewise. From-SVN: r15613
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index 3c5282a..39cc85f 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -109,11 +109,6 @@ rtx *loop_increment;
rtx *loop_comparison_value;
rtx *loop_start_value;
enum rtx_code *loop_comparison_code;
-
-/* for debugging: selects sub-range of loops for which the bct optimization
- is invoked. The numbering is per compilation-unit. */
-int dbg_bct_min = -1;
-int dbg_bct_max = -1;
#endif /* HAIFA */
@@ -340,10 +335,6 @@ int indirect_jump_in_function = 0;
static int indirect_jump_in_function_p ();
int loop_number ();
-
-/* Debugging functions. */
-int fix_bct_param ();
-static int check_bct_param ();
#endif /* HAIFA */
@@ -7634,31 +7625,5 @@ indirect_jump_in_function_p (start)
}
return is_indirect_jump;
}
-
-/* debugging: fix_bct_param () is called from toplev.c upon detection
- of the -fbct-***-N options. */
-int
-fix_bct_param (param, val)
- char *param, *val;
-{
- if ( !strcmp (param, "max") )
- dbg_bct_max = atoi (val);
- else if ( !strcmp (param, "min") )
- dbg_bct_min = atoi (val);
-}
-
-/* debugging: return 1 if the loop should be instrumented,
- according to bct-min/max. */
-static int
-check_bct_param ()
-{
- static int dbg_bct_num = 0;
-
- dbg_bct_num++;
- if (dbg_bct_num > dbg_bct_min || dbg_bct_min == -1)
- if (dbg_bct_num <= dbg_bct_max || dbg_bct_max == -1)
- return 1;
- return 0;
-}
#endif /* HAIFA */
/* END CYGNUS LOCAL haifa */