This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Further -ax cleanup...
- From: Andreas Jaeger <aj at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 20 Dec 2001 21:01:02 +0100
- Subject: Further -ax cleanup...
I've removed a variable and a function that aren't used anymore since
we got rid of -ax.
Bootstrapped, regtested on i686-linux, installed as obvious.
Andreas
2001-12-20 Andreas Jaeger <aj@suse.de>
* libgcc2.c (__bb_exit_func): Remove unused variable.
(num_digits): Remove unused function.
============================================================
Index: gcc/libgcc2.c
--- gcc/libgcc2.c 2001/12/18 15:38:40 1.132
+++ gcc/libgcc2.c 2001/12/20 14:51:21
@@ -1310,30 +1310,10 @@
static struct bb *bb_head;
-static int num_digits (long long value, int base) __attribute__ ((const));
-
-/* Return the number of digits needed to print a value */
-/* __inline__ */ static int num_digits (long long value, int base)
-{
- int minus = (value < 0 && base != 16);
- unsigned long long v = (minus) ? -value : value;
- int ret = minus;
-
- do
- {
- v /= base;
- ret++;
- }
- while (v);
-
- return ret;
-}
-
void
__bb_exit_func (void)
{
FILE *da_file;
- long time_value;
int i;
struct bb *ptr;
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj